Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6613 lines
200 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for mmcobj.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __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. MIDL_INTERFACE("F7889DA9-4A02-4837-BF89-1A6F2A021010")
  219. ISnapinProperties : public IUnknown
  220. {
  221. public:
  222. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize(
  223. /* [in] */ Properties *pProperties) = 0;
  224. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryPropertyNames(
  225. /* [in] */ ISnapinPropertiesCallback *pCallback) = 0;
  226. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PropertiesChanged(
  227. /* [in] */ long cProperties,
  228. /* [size_is][in] */ MMC_SNAPIN_PROPERTY *pProperties) = 0;
  229. };
  230. #else /* C style interface */
  231. typedef struct ISnapinPropertiesVtbl
  232. {
  233. BEGIN_INTERFACE
  234. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  235. ISnapinProperties * This,
  236. /* [in] */ REFIID riid,
  237. /* [iid_is][out] */ void **ppvObject);
  238. ULONG ( STDMETHODCALLTYPE *AddRef )(
  239. ISnapinProperties * This);
  240. ULONG ( STDMETHODCALLTYPE *Release )(
  241. ISnapinProperties * This);
  242. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  243. ISnapinProperties * This,
  244. /* [in] */ Properties *pProperties);
  245. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryPropertyNames )(
  246. ISnapinProperties * This,
  247. /* [in] */ ISnapinPropertiesCallback *pCallback);
  248. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PropertiesChanged )(
  249. ISnapinProperties * This,
  250. /* [in] */ long cProperties,
  251. /* [size_is][in] */ MMC_SNAPIN_PROPERTY *pProperties);
  252. END_INTERFACE
  253. } ISnapinPropertiesVtbl;
  254. interface ISnapinProperties
  255. {
  256. CONST_VTBL struct ISnapinPropertiesVtbl *lpVtbl;
  257. };
  258. #ifdef COBJMACROS
  259. #define ISnapinProperties_QueryInterface(This,riid,ppvObject) \
  260. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  261. #define ISnapinProperties_AddRef(This) \
  262. (This)->lpVtbl -> AddRef(This)
  263. #define ISnapinProperties_Release(This) \
  264. (This)->lpVtbl -> Release(This)
  265. #define ISnapinProperties_Initialize(This,pProperties) \
  266. (This)->lpVtbl -> Initialize(This,pProperties)
  267. #define ISnapinProperties_QueryPropertyNames(This,pCallback) \
  268. (This)->lpVtbl -> QueryPropertyNames(This,pCallback)
  269. #define ISnapinProperties_PropertiesChanged(This,cProperties,pProperties) \
  270. (This)->lpVtbl -> PropertiesChanged(This,cProperties,pProperties)
  271. #endif /* COBJMACROS */
  272. #endif /* C style interface */
  273. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinProperties_Initialize_Proxy(
  274. ISnapinProperties * This,
  275. /* [in] */ Properties *pProperties);
  276. void __RPC_STUB ISnapinProperties_Initialize_Stub(
  277. IRpcStubBuffer *This,
  278. IRpcChannelBuffer *_pRpcChannelBuffer,
  279. PRPC_MESSAGE _pRpcMessage,
  280. DWORD *_pdwStubPhase);
  281. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinProperties_QueryPropertyNames_Proxy(
  282. ISnapinProperties * This,
  283. /* [in] */ ISnapinPropertiesCallback *pCallback);
  284. void __RPC_STUB ISnapinProperties_QueryPropertyNames_Stub(
  285. IRpcStubBuffer *This,
  286. IRpcChannelBuffer *_pRpcChannelBuffer,
  287. PRPC_MESSAGE _pRpcMessage,
  288. DWORD *_pdwStubPhase);
  289. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinProperties_PropertiesChanged_Proxy(
  290. ISnapinProperties * This,
  291. /* [in] */ long cProperties,
  292. /* [size_is][in] */ MMC_SNAPIN_PROPERTY *pProperties);
  293. void __RPC_STUB ISnapinProperties_PropertiesChanged_Stub(
  294. IRpcStubBuffer *This,
  295. IRpcChannelBuffer *_pRpcChannelBuffer,
  296. PRPC_MESSAGE _pRpcMessage,
  297. DWORD *_pdwStubPhase);
  298. #endif /* __ISnapinProperties_INTERFACE_DEFINED__ */
  299. #ifndef __ISnapinPropertiesCallback_INTERFACE_DEFINED__
  300. #define __ISnapinPropertiesCallback_INTERFACE_DEFINED__
  301. /* interface ISnapinPropertiesCallback */
  302. /* [unique][helpstring][uuid][object] */
  303. #define MMC_PROP_CHANGEAFFECTSUI ( 0x1 )
  304. #define MMC_PROP_MODIFIABLE ( 0x2 )
  305. #define MMC_PROP_REMOVABLE ( 0x4 )
  306. #define MMC_PROP_PERSIST ( 0x8 )
  307. EXTERN_C const IID IID_ISnapinPropertiesCallback;
  308. #if defined(__cplusplus) && !defined(CINTERFACE)
  309. MIDL_INTERFACE("A50FA2E5-7E61-45EB-A8D4-9A07B3E851A8")
  310. ISnapinPropertiesCallback : public IUnknown
  311. {
  312. public:
  313. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddPropertyName(
  314. /* [in] */ LPCOLESTR pszPropName,
  315. /* [in] */ DWORD dwFlags) = 0;
  316. };
  317. #else /* C style interface */
  318. typedef struct ISnapinPropertiesCallbackVtbl
  319. {
  320. BEGIN_INTERFACE
  321. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  322. ISnapinPropertiesCallback * This,
  323. /* [in] */ REFIID riid,
  324. /* [iid_is][out] */ void **ppvObject);
  325. ULONG ( STDMETHODCALLTYPE *AddRef )(
  326. ISnapinPropertiesCallback * This);
  327. ULONG ( STDMETHODCALLTYPE *Release )(
  328. ISnapinPropertiesCallback * This);
  329. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPropertyName )(
  330. ISnapinPropertiesCallback * This,
  331. /* [in] */ LPCOLESTR pszPropName,
  332. /* [in] */ DWORD dwFlags);
  333. END_INTERFACE
  334. } ISnapinPropertiesCallbackVtbl;
  335. interface ISnapinPropertiesCallback
  336. {
  337. CONST_VTBL struct ISnapinPropertiesCallbackVtbl *lpVtbl;
  338. };
  339. #ifdef COBJMACROS
  340. #define ISnapinPropertiesCallback_QueryInterface(This,riid,ppvObject) \
  341. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  342. #define ISnapinPropertiesCallback_AddRef(This) \
  343. (This)->lpVtbl -> AddRef(This)
  344. #define ISnapinPropertiesCallback_Release(This) \
  345. (This)->lpVtbl -> Release(This)
  346. #define ISnapinPropertiesCallback_AddPropertyName(This,pszPropName,dwFlags) \
  347. (This)->lpVtbl -> AddPropertyName(This,pszPropName,dwFlags)
  348. #endif /* COBJMACROS */
  349. #endif /* C style interface */
  350. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISnapinPropertiesCallback_AddPropertyName_Proxy(
  351. ISnapinPropertiesCallback * This,
  352. /* [in] */ LPCOLESTR pszPropName,
  353. /* [in] */ DWORD dwFlags);
  354. void __RPC_STUB ISnapinPropertiesCallback_AddPropertyName_Stub(
  355. IRpcStubBuffer *This,
  356. IRpcChannelBuffer *_pRpcChannelBuffer,
  357. PRPC_MESSAGE _pRpcMessage,
  358. DWORD *_pdwStubPhase);
  359. #endif /* __ISnapinPropertiesCallback_INTERFACE_DEFINED__ */
  360. #ifndef __MMC20_LIBRARY_DEFINED__
  361. #define __MMC20_LIBRARY_DEFINED__
  362. /* library MMC20 */
  363. /* [version][helpstring][uuid] */
  364. typedef /* [helpstring][v1_enum] */
  365. enum DocumentMode
  366. { DocumentMode_Author = 0,
  367. DocumentMode_User = DocumentMode_Author + 1,
  368. DocumentMode_User_MDI = DocumentMode_User + 1,
  369. DocumentMode_User_SDI = DocumentMode_User_MDI + 1
  370. } _DocumentMode;
  371. typedef enum DocumentMode DOCUMENTMODE;
  372. typedef enum DocumentMode *PDOCUMENTMODE;
  373. typedef enum DocumentMode **PPDOCUMENTMODE;
  374. typedef /* [helpstring][v1_enum] */
  375. enum ListViewMode
  376. { ListMode_Small_Icons = 0,
  377. ListMode_Large_Icons = ListMode_Small_Icons + 1,
  378. ListMode_List = ListMode_Large_Icons + 1,
  379. ListMode_Detail = ListMode_List + 1,
  380. ListMode_Filtered = ListMode_Detail + 1
  381. } _ListViewMode;
  382. typedef enum ListViewMode LISTVIEWMODE;
  383. typedef enum ListViewMode *PLISTVIEWMODE;
  384. typedef enum ListViewMode **PPLISTVIEWMODE;
  385. typedef /* [helpstring][v1_enum] */
  386. enum ViewOptions
  387. { ViewOption_Default = 0,
  388. ViewOption_ScopeTreeHidden = 0x1,
  389. ViewOption_NoToolBars = 0x2,
  390. ViewOption_NotPersistable = 0x4
  391. } _ViewOptions;
  392. typedef enum ViewOptions VIEWOPTIONS;
  393. typedef enum ViewOptions *PVIEWOPTIONS;
  394. typedef enum ViewOptions **PPVIEWOPTIONS;
  395. typedef /* [helpstring][v1_enum] */
  396. enum ExportListOptions
  397. { ExportListOptions_Default = 0,
  398. ExportListOptions_Unicode = 0x1,
  399. ExportListOptions_TabDelimited = 0x2,
  400. ExportListOptions_SelectedItemsOnly = 0x4
  401. } _ExportListOptions;
  402. typedef enum ExportListOptions EXPORTLISTOPTIONS;
  403. EXTERN_C const IID LIBID_MMC20;
  404. #ifndef ___Application_INTERFACE_DEFINED__
  405. #define ___Application_INTERFACE_DEFINED__
  406. /* interface _Application */
  407. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  408. EXTERN_C const IID IID__Application;
  409. #if defined(__cplusplus) && !defined(CINTERFACE)
  410. MIDL_INTERFACE("A3AFB9CC-B653-4741-86AB-F0470EC1384C")
  411. _Application : public IDispatch
  412. {
  413. public:
  414. virtual /* [helpstring][id] */ void STDMETHODCALLTYPE Help( void) = 0;
  415. virtual /* [helpstring][id] */ void STDMETHODCALLTYPE Quit( void) = 0;
  416. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Document(
  417. /* [retval][out] */ PPDOCUMENT Document) = 0;
  418. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Load(
  419. /* [in] */ BSTR Filename) = 0;
  420. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Frame(
  421. /* [retval][out] */ PPFRAME Frame) = 0;
  422. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Visible(
  423. /* [retval][out] */ PBOOL Visible) = 0;
  424. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Show( void) = 0;
  425. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Hide( void) = 0;
  426. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_UserControl(
  427. /* [retval][out] */ PBOOL UserControl) = 0;
  428. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_UserControl(
  429. /* [in] */ BOOL UserControl) = 0;
  430. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_VersionMajor(
  431. /* [retval][out] */ PLONG VersionMajor) = 0;
  432. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_VersionMinor(
  433. /* [retval][out] */ PLONG VersionMinor) = 0;
  434. };
  435. #else /* C style interface */
  436. typedef struct _ApplicationVtbl
  437. {
  438. BEGIN_INTERFACE
  439. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  440. _Application * This,
  441. /* [in] */ REFIID riid,
  442. /* [iid_is][out] */ void **ppvObject);
  443. ULONG ( STDMETHODCALLTYPE *AddRef )(
  444. _Application * This);
  445. ULONG ( STDMETHODCALLTYPE *Release )(
  446. _Application * This);
  447. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  448. _Application * This,
  449. /* [out] */ UINT *pctinfo);
  450. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  451. _Application * This,
  452. /* [in] */ UINT iTInfo,
  453. /* [in] */ LCID lcid,
  454. /* [out] */ ITypeInfo **ppTInfo);
  455. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  456. _Application * This,
  457. /* [in] */ REFIID riid,
  458. /* [size_is][in] */ LPOLESTR *rgszNames,
  459. /* [in] */ UINT cNames,
  460. /* [in] */ LCID lcid,
  461. /* [size_is][out] */ DISPID *rgDispId);
  462. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  463. _Application * This,
  464. /* [in] */ DISPID dispIdMember,
  465. /* [in] */ REFIID riid,
  466. /* [in] */ LCID lcid,
  467. /* [in] */ WORD wFlags,
  468. /* [out][in] */ DISPPARAMS *pDispParams,
  469. /* [out] */ VARIANT *pVarResult,
  470. /* [out] */ EXCEPINFO *pExcepInfo,
  471. /* [out] */ UINT *puArgErr);
  472. /* [helpstring][id] */ void ( STDMETHODCALLTYPE *Help )(
  473. _Application * This);
  474. /* [helpstring][id] */ void ( STDMETHODCALLTYPE *Quit )(
  475. _Application * This);
  476. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )(
  477. _Application * This,
  478. /* [retval][out] */ PPDOCUMENT Document);
  479. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )(
  480. _Application * This,
  481. /* [in] */ BSTR Filename);
  482. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Frame )(
  483. _Application * This,
  484. /* [retval][out] */ PPFRAME Frame);
  485. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )(
  486. _Application * This,
  487. /* [retval][out] */ PBOOL Visible);
  488. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Show )(
  489. _Application * This);
  490. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hide )(
  491. _Application * This);
  492. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UserControl )(
  493. _Application * This,
  494. /* [retval][out] */ PBOOL UserControl);
  495. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_UserControl )(
  496. _Application * This,
  497. /* [in] */ BOOL UserControl);
  498. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_VersionMajor )(
  499. _Application * This,
  500. /* [retval][out] */ PLONG VersionMajor);
  501. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_VersionMinor )(
  502. _Application * This,
  503. /* [retval][out] */ PLONG VersionMinor);
  504. END_INTERFACE
  505. } _ApplicationVtbl;
  506. interface _Application
  507. {
  508. CONST_VTBL struct _ApplicationVtbl *lpVtbl;
  509. };
  510. #ifdef COBJMACROS
  511. #define _Application_QueryInterface(This,riid,ppvObject) \
  512. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  513. #define _Application_AddRef(This) \
  514. (This)->lpVtbl -> AddRef(This)
  515. #define _Application_Release(This) \
  516. (This)->lpVtbl -> Release(This)
  517. #define _Application_GetTypeInfoCount(This,pctinfo) \
  518. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  519. #define _Application_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  520. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  521. #define _Application_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  522. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  523. #define _Application_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  524. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  525. #define _Application_Help(This) \
  526. (This)->lpVtbl -> Help(This)
  527. #define _Application_Quit(This) \
  528. (This)->lpVtbl -> Quit(This)
  529. #define _Application_get_Document(This,Document) \
  530. (This)->lpVtbl -> get_Document(This,Document)
  531. #define _Application_Load(This,Filename) \
  532. (This)->lpVtbl -> Load(This,Filename)
  533. #define _Application_get_Frame(This,Frame) \
  534. (This)->lpVtbl -> get_Frame(This,Frame)
  535. #define _Application_get_Visible(This,Visible) \
  536. (This)->lpVtbl -> get_Visible(This,Visible)
  537. #define _Application_Show(This) \
  538. (This)->lpVtbl -> Show(This)
  539. #define _Application_Hide(This) \
  540. (This)->lpVtbl -> Hide(This)
  541. #define _Application_get_UserControl(This,UserControl) \
  542. (This)->lpVtbl -> get_UserControl(This,UserControl)
  543. #define _Application_put_UserControl(This,UserControl) \
  544. (This)->lpVtbl -> put_UserControl(This,UserControl)
  545. #define _Application_get_VersionMajor(This,VersionMajor) \
  546. (This)->lpVtbl -> get_VersionMajor(This,VersionMajor)
  547. #define _Application_get_VersionMinor(This,VersionMinor) \
  548. (This)->lpVtbl -> get_VersionMinor(This,VersionMinor)
  549. #endif /* COBJMACROS */
  550. #endif /* C style interface */
  551. /* [helpstring][id] */ void STDMETHODCALLTYPE _Application_Help_Proxy(
  552. _Application * This);
  553. void __RPC_STUB _Application_Help_Stub(
  554. IRpcStubBuffer *This,
  555. IRpcChannelBuffer *_pRpcChannelBuffer,
  556. PRPC_MESSAGE _pRpcMessage,
  557. DWORD *_pdwStubPhase);
  558. /* [helpstring][id] */ void STDMETHODCALLTYPE _Application_Quit_Proxy(
  559. _Application * This);
  560. void __RPC_STUB _Application_Quit_Stub(
  561. IRpcStubBuffer *This,
  562. IRpcChannelBuffer *_pRpcChannelBuffer,
  563. PRPC_MESSAGE _pRpcMessage,
  564. DWORD *_pdwStubPhase);
  565. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_Document_Proxy(
  566. _Application * This,
  567. /* [retval][out] */ PPDOCUMENT Document);
  568. void __RPC_STUB _Application_get_Document_Stub(
  569. IRpcStubBuffer *This,
  570. IRpcChannelBuffer *_pRpcChannelBuffer,
  571. PRPC_MESSAGE _pRpcMessage,
  572. DWORD *_pdwStubPhase);
  573. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _Application_Load_Proxy(
  574. _Application * This,
  575. /* [in] */ BSTR Filename);
  576. void __RPC_STUB _Application_Load_Stub(
  577. IRpcStubBuffer *This,
  578. IRpcChannelBuffer *_pRpcChannelBuffer,
  579. PRPC_MESSAGE _pRpcMessage,
  580. DWORD *_pdwStubPhase);
  581. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_Frame_Proxy(
  582. _Application * This,
  583. /* [retval][out] */ PPFRAME Frame);
  584. void __RPC_STUB _Application_get_Frame_Stub(
  585. IRpcStubBuffer *This,
  586. IRpcChannelBuffer *_pRpcChannelBuffer,
  587. PRPC_MESSAGE _pRpcMessage,
  588. DWORD *_pdwStubPhase);
  589. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_Visible_Proxy(
  590. _Application * This,
  591. /* [retval][out] */ PBOOL Visible);
  592. void __RPC_STUB _Application_get_Visible_Stub(
  593. IRpcStubBuffer *This,
  594. IRpcChannelBuffer *_pRpcChannelBuffer,
  595. PRPC_MESSAGE _pRpcMessage,
  596. DWORD *_pdwStubPhase);
  597. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _Application_Show_Proxy(
  598. _Application * This);
  599. void __RPC_STUB _Application_Show_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _Application_Hide_Proxy(
  605. _Application * This);
  606. void __RPC_STUB _Application_Hide_Stub(
  607. IRpcStubBuffer *This,
  608. IRpcChannelBuffer *_pRpcChannelBuffer,
  609. PRPC_MESSAGE _pRpcMessage,
  610. DWORD *_pdwStubPhase);
  611. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_UserControl_Proxy(
  612. _Application * This,
  613. /* [retval][out] */ PBOOL UserControl);
  614. void __RPC_STUB _Application_get_UserControl_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE _Application_put_UserControl_Proxy(
  620. _Application * This,
  621. /* [in] */ BOOL UserControl);
  622. void __RPC_STUB _Application_put_UserControl_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_VersionMajor_Proxy(
  628. _Application * This,
  629. /* [retval][out] */ PLONG VersionMajor);
  630. void __RPC_STUB _Application_get_VersionMajor_Stub(
  631. IRpcStubBuffer *This,
  632. IRpcChannelBuffer *_pRpcChannelBuffer,
  633. PRPC_MESSAGE _pRpcMessage,
  634. DWORD *_pdwStubPhase);
  635. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE _Application_get_VersionMinor_Proxy(
  636. _Application * This,
  637. /* [retval][out] */ PLONG VersionMinor);
  638. void __RPC_STUB _Application_get_VersionMinor_Stub(
  639. IRpcStubBuffer *This,
  640. IRpcChannelBuffer *_pRpcChannelBuffer,
  641. PRPC_MESSAGE _pRpcMessage,
  642. DWORD *_pdwStubPhase);
  643. #endif /* ___Application_INTERFACE_DEFINED__ */
  644. #ifndef ___AppEvents_INTERFACE_DEFINED__
  645. #define ___AppEvents_INTERFACE_DEFINED__
  646. /* interface _AppEvents */
  647. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  648. EXTERN_C const IID IID__AppEvents;
  649. #if defined(__cplusplus) && !defined(CINTERFACE)
  650. MIDL_INTERFACE("DE46CBDD-53F5-4635-AF54-4FE71E923D3F")
  651. _AppEvents : public IDispatch
  652. {
  653. public:
  654. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnQuit(
  655. /* [in] */ PAPPLICATION Application) = 0;
  656. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDocumentOpen(
  657. /* [in] */ PDOCUMENT Document,
  658. /* [in] */ BOOL New) = 0;
  659. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDocumentClose(
  660. /* [in] */ PDOCUMENT Document) = 0;
  661. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSnapInAdded(
  662. /* [in] */ PDOCUMENT Document,
  663. /* [in] */ PSNAPIN SnapIn) = 0;
  664. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSnapInRemoved(
  665. /* [in] */ PDOCUMENT Document,
  666. /* [in] */ PSNAPIN SnapIn) = 0;
  667. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnNewView(
  668. /* [in] */ PVIEW View) = 0;
  669. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnViewClose(
  670. /* [in] */ PVIEW View) = 0;
  671. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnViewChange(
  672. /* [in] */ PVIEW View,
  673. /* [in] */ PNODE NewOwnerNode) = 0;
  674. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSelectionChange(
  675. /* [in] */ PVIEW View,
  676. /* [in] */ PNODES NewNodes) = 0;
  677. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnContextMenuExecuted(
  678. /* [in] */ PMENUITEM MenuItem) = 0;
  679. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnToolbarButtonClicked( void) = 0;
  680. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnListUpdated(
  681. /* [in] */ PVIEW View) = 0;
  682. };
  683. #else /* C style interface */
  684. typedef struct _AppEventsVtbl
  685. {
  686. BEGIN_INTERFACE
  687. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  688. _AppEvents * This,
  689. /* [in] */ REFIID riid,
  690. /* [iid_is][out] */ void **ppvObject);
  691. ULONG ( STDMETHODCALLTYPE *AddRef )(
  692. _AppEvents * This);
  693. ULONG ( STDMETHODCALLTYPE *Release )(
  694. _AppEvents * This);
  695. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  696. _AppEvents * This,
  697. /* [out] */ UINT *pctinfo);
  698. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  699. _AppEvents * This,
  700. /* [in] */ UINT iTInfo,
  701. /* [in] */ LCID lcid,
  702. /* [out] */ ITypeInfo **ppTInfo);
  703. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  704. _AppEvents * This,
  705. /* [in] */ REFIID riid,
  706. /* [size_is][in] */ LPOLESTR *rgszNames,
  707. /* [in] */ UINT cNames,
  708. /* [in] */ LCID lcid,
  709. /* [size_is][out] */ DISPID *rgDispId);
  710. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  711. _AppEvents * This,
  712. /* [in] */ DISPID dispIdMember,
  713. /* [in] */ REFIID riid,
  714. /* [in] */ LCID lcid,
  715. /* [in] */ WORD wFlags,
  716. /* [out][in] */ DISPPARAMS *pDispParams,
  717. /* [out] */ VARIANT *pVarResult,
  718. /* [out] */ EXCEPINFO *pExcepInfo,
  719. /* [out] */ UINT *puArgErr);
  720. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnQuit )(
  721. _AppEvents * This,
  722. /* [in] */ PAPPLICATION Application);
  723. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDocumentOpen )(
  724. _AppEvents * This,
  725. /* [in] */ PDOCUMENT Document,
  726. /* [in] */ BOOL New);
  727. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDocumentClose )(
  728. _AppEvents * This,
  729. /* [in] */ PDOCUMENT Document);
  730. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSnapInAdded )(
  731. _AppEvents * This,
  732. /* [in] */ PDOCUMENT Document,
  733. /* [in] */ PSNAPIN SnapIn);
  734. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSnapInRemoved )(
  735. _AppEvents * This,
  736. /* [in] */ PDOCUMENT Document,
  737. /* [in] */ PSNAPIN SnapIn);
  738. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnNewView )(
  739. _AppEvents * This,
  740. /* [in] */ PVIEW View);
  741. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnViewClose )(
  742. _AppEvents * This,
  743. /* [in] */ PVIEW View);
  744. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnViewChange )(
  745. _AppEvents * This,
  746. /* [in] */ PVIEW View,
  747. /* [in] */ PNODE NewOwnerNode);
  748. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSelectionChange )(
  749. _AppEvents * This,
  750. /* [in] */ PVIEW View,
  751. /* [in] */ PNODES NewNodes);
  752. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnContextMenuExecuted )(
  753. _AppEvents * This,
  754. /* [in] */ PMENUITEM MenuItem);
  755. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnToolbarButtonClicked )(
  756. _AppEvents * This);
  757. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnListUpdated )(
  758. _AppEvents * This,
  759. /* [in] */ PVIEW View);
  760. END_INTERFACE
  761. } _AppEventsVtbl;
  762. interface _AppEvents
  763. {
  764. CONST_VTBL struct _AppEventsVtbl *lpVtbl;
  765. };
  766. #ifdef COBJMACROS
  767. #define _AppEvents_QueryInterface(This,riid,ppvObject) \
  768. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  769. #define _AppEvents_AddRef(This) \
  770. (This)->lpVtbl -> AddRef(This)
  771. #define _AppEvents_Release(This) \
  772. (This)->lpVtbl -> Release(This)
  773. #define _AppEvents_GetTypeInfoCount(This,pctinfo) \
  774. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  775. #define _AppEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  776. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  777. #define _AppEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  778. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  779. #define _AppEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  780. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  781. #define _AppEvents_OnQuit(This,Application) \
  782. (This)->lpVtbl -> OnQuit(This,Application)
  783. #define _AppEvents_OnDocumentOpen(This,Document,New) \
  784. (This)->lpVtbl -> OnDocumentOpen(This,Document,New)
  785. #define _AppEvents_OnDocumentClose(This,Document) \
  786. (This)->lpVtbl -> OnDocumentClose(This,Document)
  787. #define _AppEvents_OnSnapInAdded(This,Document,SnapIn) \
  788. (This)->lpVtbl -> OnSnapInAdded(This,Document,SnapIn)
  789. #define _AppEvents_OnSnapInRemoved(This,Document,SnapIn) \
  790. (This)->lpVtbl -> OnSnapInRemoved(This,Document,SnapIn)
  791. #define _AppEvents_OnNewView(This,View) \
  792. (This)->lpVtbl -> OnNewView(This,View)
  793. #define _AppEvents_OnViewClose(This,View) \
  794. (This)->lpVtbl -> OnViewClose(This,View)
  795. #define _AppEvents_OnViewChange(This,View,NewOwnerNode) \
  796. (This)->lpVtbl -> OnViewChange(This,View,NewOwnerNode)
  797. #define _AppEvents_OnSelectionChange(This,View,NewNodes) \
  798. (This)->lpVtbl -> OnSelectionChange(This,View,NewNodes)
  799. #define _AppEvents_OnContextMenuExecuted(This,MenuItem) \
  800. (This)->lpVtbl -> OnContextMenuExecuted(This,MenuItem)
  801. #define _AppEvents_OnToolbarButtonClicked(This) \
  802. (This)->lpVtbl -> OnToolbarButtonClicked(This)
  803. #define _AppEvents_OnListUpdated(This,View) \
  804. (This)->lpVtbl -> OnListUpdated(This,View)
  805. #endif /* COBJMACROS */
  806. #endif /* C style interface */
  807. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnQuit_Proxy(
  808. _AppEvents * This,
  809. /* [in] */ PAPPLICATION Application);
  810. void __RPC_STUB _AppEvents_OnQuit_Stub(
  811. IRpcStubBuffer *This,
  812. IRpcChannelBuffer *_pRpcChannelBuffer,
  813. PRPC_MESSAGE _pRpcMessage,
  814. DWORD *_pdwStubPhase);
  815. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnDocumentOpen_Proxy(
  816. _AppEvents * This,
  817. /* [in] */ PDOCUMENT Document,
  818. /* [in] */ BOOL New);
  819. void __RPC_STUB _AppEvents_OnDocumentOpen_Stub(
  820. IRpcStubBuffer *This,
  821. IRpcChannelBuffer *_pRpcChannelBuffer,
  822. PRPC_MESSAGE _pRpcMessage,
  823. DWORD *_pdwStubPhase);
  824. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnDocumentClose_Proxy(
  825. _AppEvents * This,
  826. /* [in] */ PDOCUMENT Document);
  827. void __RPC_STUB _AppEvents_OnDocumentClose_Stub(
  828. IRpcStubBuffer *This,
  829. IRpcChannelBuffer *_pRpcChannelBuffer,
  830. PRPC_MESSAGE _pRpcMessage,
  831. DWORD *_pdwStubPhase);
  832. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnSnapInAdded_Proxy(
  833. _AppEvents * This,
  834. /* [in] */ PDOCUMENT Document,
  835. /* [in] */ PSNAPIN SnapIn);
  836. void __RPC_STUB _AppEvents_OnSnapInAdded_Stub(
  837. IRpcStubBuffer *This,
  838. IRpcChannelBuffer *_pRpcChannelBuffer,
  839. PRPC_MESSAGE _pRpcMessage,
  840. DWORD *_pdwStubPhase);
  841. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnSnapInRemoved_Proxy(
  842. _AppEvents * This,
  843. /* [in] */ PDOCUMENT Document,
  844. /* [in] */ PSNAPIN SnapIn);
  845. void __RPC_STUB _AppEvents_OnSnapInRemoved_Stub(
  846. IRpcStubBuffer *This,
  847. IRpcChannelBuffer *_pRpcChannelBuffer,
  848. PRPC_MESSAGE _pRpcMessage,
  849. DWORD *_pdwStubPhase);
  850. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnNewView_Proxy(
  851. _AppEvents * This,
  852. /* [in] */ PVIEW View);
  853. void __RPC_STUB _AppEvents_OnNewView_Stub(
  854. IRpcStubBuffer *This,
  855. IRpcChannelBuffer *_pRpcChannelBuffer,
  856. PRPC_MESSAGE _pRpcMessage,
  857. DWORD *_pdwStubPhase);
  858. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnViewClose_Proxy(
  859. _AppEvents * This,
  860. /* [in] */ PVIEW View);
  861. void __RPC_STUB _AppEvents_OnViewClose_Stub(
  862. IRpcStubBuffer *This,
  863. IRpcChannelBuffer *_pRpcChannelBuffer,
  864. PRPC_MESSAGE _pRpcMessage,
  865. DWORD *_pdwStubPhase);
  866. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnViewChange_Proxy(
  867. _AppEvents * This,
  868. /* [in] */ PVIEW View,
  869. /* [in] */ PNODE NewOwnerNode);
  870. void __RPC_STUB _AppEvents_OnViewChange_Stub(
  871. IRpcStubBuffer *This,
  872. IRpcChannelBuffer *_pRpcChannelBuffer,
  873. PRPC_MESSAGE _pRpcMessage,
  874. DWORD *_pdwStubPhase);
  875. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnSelectionChange_Proxy(
  876. _AppEvents * This,
  877. /* [in] */ PVIEW View,
  878. /* [in] */ PNODES NewNodes);
  879. void __RPC_STUB _AppEvents_OnSelectionChange_Stub(
  880. IRpcStubBuffer *This,
  881. IRpcChannelBuffer *_pRpcChannelBuffer,
  882. PRPC_MESSAGE _pRpcMessage,
  883. DWORD *_pdwStubPhase);
  884. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnContextMenuExecuted_Proxy(
  885. _AppEvents * This,
  886. /* [in] */ PMENUITEM MenuItem);
  887. void __RPC_STUB _AppEvents_OnContextMenuExecuted_Stub(
  888. IRpcStubBuffer *This,
  889. IRpcChannelBuffer *_pRpcChannelBuffer,
  890. PRPC_MESSAGE _pRpcMessage,
  891. DWORD *_pdwStubPhase);
  892. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnToolbarButtonClicked_Proxy(
  893. _AppEvents * This);
  894. void __RPC_STUB _AppEvents_OnToolbarButtonClicked_Stub(
  895. IRpcStubBuffer *This,
  896. IRpcChannelBuffer *_pRpcChannelBuffer,
  897. PRPC_MESSAGE _pRpcMessage,
  898. DWORD *_pdwStubPhase);
  899. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _AppEvents_OnListUpdated_Proxy(
  900. _AppEvents * This,
  901. /* [in] */ PVIEW View);
  902. void __RPC_STUB _AppEvents_OnListUpdated_Stub(
  903. IRpcStubBuffer *This,
  904. IRpcChannelBuffer *_pRpcChannelBuffer,
  905. PRPC_MESSAGE _pRpcMessage,
  906. DWORD *_pdwStubPhase);
  907. #endif /* ___AppEvents_INTERFACE_DEFINED__ */
  908. #ifndef __AppEvents_DISPINTERFACE_DEFINED__
  909. #define __AppEvents_DISPINTERFACE_DEFINED__
  910. /* dispinterface AppEvents */
  911. /* [helpstring][uuid] */
  912. EXTERN_C const IID DIID_AppEvents;
  913. #if defined(__cplusplus) && !defined(CINTERFACE)
  914. MIDL_INTERFACE("FC7A4252-78AC-4532-8C5A-563CFE138863")
  915. AppEvents : public IDispatch
  916. {
  917. };
  918. #else /* C style interface */
  919. typedef struct AppEventsVtbl
  920. {
  921. BEGIN_INTERFACE
  922. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  923. AppEvents * This,
  924. /* [in] */ REFIID riid,
  925. /* [iid_is][out] */ void **ppvObject);
  926. ULONG ( STDMETHODCALLTYPE *AddRef )(
  927. AppEvents * This);
  928. ULONG ( STDMETHODCALLTYPE *Release )(
  929. AppEvents * This);
  930. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  931. AppEvents * This,
  932. /* [out] */ UINT *pctinfo);
  933. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  934. AppEvents * This,
  935. /* [in] */ UINT iTInfo,
  936. /* [in] */ LCID lcid,
  937. /* [out] */ ITypeInfo **ppTInfo);
  938. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  939. AppEvents * This,
  940. /* [in] */ REFIID riid,
  941. /* [size_is][in] */ LPOLESTR *rgszNames,
  942. /* [in] */ UINT cNames,
  943. /* [in] */ LCID lcid,
  944. /* [size_is][out] */ DISPID *rgDispId);
  945. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  946. AppEvents * This,
  947. /* [in] */ DISPID dispIdMember,
  948. /* [in] */ REFIID riid,
  949. /* [in] */ LCID lcid,
  950. /* [in] */ WORD wFlags,
  951. /* [out][in] */ DISPPARAMS *pDispParams,
  952. /* [out] */ VARIANT *pVarResult,
  953. /* [out] */ EXCEPINFO *pExcepInfo,
  954. /* [out] */ UINT *puArgErr);
  955. END_INTERFACE
  956. } AppEventsVtbl;
  957. interface AppEvents
  958. {
  959. CONST_VTBL struct AppEventsVtbl *lpVtbl;
  960. };
  961. #ifdef COBJMACROS
  962. #define AppEvents_QueryInterface(This,riid,ppvObject) \
  963. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  964. #define AppEvents_AddRef(This) \
  965. (This)->lpVtbl -> AddRef(This)
  966. #define AppEvents_Release(This) \
  967. (This)->lpVtbl -> Release(This)
  968. #define AppEvents_GetTypeInfoCount(This,pctinfo) \
  969. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  970. #define AppEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  971. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  972. #define AppEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  973. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  974. #define AppEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  975. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  976. #endif /* COBJMACROS */
  977. #endif /* C style interface */
  978. #endif /* __AppEvents_DISPINTERFACE_DEFINED__ */
  979. EXTERN_C const CLSID CLSID_Application;
  980. #ifdef __cplusplus
  981. class DECLSPEC_UUID("49B2791A-B1AE-4C90-9B8E-E860BA07F889")
  982. Application;
  983. #endif
  984. #ifndef ___EventConnector_INTERFACE_DEFINED__
  985. #define ___EventConnector_INTERFACE_DEFINED__
  986. /* interface _EventConnector */
  987. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  988. EXTERN_C const IID IID__EventConnector;
  989. #if defined(__cplusplus) && !defined(CINTERFACE)
  990. MIDL_INTERFACE("C0BCCD30-DE44-4528-8403-A05A6A1CC8EA")
  991. _EventConnector : public IDispatch
  992. {
  993. public:
  994. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectTo(
  995. /* [in] */ PAPPLICATION Application) = 0;
  996. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  997. };
  998. #else /* C style interface */
  999. typedef struct _EventConnectorVtbl
  1000. {
  1001. BEGIN_INTERFACE
  1002. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1003. _EventConnector * This,
  1004. /* [in] */ REFIID riid,
  1005. /* [iid_is][out] */ void **ppvObject);
  1006. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1007. _EventConnector * This);
  1008. ULONG ( STDMETHODCALLTYPE *Release )(
  1009. _EventConnector * This);
  1010. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1011. _EventConnector * This,
  1012. /* [out] */ UINT *pctinfo);
  1013. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1014. _EventConnector * This,
  1015. /* [in] */ UINT iTInfo,
  1016. /* [in] */ LCID lcid,
  1017. /* [out] */ ITypeInfo **ppTInfo);
  1018. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1019. _EventConnector * This,
  1020. /* [in] */ REFIID riid,
  1021. /* [size_is][in] */ LPOLESTR *rgszNames,
  1022. /* [in] */ UINT cNames,
  1023. /* [in] */ LCID lcid,
  1024. /* [size_is][out] */ DISPID *rgDispId);
  1025. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1026. _EventConnector * This,
  1027. /* [in] */ DISPID dispIdMember,
  1028. /* [in] */ REFIID riid,
  1029. /* [in] */ LCID lcid,
  1030. /* [in] */ WORD wFlags,
  1031. /* [out][in] */ DISPPARAMS *pDispParams,
  1032. /* [out] */ VARIANT *pVarResult,
  1033. /* [out] */ EXCEPINFO *pExcepInfo,
  1034. /* [out] */ UINT *puArgErr);
  1035. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectTo )(
  1036. _EventConnector * This,
  1037. /* [in] */ PAPPLICATION Application);
  1038. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  1039. _EventConnector * This);
  1040. END_INTERFACE
  1041. } _EventConnectorVtbl;
  1042. interface _EventConnector
  1043. {
  1044. CONST_VTBL struct _EventConnectorVtbl *lpVtbl;
  1045. };
  1046. #ifdef COBJMACROS
  1047. #define _EventConnector_QueryInterface(This,riid,ppvObject) \
  1048. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1049. #define _EventConnector_AddRef(This) \
  1050. (This)->lpVtbl -> AddRef(This)
  1051. #define _EventConnector_Release(This) \
  1052. (This)->lpVtbl -> Release(This)
  1053. #define _EventConnector_GetTypeInfoCount(This,pctinfo) \
  1054. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1055. #define _EventConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1056. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1057. #define _EventConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1058. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1059. #define _EventConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1060. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1061. #define _EventConnector_ConnectTo(This,Application) \
  1062. (This)->lpVtbl -> ConnectTo(This,Application)
  1063. #define _EventConnector_Disconnect(This) \
  1064. (This)->lpVtbl -> Disconnect(This)
  1065. #endif /* COBJMACROS */
  1066. #endif /* C style interface */
  1067. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _EventConnector_ConnectTo_Proxy(
  1068. _EventConnector * This,
  1069. /* [in] */ PAPPLICATION Application);
  1070. void __RPC_STUB _EventConnector_ConnectTo_Stub(
  1071. IRpcStubBuffer *This,
  1072. IRpcChannelBuffer *_pRpcChannelBuffer,
  1073. PRPC_MESSAGE _pRpcMessage,
  1074. DWORD *_pdwStubPhase);
  1075. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _EventConnector_Disconnect_Proxy(
  1076. _EventConnector * This);
  1077. void __RPC_STUB _EventConnector_Disconnect_Stub(
  1078. IRpcStubBuffer *This,
  1079. IRpcChannelBuffer *_pRpcChannelBuffer,
  1080. PRPC_MESSAGE _pRpcMessage,
  1081. DWORD *_pdwStubPhase);
  1082. #endif /* ___EventConnector_INTERFACE_DEFINED__ */
  1083. EXTERN_C const CLSID CLSID_AppEventsDHTMLConnector;
  1084. #ifdef __cplusplus
  1085. class DECLSPEC_UUID("ADE6444B-C91F-4e37-92A4-5BB430A33340")
  1086. AppEventsDHTMLConnector;
  1087. #endif
  1088. #ifndef __Frame_INTERFACE_DEFINED__
  1089. #define __Frame_INTERFACE_DEFINED__
  1090. /* interface Frame */
  1091. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  1092. EXTERN_C const IID IID_Frame;
  1093. #if defined(__cplusplus) && !defined(CINTERFACE)
  1094. MIDL_INTERFACE("E5E2D970-5BB3-4306-8804-B0968A31C8E6")
  1095. Frame : public IDispatch
  1096. {
  1097. public:
  1098. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Maximize( void) = 0;
  1099. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Minimize( void) = 0;
  1100. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Restore( void) = 0;
  1101. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Top(
  1102. /* [retval][out] */ PINT Top) = 0;
  1103. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Top(
  1104. /* [in] */ int top) = 0;
  1105. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Bottom(
  1106. /* [retval][out] */ PINT Bottom) = 0;
  1107. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Bottom(
  1108. /* [in] */ int bottom) = 0;
  1109. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Left(
  1110. /* [retval][out] */ PINT Left) = 0;
  1111. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Left(
  1112. /* [in] */ int left) = 0;
  1113. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Right(
  1114. /* [retval][out] */ PINT Right) = 0;
  1115. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Right(
  1116. /* [in] */ int right) = 0;
  1117. };
  1118. #else /* C style interface */
  1119. typedef struct FrameVtbl
  1120. {
  1121. BEGIN_INTERFACE
  1122. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1123. Frame * This,
  1124. /* [in] */ REFIID riid,
  1125. /* [iid_is][out] */ void **ppvObject);
  1126. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1127. Frame * This);
  1128. ULONG ( STDMETHODCALLTYPE *Release )(
  1129. Frame * This);
  1130. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1131. Frame * This,
  1132. /* [out] */ UINT *pctinfo);
  1133. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1134. Frame * This,
  1135. /* [in] */ UINT iTInfo,
  1136. /* [in] */ LCID lcid,
  1137. /* [out] */ ITypeInfo **ppTInfo);
  1138. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1139. Frame * This,
  1140. /* [in] */ REFIID riid,
  1141. /* [size_is][in] */ LPOLESTR *rgszNames,
  1142. /* [in] */ UINT cNames,
  1143. /* [in] */ LCID lcid,
  1144. /* [size_is][out] */ DISPID *rgDispId);
  1145. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1146. Frame * This,
  1147. /* [in] */ DISPID dispIdMember,
  1148. /* [in] */ REFIID riid,
  1149. /* [in] */ LCID lcid,
  1150. /* [in] */ WORD wFlags,
  1151. /* [out][in] */ DISPPARAMS *pDispParams,
  1152. /* [out] */ VARIANT *pVarResult,
  1153. /* [out] */ EXCEPINFO *pExcepInfo,
  1154. /* [out] */ UINT *puArgErr);
  1155. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Maximize )(
  1156. Frame * This);
  1157. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Minimize )(
  1158. Frame * This);
  1159. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Restore )(
  1160. Frame * This);
  1161. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Top )(
  1162. Frame * This,
  1163. /* [retval][out] */ PINT Top);
  1164. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Top )(
  1165. Frame * This,
  1166. /* [in] */ int top);
  1167. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bottom )(
  1168. Frame * This,
  1169. /* [retval][out] */ PINT Bottom);
  1170. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bottom )(
  1171. Frame * This,
  1172. /* [in] */ int bottom);
  1173. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Left )(
  1174. Frame * This,
  1175. /* [retval][out] */ PINT Left);
  1176. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Left )(
  1177. Frame * This,
  1178. /* [in] */ int left);
  1179. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Right )(
  1180. Frame * This,
  1181. /* [retval][out] */ PINT Right);
  1182. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Right )(
  1183. Frame * This,
  1184. /* [in] */ int right);
  1185. END_INTERFACE
  1186. } FrameVtbl;
  1187. interface Frame
  1188. {
  1189. CONST_VTBL struct FrameVtbl *lpVtbl;
  1190. };
  1191. #ifdef COBJMACROS
  1192. #define Frame_QueryInterface(This,riid,ppvObject) \
  1193. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1194. #define Frame_AddRef(This) \
  1195. (This)->lpVtbl -> AddRef(This)
  1196. #define Frame_Release(This) \
  1197. (This)->lpVtbl -> Release(This)
  1198. #define Frame_GetTypeInfoCount(This,pctinfo) \
  1199. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1200. #define Frame_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1201. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1202. #define Frame_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1203. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1204. #define Frame_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1205. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1206. #define Frame_Maximize(This) \
  1207. (This)->lpVtbl -> Maximize(This)
  1208. #define Frame_Minimize(This) \
  1209. (This)->lpVtbl -> Minimize(This)
  1210. #define Frame_Restore(This) \
  1211. (This)->lpVtbl -> Restore(This)
  1212. #define Frame_get_Top(This,Top) \
  1213. (This)->lpVtbl -> get_Top(This,Top)
  1214. #define Frame_put_Top(This,top) \
  1215. (This)->lpVtbl -> put_Top(This,top)
  1216. #define Frame_get_Bottom(This,Bottom) \
  1217. (This)->lpVtbl -> get_Bottom(This,Bottom)
  1218. #define Frame_put_Bottom(This,bottom) \
  1219. (This)->lpVtbl -> put_Bottom(This,bottom)
  1220. #define Frame_get_Left(This,Left) \
  1221. (This)->lpVtbl -> get_Left(This,Left)
  1222. #define Frame_put_Left(This,left) \
  1223. (This)->lpVtbl -> put_Left(This,left)
  1224. #define Frame_get_Right(This,Right) \
  1225. (This)->lpVtbl -> get_Right(This,Right)
  1226. #define Frame_put_Right(This,right) \
  1227. (This)->lpVtbl -> put_Right(This,right)
  1228. #endif /* COBJMACROS */
  1229. #endif /* C style interface */
  1230. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Frame_Maximize_Proxy(
  1231. Frame * This);
  1232. void __RPC_STUB Frame_Maximize_Stub(
  1233. IRpcStubBuffer *This,
  1234. IRpcChannelBuffer *_pRpcChannelBuffer,
  1235. PRPC_MESSAGE _pRpcMessage,
  1236. DWORD *_pdwStubPhase);
  1237. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Frame_Minimize_Proxy(
  1238. Frame * This);
  1239. void __RPC_STUB Frame_Minimize_Stub(
  1240. IRpcStubBuffer *This,
  1241. IRpcChannelBuffer *_pRpcChannelBuffer,
  1242. PRPC_MESSAGE _pRpcMessage,
  1243. DWORD *_pdwStubPhase);
  1244. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Frame_Restore_Proxy(
  1245. Frame * This);
  1246. void __RPC_STUB Frame_Restore_Stub(
  1247. IRpcStubBuffer *This,
  1248. IRpcChannelBuffer *_pRpcChannelBuffer,
  1249. PRPC_MESSAGE _pRpcMessage,
  1250. DWORD *_pdwStubPhase);
  1251. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Top_Proxy(
  1252. Frame * This,
  1253. /* [retval][out] */ PINT Top);
  1254. void __RPC_STUB Frame_get_Top_Stub(
  1255. IRpcStubBuffer *This,
  1256. IRpcChannelBuffer *_pRpcChannelBuffer,
  1257. PRPC_MESSAGE _pRpcMessage,
  1258. DWORD *_pdwStubPhase);
  1259. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Top_Proxy(
  1260. Frame * This,
  1261. /* [in] */ int top);
  1262. void __RPC_STUB Frame_put_Top_Stub(
  1263. IRpcStubBuffer *This,
  1264. IRpcChannelBuffer *_pRpcChannelBuffer,
  1265. PRPC_MESSAGE _pRpcMessage,
  1266. DWORD *_pdwStubPhase);
  1267. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Bottom_Proxy(
  1268. Frame * This,
  1269. /* [retval][out] */ PINT Bottom);
  1270. void __RPC_STUB Frame_get_Bottom_Stub(
  1271. IRpcStubBuffer *This,
  1272. IRpcChannelBuffer *_pRpcChannelBuffer,
  1273. PRPC_MESSAGE _pRpcMessage,
  1274. DWORD *_pdwStubPhase);
  1275. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Bottom_Proxy(
  1276. Frame * This,
  1277. /* [in] */ int bottom);
  1278. void __RPC_STUB Frame_put_Bottom_Stub(
  1279. IRpcStubBuffer *This,
  1280. IRpcChannelBuffer *_pRpcChannelBuffer,
  1281. PRPC_MESSAGE _pRpcMessage,
  1282. DWORD *_pdwStubPhase);
  1283. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Left_Proxy(
  1284. Frame * This,
  1285. /* [retval][out] */ PINT Left);
  1286. void __RPC_STUB Frame_get_Left_Stub(
  1287. IRpcStubBuffer *This,
  1288. IRpcChannelBuffer *_pRpcChannelBuffer,
  1289. PRPC_MESSAGE _pRpcMessage,
  1290. DWORD *_pdwStubPhase);
  1291. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Left_Proxy(
  1292. Frame * This,
  1293. /* [in] */ int left);
  1294. void __RPC_STUB Frame_put_Left_Stub(
  1295. IRpcStubBuffer *This,
  1296. IRpcChannelBuffer *_pRpcChannelBuffer,
  1297. PRPC_MESSAGE _pRpcMessage,
  1298. DWORD *_pdwStubPhase);
  1299. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Frame_get_Right_Proxy(
  1300. Frame * This,
  1301. /* [retval][out] */ PINT Right);
  1302. void __RPC_STUB Frame_get_Right_Stub(
  1303. IRpcStubBuffer *This,
  1304. IRpcChannelBuffer *_pRpcChannelBuffer,
  1305. PRPC_MESSAGE _pRpcMessage,
  1306. DWORD *_pdwStubPhase);
  1307. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Frame_put_Right_Proxy(
  1308. Frame * This,
  1309. /* [in] */ int right);
  1310. void __RPC_STUB Frame_put_Right_Stub(
  1311. IRpcStubBuffer *This,
  1312. IRpcChannelBuffer *_pRpcChannelBuffer,
  1313. PRPC_MESSAGE _pRpcMessage,
  1314. DWORD *_pdwStubPhase);
  1315. #endif /* __Frame_INTERFACE_DEFINED__ */
  1316. #ifndef __Node_INTERFACE_DEFINED__
  1317. #define __Node_INTERFACE_DEFINED__
  1318. /* interface Node */
  1319. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  1320. EXTERN_C const IID IID_Node;
  1321. #if defined(__cplusplus) && !defined(CINTERFACE)
  1322. MIDL_INTERFACE("F81ED800-7839-4447-945D-8E15DA59CA55")
  1323. Node : public IDispatch
  1324. {
  1325. public:
  1326. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1327. /* [retval][out] */ PBSTR Name) = 0;
  1328. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Property(
  1329. /* [in] */ BSTR PropertyName,
  1330. /* [retval][out] */ PBSTR PropertyValue) = 0;
  1331. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Bookmark(
  1332. /* [retval][out] */ PBSTR Bookmark) = 0;
  1333. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsScopeNode(
  1334. /* [retval][out] */ PBOOL IsScopeNode) = 0;
  1335. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Nodetype(
  1336. /* [retval][out] */ PBSTR Nodetype) = 0;
  1337. };
  1338. #else /* C style interface */
  1339. typedef struct NodeVtbl
  1340. {
  1341. BEGIN_INTERFACE
  1342. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1343. Node * This,
  1344. /* [in] */ REFIID riid,
  1345. /* [iid_is][out] */ void **ppvObject);
  1346. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1347. Node * This);
  1348. ULONG ( STDMETHODCALLTYPE *Release )(
  1349. Node * This);
  1350. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1351. Node * This,
  1352. /* [out] */ UINT *pctinfo);
  1353. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1354. Node * This,
  1355. /* [in] */ UINT iTInfo,
  1356. /* [in] */ LCID lcid,
  1357. /* [out] */ ITypeInfo **ppTInfo);
  1358. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1359. Node * This,
  1360. /* [in] */ REFIID riid,
  1361. /* [size_is][in] */ LPOLESTR *rgszNames,
  1362. /* [in] */ UINT cNames,
  1363. /* [in] */ LCID lcid,
  1364. /* [size_is][out] */ DISPID *rgDispId);
  1365. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1366. Node * This,
  1367. /* [in] */ DISPID dispIdMember,
  1368. /* [in] */ REFIID riid,
  1369. /* [in] */ LCID lcid,
  1370. /* [in] */ WORD wFlags,
  1371. /* [out][in] */ DISPPARAMS *pDispParams,
  1372. /* [out] */ VARIANT *pVarResult,
  1373. /* [out] */ EXCEPINFO *pExcepInfo,
  1374. /* [out] */ UINT *puArgErr);
  1375. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1376. Node * This,
  1377. /* [retval][out] */ PBSTR Name);
  1378. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Property )(
  1379. Node * This,
  1380. /* [in] */ BSTR PropertyName,
  1381. /* [retval][out] */ PBSTR PropertyValue);
  1382. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bookmark )(
  1383. Node * This,
  1384. /* [retval][out] */ PBSTR Bookmark);
  1385. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsScopeNode )(
  1386. Node * This,
  1387. /* [retval][out] */ PBOOL IsScopeNode);
  1388. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Nodetype )(
  1389. Node * This,
  1390. /* [retval][out] */ PBSTR Nodetype);
  1391. END_INTERFACE
  1392. } NodeVtbl;
  1393. interface Node
  1394. {
  1395. CONST_VTBL struct NodeVtbl *lpVtbl;
  1396. };
  1397. #ifdef COBJMACROS
  1398. #define Node_QueryInterface(This,riid,ppvObject) \
  1399. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1400. #define Node_AddRef(This) \
  1401. (This)->lpVtbl -> AddRef(This)
  1402. #define Node_Release(This) \
  1403. (This)->lpVtbl -> Release(This)
  1404. #define Node_GetTypeInfoCount(This,pctinfo) \
  1405. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1406. #define Node_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1407. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1408. #define Node_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1409. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1410. #define Node_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1411. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1412. #define Node_get_Name(This,Name) \
  1413. (This)->lpVtbl -> get_Name(This,Name)
  1414. #define Node_get_Property(This,PropertyName,PropertyValue) \
  1415. (This)->lpVtbl -> get_Property(This,PropertyName,PropertyValue)
  1416. #define Node_get_Bookmark(This,Bookmark) \
  1417. (This)->lpVtbl -> get_Bookmark(This,Bookmark)
  1418. #define Node_IsScopeNode(This,IsScopeNode) \
  1419. (This)->lpVtbl -> IsScopeNode(This,IsScopeNode)
  1420. #define Node_get_Nodetype(This,Nodetype) \
  1421. (This)->lpVtbl -> get_Nodetype(This,Nodetype)
  1422. #endif /* COBJMACROS */
  1423. #endif /* C style interface */
  1424. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Name_Proxy(
  1425. Node * This,
  1426. /* [retval][out] */ PBSTR Name);
  1427. void __RPC_STUB Node_get_Name_Stub(
  1428. IRpcStubBuffer *This,
  1429. IRpcChannelBuffer *_pRpcChannelBuffer,
  1430. PRPC_MESSAGE _pRpcMessage,
  1431. DWORD *_pdwStubPhase);
  1432. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Property_Proxy(
  1433. Node * This,
  1434. /* [in] */ BSTR PropertyName,
  1435. /* [retval][out] */ PBSTR PropertyValue);
  1436. void __RPC_STUB Node_get_Property_Stub(
  1437. IRpcStubBuffer *This,
  1438. IRpcChannelBuffer *_pRpcChannelBuffer,
  1439. PRPC_MESSAGE _pRpcMessage,
  1440. DWORD *_pdwStubPhase);
  1441. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Bookmark_Proxy(
  1442. Node * This,
  1443. /* [retval][out] */ PBSTR Bookmark);
  1444. void __RPC_STUB Node_get_Bookmark_Stub(
  1445. IRpcStubBuffer *This,
  1446. IRpcChannelBuffer *_pRpcChannelBuffer,
  1447. PRPC_MESSAGE _pRpcMessage,
  1448. DWORD *_pdwStubPhase);
  1449. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Node_IsScopeNode_Proxy(
  1450. Node * This,
  1451. /* [retval][out] */ PBOOL IsScopeNode);
  1452. void __RPC_STUB Node_IsScopeNode_Stub(
  1453. IRpcStubBuffer *This,
  1454. IRpcChannelBuffer *_pRpcChannelBuffer,
  1455. PRPC_MESSAGE _pRpcMessage,
  1456. DWORD *_pdwStubPhase);
  1457. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Node_get_Nodetype_Proxy(
  1458. Node * This,
  1459. /* [retval][out] */ PBSTR Nodetype);
  1460. void __RPC_STUB Node_get_Nodetype_Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. #endif /* __Node_INTERFACE_DEFINED__ */
  1466. #ifndef __ScopeNamespace_INTERFACE_DEFINED__
  1467. #define __ScopeNamespace_INTERFACE_DEFINED__
  1468. /* interface ScopeNamespace */
  1469. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  1470. EXTERN_C const IID IID_ScopeNamespace;
  1471. #if defined(__cplusplus) && !defined(CINTERFACE)
  1472. MIDL_INTERFACE("EBBB48DC-1A3B-4D86-B786-C21B28389012")
  1473. ScopeNamespace : public IDispatch
  1474. {
  1475. public:
  1476. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetParent(
  1477. /* [in] */ PNODE Node,
  1478. /* [retval][out] */ PPNODE Parent) = 0;
  1479. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetChild(
  1480. /* [in] */ PNODE Node,
  1481. /* [retval][out] */ PPNODE Child) = 0;
  1482. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNext(
  1483. /* [in] */ PNODE Node,
  1484. /* [retval][out] */ PPNODE Next) = 0;
  1485. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRoot(
  1486. /* [retval][out] */ PPNODE Root) = 0;
  1487. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Expand(
  1488. /* [in] */ PNODE Node) = 0;
  1489. };
  1490. #else /* C style interface */
  1491. typedef struct ScopeNamespaceVtbl
  1492. {
  1493. BEGIN_INTERFACE
  1494. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1495. ScopeNamespace * This,
  1496. /* [in] */ REFIID riid,
  1497. /* [iid_is][out] */ void **ppvObject);
  1498. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1499. ScopeNamespace * This);
  1500. ULONG ( STDMETHODCALLTYPE *Release )(
  1501. ScopeNamespace * This);
  1502. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1503. ScopeNamespace * This,
  1504. /* [out] */ UINT *pctinfo);
  1505. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1506. ScopeNamespace * This,
  1507. /* [in] */ UINT iTInfo,
  1508. /* [in] */ LCID lcid,
  1509. /* [out] */ ITypeInfo **ppTInfo);
  1510. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1511. ScopeNamespace * This,
  1512. /* [in] */ REFIID riid,
  1513. /* [size_is][in] */ LPOLESTR *rgszNames,
  1514. /* [in] */ UINT cNames,
  1515. /* [in] */ LCID lcid,
  1516. /* [size_is][out] */ DISPID *rgDispId);
  1517. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1518. ScopeNamespace * This,
  1519. /* [in] */ DISPID dispIdMember,
  1520. /* [in] */ REFIID riid,
  1521. /* [in] */ LCID lcid,
  1522. /* [in] */ WORD wFlags,
  1523. /* [out][in] */ DISPPARAMS *pDispParams,
  1524. /* [out] */ VARIANT *pVarResult,
  1525. /* [out] */ EXCEPINFO *pExcepInfo,
  1526. /* [out] */ UINT *puArgErr);
  1527. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetParent )(
  1528. ScopeNamespace * This,
  1529. /* [in] */ PNODE Node,
  1530. /* [retval][out] */ PPNODE Parent);
  1531. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetChild )(
  1532. ScopeNamespace * This,
  1533. /* [in] */ PNODE Node,
  1534. /* [retval][out] */ PPNODE Child);
  1535. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNext )(
  1536. ScopeNamespace * This,
  1537. /* [in] */ PNODE Node,
  1538. /* [retval][out] */ PPNODE Next);
  1539. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRoot )(
  1540. ScopeNamespace * This,
  1541. /* [retval][out] */ PPNODE Root);
  1542. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Expand )(
  1543. ScopeNamespace * This,
  1544. /* [in] */ PNODE Node);
  1545. END_INTERFACE
  1546. } ScopeNamespaceVtbl;
  1547. interface ScopeNamespace
  1548. {
  1549. CONST_VTBL struct ScopeNamespaceVtbl *lpVtbl;
  1550. };
  1551. #ifdef COBJMACROS
  1552. #define ScopeNamespace_QueryInterface(This,riid,ppvObject) \
  1553. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1554. #define ScopeNamespace_AddRef(This) \
  1555. (This)->lpVtbl -> AddRef(This)
  1556. #define ScopeNamespace_Release(This) \
  1557. (This)->lpVtbl -> Release(This)
  1558. #define ScopeNamespace_GetTypeInfoCount(This,pctinfo) \
  1559. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1560. #define ScopeNamespace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1561. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1562. #define ScopeNamespace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1563. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1564. #define ScopeNamespace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1565. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1566. #define ScopeNamespace_GetParent(This,Node,Parent) \
  1567. (This)->lpVtbl -> GetParent(This,Node,Parent)
  1568. #define ScopeNamespace_GetChild(This,Node,Child) \
  1569. (This)->lpVtbl -> GetChild(This,Node,Child)
  1570. #define ScopeNamespace_GetNext(This,Node,Next) \
  1571. (This)->lpVtbl -> GetNext(This,Node,Next)
  1572. #define ScopeNamespace_GetRoot(This,Root) \
  1573. (This)->lpVtbl -> GetRoot(This,Root)
  1574. #define ScopeNamespace_Expand(This,Node) \
  1575. (This)->lpVtbl -> Expand(This,Node)
  1576. #endif /* COBJMACROS */
  1577. #endif /* C style interface */
  1578. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetParent_Proxy(
  1579. ScopeNamespace * This,
  1580. /* [in] */ PNODE Node,
  1581. /* [retval][out] */ PPNODE Parent);
  1582. void __RPC_STUB ScopeNamespace_GetParent_Stub(
  1583. IRpcStubBuffer *This,
  1584. IRpcChannelBuffer *_pRpcChannelBuffer,
  1585. PRPC_MESSAGE _pRpcMessage,
  1586. DWORD *_pdwStubPhase);
  1587. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetChild_Proxy(
  1588. ScopeNamespace * This,
  1589. /* [in] */ PNODE Node,
  1590. /* [retval][out] */ PPNODE Child);
  1591. void __RPC_STUB ScopeNamespace_GetChild_Stub(
  1592. IRpcStubBuffer *This,
  1593. IRpcChannelBuffer *_pRpcChannelBuffer,
  1594. PRPC_MESSAGE _pRpcMessage,
  1595. DWORD *_pdwStubPhase);
  1596. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetNext_Proxy(
  1597. ScopeNamespace * This,
  1598. /* [in] */ PNODE Node,
  1599. /* [retval][out] */ PPNODE Next);
  1600. void __RPC_STUB ScopeNamespace_GetNext_Stub(
  1601. IRpcStubBuffer *This,
  1602. IRpcChannelBuffer *_pRpcChannelBuffer,
  1603. PRPC_MESSAGE _pRpcMessage,
  1604. DWORD *_pdwStubPhase);
  1605. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_GetRoot_Proxy(
  1606. ScopeNamespace * This,
  1607. /* [retval][out] */ PPNODE Root);
  1608. void __RPC_STUB ScopeNamespace_GetRoot_Stub(
  1609. IRpcStubBuffer *This,
  1610. IRpcChannelBuffer *_pRpcChannelBuffer,
  1611. PRPC_MESSAGE _pRpcMessage,
  1612. DWORD *_pdwStubPhase);
  1613. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScopeNamespace_Expand_Proxy(
  1614. ScopeNamespace * This,
  1615. /* [in] */ PNODE Node);
  1616. void __RPC_STUB ScopeNamespace_Expand_Stub(
  1617. IRpcStubBuffer *This,
  1618. IRpcChannelBuffer *_pRpcChannelBuffer,
  1619. PRPC_MESSAGE _pRpcMessage,
  1620. DWORD *_pdwStubPhase);
  1621. #endif /* __ScopeNamespace_INTERFACE_DEFINED__ */
  1622. #ifndef __Document_INTERFACE_DEFINED__
  1623. #define __Document_INTERFACE_DEFINED__
  1624. /* interface Document */
  1625. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  1626. EXTERN_C const IID IID_Document;
  1627. #if defined(__cplusplus) && !defined(CINTERFACE)
  1628. MIDL_INTERFACE("225120D6-1E0F-40A3-93FE-1079E6A8017B")
  1629. Document : public IDispatch
  1630. {
  1631. public:
  1632. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0;
  1633. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveAs(
  1634. /* [in] */ BSTR Filename) = 0;
  1635. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close(
  1636. /* [in] */ BOOL SaveChanges) = 0;
  1637. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Views(
  1638. /* [retval][out] */ PPVIEWS Views) = 0;
  1639. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SnapIns(
  1640. /* [retval][out] */ PPSNAPINS SnapIns) = 0;
  1641. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveView(
  1642. /* [retval][out] */ PPVIEW View) = 0;
  1643. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1644. /* [retval][out] */ PBSTR Name) = 0;
  1645. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  1646. /* [in] */ BSTR Name) = 0;
  1647. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Location(
  1648. /* [retval][out] */ PBSTR Location) = 0;
  1649. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsSaved(
  1650. /* [retval][out] */ PBOOL IsSaved) = 0;
  1651. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Mode(
  1652. /* [retval][out] */ PDOCUMENTMODE Mode) = 0;
  1653. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Mode(
  1654. /* [in] */ DOCUMENTMODE Mode) = 0;
  1655. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_RootNode(
  1656. /* [retval][out] */ PPNODE Node) = 0;
  1657. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ScopeNamespace(
  1658. /* [retval][out] */ PPSCOPENAMESPACE ScopeNamespace) = 0;
  1659. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateProperties(
  1660. /* [retval][out] */ PPPROPERTIES Properties) = 0;
  1661. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application(
  1662. /* [retval][out] */ PPAPPLICATION Application) = 0;
  1663. };
  1664. #else /* C style interface */
  1665. typedef struct DocumentVtbl
  1666. {
  1667. BEGIN_INTERFACE
  1668. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1669. Document * This,
  1670. /* [in] */ REFIID riid,
  1671. /* [iid_is][out] */ void **ppvObject);
  1672. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1673. Document * This);
  1674. ULONG ( STDMETHODCALLTYPE *Release )(
  1675. Document * This);
  1676. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1677. Document * This,
  1678. /* [out] */ UINT *pctinfo);
  1679. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1680. Document * This,
  1681. /* [in] */ UINT iTInfo,
  1682. /* [in] */ LCID lcid,
  1683. /* [out] */ ITypeInfo **ppTInfo);
  1684. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1685. Document * This,
  1686. /* [in] */ REFIID riid,
  1687. /* [size_is][in] */ LPOLESTR *rgszNames,
  1688. /* [in] */ UINT cNames,
  1689. /* [in] */ LCID lcid,
  1690. /* [size_is][out] */ DISPID *rgDispId);
  1691. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1692. Document * This,
  1693. /* [in] */ DISPID dispIdMember,
  1694. /* [in] */ REFIID riid,
  1695. /* [in] */ LCID lcid,
  1696. /* [in] */ WORD wFlags,
  1697. /* [out][in] */ DISPPARAMS *pDispParams,
  1698. /* [out] */ VARIANT *pVarResult,
  1699. /* [out] */ EXCEPINFO *pExcepInfo,
  1700. /* [out] */ UINT *puArgErr);
  1701. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )(
  1702. Document * This);
  1703. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveAs )(
  1704. Document * This,
  1705. /* [in] */ BSTR Filename);
  1706. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  1707. Document * This,
  1708. /* [in] */ BOOL SaveChanges);
  1709. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Views )(
  1710. Document * This,
  1711. /* [retval][out] */ PPVIEWS Views);
  1712. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SnapIns )(
  1713. Document * This,
  1714. /* [retval][out] */ PPSNAPINS SnapIns);
  1715. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveView )(
  1716. Document * This,
  1717. /* [retval][out] */ PPVIEW View);
  1718. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1719. Document * This,
  1720. /* [retval][out] */ PBSTR Name);
  1721. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  1722. Document * This,
  1723. /* [in] */ BSTR Name);
  1724. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Location )(
  1725. Document * This,
  1726. /* [retval][out] */ PBSTR Location);
  1727. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsSaved )(
  1728. Document * This,
  1729. /* [retval][out] */ PBOOL IsSaved);
  1730. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )(
  1731. Document * This,
  1732. /* [retval][out] */ PDOCUMENTMODE Mode);
  1733. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )(
  1734. Document * This,
  1735. /* [in] */ DOCUMENTMODE Mode);
  1736. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RootNode )(
  1737. Document * This,
  1738. /* [retval][out] */ PPNODE Node);
  1739. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ScopeNamespace )(
  1740. Document * This,
  1741. /* [retval][out] */ PPSCOPENAMESPACE ScopeNamespace);
  1742. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateProperties )(
  1743. Document * This,
  1744. /* [retval][out] */ PPPROPERTIES Properties);
  1745. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Application )(
  1746. Document * This,
  1747. /* [retval][out] */ PPAPPLICATION Application);
  1748. END_INTERFACE
  1749. } DocumentVtbl;
  1750. interface Document
  1751. {
  1752. CONST_VTBL struct DocumentVtbl *lpVtbl;
  1753. };
  1754. #ifdef COBJMACROS
  1755. #define Document_QueryInterface(This,riid,ppvObject) \
  1756. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1757. #define Document_AddRef(This) \
  1758. (This)->lpVtbl -> AddRef(This)
  1759. #define Document_Release(This) \
  1760. (This)->lpVtbl -> Release(This)
  1761. #define Document_GetTypeInfoCount(This,pctinfo) \
  1762. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1763. #define Document_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1764. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1765. #define Document_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1766. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1767. #define Document_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1768. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1769. #define Document_Save(This) \
  1770. (This)->lpVtbl -> Save(This)
  1771. #define Document_SaveAs(This,Filename) \
  1772. (This)->lpVtbl -> SaveAs(This,Filename)
  1773. #define Document_Close(This,SaveChanges) \
  1774. (This)->lpVtbl -> Close(This,SaveChanges)
  1775. #define Document_get_Views(This,Views) \
  1776. (This)->lpVtbl -> get_Views(This,Views)
  1777. #define Document_get_SnapIns(This,SnapIns) \
  1778. (This)->lpVtbl -> get_SnapIns(This,SnapIns)
  1779. #define Document_get_ActiveView(This,View) \
  1780. (This)->lpVtbl -> get_ActiveView(This,View)
  1781. #define Document_get_Name(This,Name) \
  1782. (This)->lpVtbl -> get_Name(This,Name)
  1783. #define Document_put_Name(This,Name) \
  1784. (This)->lpVtbl -> put_Name(This,Name)
  1785. #define Document_get_Location(This,Location) \
  1786. (This)->lpVtbl -> get_Location(This,Location)
  1787. #define Document_get_IsSaved(This,IsSaved) \
  1788. (This)->lpVtbl -> get_IsSaved(This,IsSaved)
  1789. #define Document_get_Mode(This,Mode) \
  1790. (This)->lpVtbl -> get_Mode(This,Mode)
  1791. #define Document_put_Mode(This,Mode) \
  1792. (This)->lpVtbl -> put_Mode(This,Mode)
  1793. #define Document_get_RootNode(This,Node) \
  1794. (This)->lpVtbl -> get_RootNode(This,Node)
  1795. #define Document_get_ScopeNamespace(This,ScopeNamespace) \
  1796. (This)->lpVtbl -> get_ScopeNamespace(This,ScopeNamespace)
  1797. #define Document_CreateProperties(This,Properties) \
  1798. (This)->lpVtbl -> CreateProperties(This,Properties)
  1799. #define Document_get_Application(This,Application) \
  1800. (This)->lpVtbl -> get_Application(This,Application)
  1801. #endif /* COBJMACROS */
  1802. #endif /* C style interface */
  1803. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_Save_Proxy(
  1804. Document * This);
  1805. void __RPC_STUB Document_Save_Stub(
  1806. IRpcStubBuffer *This,
  1807. IRpcChannelBuffer *_pRpcChannelBuffer,
  1808. PRPC_MESSAGE _pRpcMessage,
  1809. DWORD *_pdwStubPhase);
  1810. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_SaveAs_Proxy(
  1811. Document * This,
  1812. /* [in] */ BSTR Filename);
  1813. void __RPC_STUB Document_SaveAs_Stub(
  1814. IRpcStubBuffer *This,
  1815. IRpcChannelBuffer *_pRpcChannelBuffer,
  1816. PRPC_MESSAGE _pRpcMessage,
  1817. DWORD *_pdwStubPhase);
  1818. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_Close_Proxy(
  1819. Document * This,
  1820. /* [in] */ BOOL SaveChanges);
  1821. void __RPC_STUB Document_Close_Stub(
  1822. IRpcStubBuffer *This,
  1823. IRpcChannelBuffer *_pRpcChannelBuffer,
  1824. PRPC_MESSAGE _pRpcMessage,
  1825. DWORD *_pdwStubPhase);
  1826. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Views_Proxy(
  1827. Document * This,
  1828. /* [retval][out] */ PPVIEWS Views);
  1829. void __RPC_STUB Document_get_Views_Stub(
  1830. IRpcStubBuffer *This,
  1831. IRpcChannelBuffer *_pRpcChannelBuffer,
  1832. PRPC_MESSAGE _pRpcMessage,
  1833. DWORD *_pdwStubPhase);
  1834. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_SnapIns_Proxy(
  1835. Document * This,
  1836. /* [retval][out] */ PPSNAPINS SnapIns);
  1837. void __RPC_STUB Document_get_SnapIns_Stub(
  1838. IRpcStubBuffer *This,
  1839. IRpcChannelBuffer *_pRpcChannelBuffer,
  1840. PRPC_MESSAGE _pRpcMessage,
  1841. DWORD *_pdwStubPhase);
  1842. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_ActiveView_Proxy(
  1843. Document * This,
  1844. /* [retval][out] */ PPVIEW View);
  1845. void __RPC_STUB Document_get_ActiveView_Stub(
  1846. IRpcStubBuffer *This,
  1847. IRpcChannelBuffer *_pRpcChannelBuffer,
  1848. PRPC_MESSAGE _pRpcMessage,
  1849. DWORD *_pdwStubPhase);
  1850. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Name_Proxy(
  1851. Document * This,
  1852. /* [retval][out] */ PBSTR Name);
  1853. void __RPC_STUB Document_get_Name_Stub(
  1854. IRpcStubBuffer *This,
  1855. IRpcChannelBuffer *_pRpcChannelBuffer,
  1856. PRPC_MESSAGE _pRpcMessage,
  1857. DWORD *_pdwStubPhase);
  1858. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Document_put_Name_Proxy(
  1859. Document * This,
  1860. /* [in] */ BSTR Name);
  1861. void __RPC_STUB Document_put_Name_Stub(
  1862. IRpcStubBuffer *This,
  1863. IRpcChannelBuffer *_pRpcChannelBuffer,
  1864. PRPC_MESSAGE _pRpcMessage,
  1865. DWORD *_pdwStubPhase);
  1866. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Location_Proxy(
  1867. Document * This,
  1868. /* [retval][out] */ PBSTR Location);
  1869. void __RPC_STUB Document_get_Location_Stub(
  1870. IRpcStubBuffer *This,
  1871. IRpcChannelBuffer *_pRpcChannelBuffer,
  1872. PRPC_MESSAGE _pRpcMessage,
  1873. DWORD *_pdwStubPhase);
  1874. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_IsSaved_Proxy(
  1875. Document * This,
  1876. /* [retval][out] */ PBOOL IsSaved);
  1877. void __RPC_STUB Document_get_IsSaved_Stub(
  1878. IRpcStubBuffer *This,
  1879. IRpcChannelBuffer *_pRpcChannelBuffer,
  1880. PRPC_MESSAGE _pRpcMessage,
  1881. DWORD *_pdwStubPhase);
  1882. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Mode_Proxy(
  1883. Document * This,
  1884. /* [retval][out] */ PDOCUMENTMODE Mode);
  1885. void __RPC_STUB Document_get_Mode_Stub(
  1886. IRpcStubBuffer *This,
  1887. IRpcChannelBuffer *_pRpcChannelBuffer,
  1888. PRPC_MESSAGE _pRpcMessage,
  1889. DWORD *_pdwStubPhase);
  1890. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Document_put_Mode_Proxy(
  1891. Document * This,
  1892. /* [in] */ DOCUMENTMODE Mode);
  1893. void __RPC_STUB Document_put_Mode_Stub(
  1894. IRpcStubBuffer *This,
  1895. IRpcChannelBuffer *_pRpcChannelBuffer,
  1896. PRPC_MESSAGE _pRpcMessage,
  1897. DWORD *_pdwStubPhase);
  1898. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_RootNode_Proxy(
  1899. Document * This,
  1900. /* [retval][out] */ PPNODE Node);
  1901. void __RPC_STUB Document_get_RootNode_Stub(
  1902. IRpcStubBuffer *This,
  1903. IRpcChannelBuffer *_pRpcChannelBuffer,
  1904. PRPC_MESSAGE _pRpcMessage,
  1905. DWORD *_pdwStubPhase);
  1906. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_ScopeNamespace_Proxy(
  1907. Document * This,
  1908. /* [retval][out] */ PPSCOPENAMESPACE ScopeNamespace);
  1909. void __RPC_STUB Document_get_ScopeNamespace_Stub(
  1910. IRpcStubBuffer *This,
  1911. IRpcChannelBuffer *_pRpcChannelBuffer,
  1912. PRPC_MESSAGE _pRpcMessage,
  1913. DWORD *_pdwStubPhase);
  1914. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Document_CreateProperties_Proxy(
  1915. Document * This,
  1916. /* [retval][out] */ PPPROPERTIES Properties);
  1917. void __RPC_STUB Document_CreateProperties_Stub(
  1918. IRpcStubBuffer *This,
  1919. IRpcChannelBuffer *_pRpcChannelBuffer,
  1920. PRPC_MESSAGE _pRpcMessage,
  1921. DWORD *_pdwStubPhase);
  1922. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Document_get_Application_Proxy(
  1923. Document * This,
  1924. /* [retval][out] */ PPAPPLICATION Application);
  1925. void __RPC_STUB Document_get_Application_Stub(
  1926. IRpcStubBuffer *This,
  1927. IRpcChannelBuffer *_pRpcChannelBuffer,
  1928. PRPC_MESSAGE _pRpcMessage,
  1929. DWORD *_pdwStubPhase);
  1930. #endif /* __Document_INTERFACE_DEFINED__ */
  1931. #ifndef __SnapIn_INTERFACE_DEFINED__
  1932. #define __SnapIn_INTERFACE_DEFINED__
  1933. /* interface SnapIn */
  1934. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  1935. EXTERN_C const IID IID_SnapIn;
  1936. #if defined(__cplusplus) && !defined(CINTERFACE)
  1937. MIDL_INTERFACE("3BE910F6-3459-49C6-A1BB-41E6BE9DF3EA")
  1938. SnapIn : public IDispatch
  1939. {
  1940. public:
  1941. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1942. /* [retval][out] */ PBSTR Name) = 0;
  1943. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Vendor(
  1944. /* [retval][out] */ PBSTR Vendor) = 0;
  1945. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Version(
  1946. /* [retval][out] */ PBSTR Version) = 0;
  1947. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Extensions(
  1948. /* [retval][out] */ PPEXTENSIONS Extensions) = 0;
  1949. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SnapinCLSID(
  1950. /* [retval][out] */ PBSTR SnapinCLSID) = 0;
  1951. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Properties(
  1952. /* [retval][out] */ PPPROPERTIES Properties) = 0;
  1953. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableAllExtensions(
  1954. /* [in] */ BOOL Enable) = 0;
  1955. };
  1956. #else /* C style interface */
  1957. typedef struct SnapInVtbl
  1958. {
  1959. BEGIN_INTERFACE
  1960. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1961. SnapIn * This,
  1962. /* [in] */ REFIID riid,
  1963. /* [iid_is][out] */ void **ppvObject);
  1964. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1965. SnapIn * This);
  1966. ULONG ( STDMETHODCALLTYPE *Release )(
  1967. SnapIn * This);
  1968. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1969. SnapIn * This,
  1970. /* [out] */ UINT *pctinfo);
  1971. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1972. SnapIn * This,
  1973. /* [in] */ UINT iTInfo,
  1974. /* [in] */ LCID lcid,
  1975. /* [out] */ ITypeInfo **ppTInfo);
  1976. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1977. SnapIn * This,
  1978. /* [in] */ REFIID riid,
  1979. /* [size_is][in] */ LPOLESTR *rgszNames,
  1980. /* [in] */ UINT cNames,
  1981. /* [in] */ LCID lcid,
  1982. /* [size_is][out] */ DISPID *rgDispId);
  1983. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1984. SnapIn * This,
  1985. /* [in] */ DISPID dispIdMember,
  1986. /* [in] */ REFIID riid,
  1987. /* [in] */ LCID lcid,
  1988. /* [in] */ WORD wFlags,
  1989. /* [out][in] */ DISPPARAMS *pDispParams,
  1990. /* [out] */ VARIANT *pVarResult,
  1991. /* [out] */ EXCEPINFO *pExcepInfo,
  1992. /* [out] */ UINT *puArgErr);
  1993. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1994. SnapIn * This,
  1995. /* [retval][out] */ PBSTR Name);
  1996. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Vendor )(
  1997. SnapIn * This,
  1998. /* [retval][out] */ PBSTR Vendor);
  1999. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  2000. SnapIn * This,
  2001. /* [retval][out] */ PBSTR Version);
  2002. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Extensions )(
  2003. SnapIn * This,
  2004. /* [retval][out] */ PPEXTENSIONS Extensions);
  2005. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SnapinCLSID )(
  2006. SnapIn * This,
  2007. /* [retval][out] */ PBSTR SnapinCLSID);
  2008. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  2009. SnapIn * This,
  2010. /* [retval][out] */ PPPROPERTIES Properties);
  2011. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableAllExtensions )(
  2012. SnapIn * This,
  2013. /* [in] */ BOOL Enable);
  2014. END_INTERFACE
  2015. } SnapInVtbl;
  2016. interface SnapIn
  2017. {
  2018. CONST_VTBL struct SnapInVtbl *lpVtbl;
  2019. };
  2020. #ifdef COBJMACROS
  2021. #define SnapIn_QueryInterface(This,riid,ppvObject) \
  2022. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2023. #define SnapIn_AddRef(This) \
  2024. (This)->lpVtbl -> AddRef(This)
  2025. #define SnapIn_Release(This) \
  2026. (This)->lpVtbl -> Release(This)
  2027. #define SnapIn_GetTypeInfoCount(This,pctinfo) \
  2028. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2029. #define SnapIn_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2030. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2031. #define SnapIn_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2032. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2033. #define SnapIn_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2034. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2035. #define SnapIn_get_Name(This,Name) \
  2036. (This)->lpVtbl -> get_Name(This,Name)
  2037. #define SnapIn_get_Vendor(This,Vendor) \
  2038. (This)->lpVtbl -> get_Vendor(This,Vendor)
  2039. #define SnapIn_get_Version(This,Version) \
  2040. (This)->lpVtbl -> get_Version(This,Version)
  2041. #define SnapIn_get_Extensions(This,Extensions) \
  2042. (This)->lpVtbl -> get_Extensions(This,Extensions)
  2043. #define SnapIn_get_SnapinCLSID(This,SnapinCLSID) \
  2044. (This)->lpVtbl -> get_SnapinCLSID(This,SnapinCLSID)
  2045. #define SnapIn_get_Properties(This,Properties) \
  2046. (This)->lpVtbl -> get_Properties(This,Properties)
  2047. #define SnapIn_EnableAllExtensions(This,Enable) \
  2048. (This)->lpVtbl -> EnableAllExtensions(This,Enable)
  2049. #endif /* COBJMACROS */
  2050. #endif /* C style interface */
  2051. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Name_Proxy(
  2052. SnapIn * This,
  2053. /* [retval][out] */ PBSTR Name);
  2054. void __RPC_STUB SnapIn_get_Name_Stub(
  2055. IRpcStubBuffer *This,
  2056. IRpcChannelBuffer *_pRpcChannelBuffer,
  2057. PRPC_MESSAGE _pRpcMessage,
  2058. DWORD *_pdwStubPhase);
  2059. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Vendor_Proxy(
  2060. SnapIn * This,
  2061. /* [retval][out] */ PBSTR Vendor);
  2062. void __RPC_STUB SnapIn_get_Vendor_Stub(
  2063. IRpcStubBuffer *This,
  2064. IRpcChannelBuffer *_pRpcChannelBuffer,
  2065. PRPC_MESSAGE _pRpcMessage,
  2066. DWORD *_pdwStubPhase);
  2067. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Version_Proxy(
  2068. SnapIn * This,
  2069. /* [retval][out] */ PBSTR Version);
  2070. void __RPC_STUB SnapIn_get_Version_Stub(
  2071. IRpcStubBuffer *This,
  2072. IRpcChannelBuffer *_pRpcChannelBuffer,
  2073. PRPC_MESSAGE _pRpcMessage,
  2074. DWORD *_pdwStubPhase);
  2075. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Extensions_Proxy(
  2076. SnapIn * This,
  2077. /* [retval][out] */ PPEXTENSIONS Extensions);
  2078. void __RPC_STUB SnapIn_get_Extensions_Stub(
  2079. IRpcStubBuffer *This,
  2080. IRpcChannelBuffer *_pRpcChannelBuffer,
  2081. PRPC_MESSAGE _pRpcMessage,
  2082. DWORD *_pdwStubPhase);
  2083. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_SnapinCLSID_Proxy(
  2084. SnapIn * This,
  2085. /* [retval][out] */ PBSTR SnapinCLSID);
  2086. void __RPC_STUB SnapIn_get_SnapinCLSID_Stub(
  2087. IRpcStubBuffer *This,
  2088. IRpcChannelBuffer *_pRpcChannelBuffer,
  2089. PRPC_MESSAGE _pRpcMessage,
  2090. DWORD *_pdwStubPhase);
  2091. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE SnapIn_get_Properties_Proxy(
  2092. SnapIn * This,
  2093. /* [retval][out] */ PPPROPERTIES Properties);
  2094. void __RPC_STUB SnapIn_get_Properties_Stub(
  2095. IRpcStubBuffer *This,
  2096. IRpcChannelBuffer *_pRpcChannelBuffer,
  2097. PRPC_MESSAGE _pRpcMessage,
  2098. DWORD *_pdwStubPhase);
  2099. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SnapIn_EnableAllExtensions_Proxy(
  2100. SnapIn * This,
  2101. /* [in] */ BOOL Enable);
  2102. void __RPC_STUB SnapIn_EnableAllExtensions_Stub(
  2103. IRpcStubBuffer *This,
  2104. IRpcChannelBuffer *_pRpcChannelBuffer,
  2105. PRPC_MESSAGE _pRpcMessage,
  2106. DWORD *_pdwStubPhase);
  2107. #endif /* __SnapIn_INTERFACE_DEFINED__ */
  2108. #ifndef __SnapIns_INTERFACE_DEFINED__
  2109. #define __SnapIns_INTERFACE_DEFINED__
  2110. /* interface SnapIns */
  2111. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  2112. EXTERN_C const IID IID_SnapIns;
  2113. #if defined(__cplusplus) && !defined(CINTERFACE)
  2114. MIDL_INTERFACE("2EF3DE1D-B12A-49D1-92C5-0B00798768F1")
  2115. SnapIns : public IDispatch
  2116. {
  2117. public:
  2118. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2119. /* [retval][out] */ IUnknown **retval) = 0;
  2120. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  2121. /* [in] */ long Index,
  2122. /* [retval][out] */ PPSNAPIN SnapIn) = 0;
  2123. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2124. /* [retval][out] */ PLONG Count) = 0;
  2125. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  2126. /* [in] */ BSTR SnapinNameOrCLSID,
  2127. /* [optional][in] */ VARIANT ParentSnapin,
  2128. /* [optional][in] */ VARIANT Properties,
  2129. /* [retval][out] */ PPSNAPIN SnapIn) = 0;
  2130. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  2131. /* [in] */ PSNAPIN SnapIn) = 0;
  2132. };
  2133. #else /* C style interface */
  2134. typedef struct SnapInsVtbl
  2135. {
  2136. BEGIN_INTERFACE
  2137. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2138. SnapIns * This,
  2139. /* [in] */ REFIID riid,
  2140. /* [iid_is][out] */ void **ppvObject);
  2141. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2142. SnapIns * This);
  2143. ULONG ( STDMETHODCALLTYPE *Release )(
  2144. SnapIns * This);
  2145. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2146. SnapIns * This,
  2147. /* [out] */ UINT *pctinfo);
  2148. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2149. SnapIns * This,
  2150. /* [in] */ UINT iTInfo,
  2151. /* [in] */ LCID lcid,
  2152. /* [out] */ ITypeInfo **ppTInfo);
  2153. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2154. SnapIns * This,
  2155. /* [in] */ REFIID riid,
  2156. /* [size_is][in] */ LPOLESTR *rgszNames,
  2157. /* [in] */ UINT cNames,
  2158. /* [in] */ LCID lcid,
  2159. /* [size_is][out] */ DISPID *rgDispId);
  2160. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2161. SnapIns * This,
  2162. /* [in] */ DISPID dispIdMember,
  2163. /* [in] */ REFIID riid,
  2164. /* [in] */ LCID lcid,
  2165. /* [in] */ WORD wFlags,
  2166. /* [out][in] */ DISPPARAMS *pDispParams,
  2167. /* [out] */ VARIANT *pVarResult,
  2168. /* [out] */ EXCEPINFO *pExcepInfo,
  2169. /* [out] */ UINT *puArgErr);
  2170. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2171. SnapIns * This,
  2172. /* [retval][out] */ IUnknown **retval);
  2173. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2174. SnapIns * This,
  2175. /* [in] */ long Index,
  2176. /* [retval][out] */ PPSNAPIN SnapIn);
  2177. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2178. SnapIns * This,
  2179. /* [retval][out] */ PLONG Count);
  2180. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  2181. SnapIns * This,
  2182. /* [in] */ BSTR SnapinNameOrCLSID,
  2183. /* [optional][in] */ VARIANT ParentSnapin,
  2184. /* [optional][in] */ VARIANT Properties,
  2185. /* [retval][out] */ PPSNAPIN SnapIn);
  2186. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  2187. SnapIns * This,
  2188. /* [in] */ PSNAPIN SnapIn);
  2189. END_INTERFACE
  2190. } SnapInsVtbl;
  2191. interface SnapIns
  2192. {
  2193. CONST_VTBL struct SnapInsVtbl *lpVtbl;
  2194. };
  2195. #ifdef COBJMACROS
  2196. #define SnapIns_QueryInterface(This,riid,ppvObject) \
  2197. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2198. #define SnapIns_AddRef(This) \
  2199. (This)->lpVtbl -> AddRef(This)
  2200. #define SnapIns_Release(This) \
  2201. (This)->lpVtbl -> Release(This)
  2202. #define SnapIns_GetTypeInfoCount(This,pctinfo) \
  2203. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2204. #define SnapIns_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2205. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2206. #define SnapIns_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2207. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2208. #define SnapIns_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2209. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2210. #define SnapIns_get__NewEnum(This,retval) \
  2211. (This)->lpVtbl -> get__NewEnum(This,retval)
  2212. #define SnapIns_Item(This,Index,SnapIn) \
  2213. (This)->lpVtbl -> Item(This,Index,SnapIn)
  2214. #define SnapIns_get_Count(This,Count) \
  2215. (This)->lpVtbl -> get_Count(This,Count)
  2216. #define SnapIns_Add(This,SnapinNameOrCLSID,ParentSnapin,Properties,SnapIn) \
  2217. (This)->lpVtbl -> Add(This,SnapinNameOrCLSID,ParentSnapin,Properties,SnapIn)
  2218. #define SnapIns_Remove(This,SnapIn) \
  2219. (This)->lpVtbl -> Remove(This,SnapIn)
  2220. #endif /* COBJMACROS */
  2221. #endif /* C style interface */
  2222. /* [propget][id] */ HRESULT STDMETHODCALLTYPE SnapIns_get__NewEnum_Proxy(
  2223. SnapIns * This,
  2224. /* [retval][out] */ IUnknown **retval);
  2225. void __RPC_STUB SnapIns_get__NewEnum_Stub(
  2226. IRpcStubBuffer *This,
  2227. IRpcChannelBuffer *_pRpcChannelBuffer,
  2228. PRPC_MESSAGE _pRpcMessage,
  2229. DWORD *_pdwStubPhase);
  2230. /* [id] */ HRESULT STDMETHODCALLTYPE SnapIns_Item_Proxy(
  2231. SnapIns * This,
  2232. /* [in] */ long Index,
  2233. /* [retval][out] */ PPSNAPIN SnapIn);
  2234. void __RPC_STUB SnapIns_Item_Stub(
  2235. IRpcStubBuffer *This,
  2236. IRpcChannelBuffer *_pRpcChannelBuffer,
  2237. PRPC_MESSAGE _pRpcMessage,
  2238. DWORD *_pdwStubPhase);
  2239. /* [propget][id] */ HRESULT STDMETHODCALLTYPE SnapIns_get_Count_Proxy(
  2240. SnapIns * This,
  2241. /* [retval][out] */ PLONG Count);
  2242. void __RPC_STUB SnapIns_get_Count_Stub(
  2243. IRpcStubBuffer *This,
  2244. IRpcChannelBuffer *_pRpcChannelBuffer,
  2245. PRPC_MESSAGE _pRpcMessage,
  2246. DWORD *_pdwStubPhase);
  2247. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SnapIns_Add_Proxy(
  2248. SnapIns * This,
  2249. /* [in] */ BSTR SnapinNameOrCLSID,
  2250. /* [optional][in] */ VARIANT ParentSnapin,
  2251. /* [optional][in] */ VARIANT Properties,
  2252. /* [retval][out] */ PPSNAPIN SnapIn);
  2253. void __RPC_STUB SnapIns_Add_Stub(
  2254. IRpcStubBuffer *This,
  2255. IRpcChannelBuffer *_pRpcChannelBuffer,
  2256. PRPC_MESSAGE _pRpcMessage,
  2257. DWORD *_pdwStubPhase);
  2258. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SnapIns_Remove_Proxy(
  2259. SnapIns * This,
  2260. /* [in] */ PSNAPIN SnapIn);
  2261. void __RPC_STUB SnapIns_Remove_Stub(
  2262. IRpcStubBuffer *This,
  2263. IRpcChannelBuffer *_pRpcChannelBuffer,
  2264. PRPC_MESSAGE _pRpcMessage,
  2265. DWORD *_pdwStubPhase);
  2266. #endif /* __SnapIns_INTERFACE_DEFINED__ */
  2267. #ifndef __Extension_INTERFACE_DEFINED__
  2268. #define __Extension_INTERFACE_DEFINED__
  2269. /* interface Extension */
  2270. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  2271. EXTERN_C const IID IID_Extension;
  2272. #if defined(__cplusplus) && !defined(CINTERFACE)
  2273. MIDL_INTERFACE("AD4D6CA6-912F-409b-A26E-7FD234AEF542")
  2274. Extension : public IDispatch
  2275. {
  2276. public:
  2277. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  2278. /* [retval][out] */ PBSTR Name) = 0;
  2279. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Vendor(
  2280. /* [retval][out] */ PBSTR Vendor) = 0;
  2281. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Version(
  2282. /* [retval][out] */ PBSTR Version) = 0;
  2283. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Extensions(
  2284. /* [retval][out] */ PPEXTENSIONS Extensions) = 0;
  2285. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SnapinCLSID(
  2286. /* [retval][out] */ PBSTR SnapinCLSID) = 0;
  2287. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableAllExtensions(
  2288. /* [in] */ BOOL Enable) = 0;
  2289. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Enable(
  2290. /* [in] */ BOOL Enable) = 0;
  2291. };
  2292. #else /* C style interface */
  2293. typedef struct ExtensionVtbl
  2294. {
  2295. BEGIN_INTERFACE
  2296. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2297. Extension * This,
  2298. /* [in] */ REFIID riid,
  2299. /* [iid_is][out] */ void **ppvObject);
  2300. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2301. Extension * This);
  2302. ULONG ( STDMETHODCALLTYPE *Release )(
  2303. Extension * This);
  2304. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2305. Extension * This,
  2306. /* [out] */ UINT *pctinfo);
  2307. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2308. Extension * This,
  2309. /* [in] */ UINT iTInfo,
  2310. /* [in] */ LCID lcid,
  2311. /* [out] */ ITypeInfo **ppTInfo);
  2312. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2313. Extension * This,
  2314. /* [in] */ REFIID riid,
  2315. /* [size_is][in] */ LPOLESTR *rgszNames,
  2316. /* [in] */ UINT cNames,
  2317. /* [in] */ LCID lcid,
  2318. /* [size_is][out] */ DISPID *rgDispId);
  2319. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2320. Extension * This,
  2321. /* [in] */ DISPID dispIdMember,
  2322. /* [in] */ REFIID riid,
  2323. /* [in] */ LCID lcid,
  2324. /* [in] */ WORD wFlags,
  2325. /* [out][in] */ DISPPARAMS *pDispParams,
  2326. /* [out] */ VARIANT *pVarResult,
  2327. /* [out] */ EXCEPINFO *pExcepInfo,
  2328. /* [out] */ UINT *puArgErr);
  2329. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2330. Extension * This,
  2331. /* [retval][out] */ PBSTR Name);
  2332. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Vendor )(
  2333. Extension * This,
  2334. /* [retval][out] */ PBSTR Vendor);
  2335. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  2336. Extension * This,
  2337. /* [retval][out] */ PBSTR Version);
  2338. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Extensions )(
  2339. Extension * This,
  2340. /* [retval][out] */ PPEXTENSIONS Extensions);
  2341. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SnapinCLSID )(
  2342. Extension * This,
  2343. /* [retval][out] */ PBSTR SnapinCLSID);
  2344. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableAllExtensions )(
  2345. Extension * This,
  2346. /* [in] */ BOOL Enable);
  2347. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Enable )(
  2348. Extension * This,
  2349. /* [in] */ BOOL Enable);
  2350. END_INTERFACE
  2351. } ExtensionVtbl;
  2352. interface Extension
  2353. {
  2354. CONST_VTBL struct ExtensionVtbl *lpVtbl;
  2355. };
  2356. #ifdef COBJMACROS
  2357. #define Extension_QueryInterface(This,riid,ppvObject) \
  2358. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2359. #define Extension_AddRef(This) \
  2360. (This)->lpVtbl -> AddRef(This)
  2361. #define Extension_Release(This) \
  2362. (This)->lpVtbl -> Release(This)
  2363. #define Extension_GetTypeInfoCount(This,pctinfo) \
  2364. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2365. #define Extension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2366. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2367. #define Extension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2368. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2369. #define Extension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2370. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2371. #define Extension_get_Name(This,Name) \
  2372. (This)->lpVtbl -> get_Name(This,Name)
  2373. #define Extension_get_Vendor(This,Vendor) \
  2374. (This)->lpVtbl -> get_Vendor(This,Vendor)
  2375. #define Extension_get_Version(This,Version) \
  2376. (This)->lpVtbl -> get_Version(This,Version)
  2377. #define Extension_get_Extensions(This,Extensions) \
  2378. (This)->lpVtbl -> get_Extensions(This,Extensions)
  2379. #define Extension_get_SnapinCLSID(This,SnapinCLSID) \
  2380. (This)->lpVtbl -> get_SnapinCLSID(This,SnapinCLSID)
  2381. #define Extension_EnableAllExtensions(This,Enable) \
  2382. (This)->lpVtbl -> EnableAllExtensions(This,Enable)
  2383. #define Extension_Enable(This,Enable) \
  2384. (This)->lpVtbl -> Enable(This,Enable)
  2385. #endif /* COBJMACROS */
  2386. #endif /* C style interface */
  2387. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Extension_get_Name_Proxy(
  2388. Extension * This,
  2389. /* [retval][out] */ PBSTR Name);
  2390. void __RPC_STUB Extension_get_Name_Stub(
  2391. IRpcStubBuffer *This,
  2392. IRpcChannelBuffer *_pRpcChannelBuffer,
  2393. PRPC_MESSAGE _pRpcMessage,
  2394. DWORD *_pdwStubPhase);
  2395. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Extension_get_Vendor_Proxy(
  2396. Extension * This,
  2397. /* [retval][out] */ PBSTR Vendor);
  2398. void __RPC_STUB Extension_get_Vendor_Stub(
  2399. IRpcStubBuffer *This,
  2400. IRpcChannelBuffer *_pRpcChannelBuffer,
  2401. PRPC_MESSAGE _pRpcMessage,
  2402. DWORD *_pdwStubPhase);
  2403. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Extension_get_Version_Proxy(
  2404. Extension * This,
  2405. /* [retval][out] */ PBSTR Version);
  2406. void __RPC_STUB Extension_get_Version_Stub(
  2407. IRpcStubBuffer *This,
  2408. IRpcChannelBuffer *_pRpcChannelBuffer,
  2409. PRPC_MESSAGE _pRpcMessage,
  2410. DWORD *_pdwStubPhase);
  2411. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Extension_get_Extensions_Proxy(
  2412. Extension * This,
  2413. /* [retval][out] */ PPEXTENSIONS Extensions);
  2414. void __RPC_STUB Extension_get_Extensions_Stub(
  2415. IRpcStubBuffer *This,
  2416. IRpcChannelBuffer *_pRpcChannelBuffer,
  2417. PRPC_MESSAGE _pRpcMessage,
  2418. DWORD *_pdwStubPhase);
  2419. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Extension_get_SnapinCLSID_Proxy(
  2420. Extension * This,
  2421. /* [retval][out] */ PBSTR SnapinCLSID);
  2422. void __RPC_STUB Extension_get_SnapinCLSID_Stub(
  2423. IRpcStubBuffer *This,
  2424. IRpcChannelBuffer *_pRpcChannelBuffer,
  2425. PRPC_MESSAGE _pRpcMessage,
  2426. DWORD *_pdwStubPhase);
  2427. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Extension_EnableAllExtensions_Proxy(
  2428. Extension * This,
  2429. /* [in] */ BOOL Enable);
  2430. void __RPC_STUB Extension_EnableAllExtensions_Stub(
  2431. IRpcStubBuffer *This,
  2432. IRpcChannelBuffer *_pRpcChannelBuffer,
  2433. PRPC_MESSAGE _pRpcMessage,
  2434. DWORD *_pdwStubPhase);
  2435. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Extension_Enable_Proxy(
  2436. Extension * This,
  2437. /* [in] */ BOOL Enable);
  2438. void __RPC_STUB Extension_Enable_Stub(
  2439. IRpcStubBuffer *This,
  2440. IRpcChannelBuffer *_pRpcChannelBuffer,
  2441. PRPC_MESSAGE _pRpcMessage,
  2442. DWORD *_pdwStubPhase);
  2443. #endif /* __Extension_INTERFACE_DEFINED__ */
  2444. #ifndef __Extensions_INTERFACE_DEFINED__
  2445. #define __Extensions_INTERFACE_DEFINED__
  2446. /* interface Extensions */
  2447. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  2448. EXTERN_C const IID IID_Extensions;
  2449. #if defined(__cplusplus) && !defined(CINTERFACE)
  2450. MIDL_INTERFACE("82DBEA43-8CA4-44bc-A2CA-D18741059EC8")
  2451. Extensions : public IDispatch
  2452. {
  2453. public:
  2454. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2455. /* [retval][out] */ IUnknown **retval) = 0;
  2456. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  2457. /* [in] */ long Index,
  2458. /* [retval][out] */ PPEXTENSION Extension) = 0;
  2459. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2460. /* [retval][out] */ PLONG Count) = 0;
  2461. };
  2462. #else /* C style interface */
  2463. typedef struct ExtensionsVtbl
  2464. {
  2465. BEGIN_INTERFACE
  2466. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2467. Extensions * This,
  2468. /* [in] */ REFIID riid,
  2469. /* [iid_is][out] */ void **ppvObject);
  2470. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2471. Extensions * This);
  2472. ULONG ( STDMETHODCALLTYPE *Release )(
  2473. Extensions * This);
  2474. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2475. Extensions * This,
  2476. /* [out] */ UINT *pctinfo);
  2477. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2478. Extensions * This,
  2479. /* [in] */ UINT iTInfo,
  2480. /* [in] */ LCID lcid,
  2481. /* [out] */ ITypeInfo **ppTInfo);
  2482. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2483. Extensions * This,
  2484. /* [in] */ REFIID riid,
  2485. /* [size_is][in] */ LPOLESTR *rgszNames,
  2486. /* [in] */ UINT cNames,
  2487. /* [in] */ LCID lcid,
  2488. /* [size_is][out] */ DISPID *rgDispId);
  2489. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2490. Extensions * This,
  2491. /* [in] */ DISPID dispIdMember,
  2492. /* [in] */ REFIID riid,
  2493. /* [in] */ LCID lcid,
  2494. /* [in] */ WORD wFlags,
  2495. /* [out][in] */ DISPPARAMS *pDispParams,
  2496. /* [out] */ VARIANT *pVarResult,
  2497. /* [out] */ EXCEPINFO *pExcepInfo,
  2498. /* [out] */ UINT *puArgErr);
  2499. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2500. Extensions * This,
  2501. /* [retval][out] */ IUnknown **retval);
  2502. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2503. Extensions * This,
  2504. /* [in] */ long Index,
  2505. /* [retval][out] */ PPEXTENSION Extension);
  2506. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2507. Extensions * This,
  2508. /* [retval][out] */ PLONG Count);
  2509. END_INTERFACE
  2510. } ExtensionsVtbl;
  2511. interface Extensions
  2512. {
  2513. CONST_VTBL struct ExtensionsVtbl *lpVtbl;
  2514. };
  2515. #ifdef COBJMACROS
  2516. #define Extensions_QueryInterface(This,riid,ppvObject) \
  2517. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2518. #define Extensions_AddRef(This) \
  2519. (This)->lpVtbl -> AddRef(This)
  2520. #define Extensions_Release(This) \
  2521. (This)->lpVtbl -> Release(This)
  2522. #define Extensions_GetTypeInfoCount(This,pctinfo) \
  2523. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2524. #define Extensions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2525. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2526. #define Extensions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2527. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2528. #define Extensions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2529. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2530. #define Extensions_get__NewEnum(This,retval) \
  2531. (This)->lpVtbl -> get__NewEnum(This,retval)
  2532. #define Extensions_Item(This,Index,Extension) \
  2533. (This)->lpVtbl -> Item(This,Index,Extension)
  2534. #define Extensions_get_Count(This,Count) \
  2535. (This)->lpVtbl -> get_Count(This,Count)
  2536. #endif /* COBJMACROS */
  2537. #endif /* C style interface */
  2538. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Extensions_get__NewEnum_Proxy(
  2539. Extensions * This,
  2540. /* [retval][out] */ IUnknown **retval);
  2541. void __RPC_STUB Extensions_get__NewEnum_Stub(
  2542. IRpcStubBuffer *This,
  2543. IRpcChannelBuffer *_pRpcChannelBuffer,
  2544. PRPC_MESSAGE _pRpcMessage,
  2545. DWORD *_pdwStubPhase);
  2546. /* [id] */ HRESULT STDMETHODCALLTYPE Extensions_Item_Proxy(
  2547. Extensions * This,
  2548. /* [in] */ long Index,
  2549. /* [retval][out] */ PPEXTENSION Extension);
  2550. void __RPC_STUB Extensions_Item_Stub(
  2551. IRpcStubBuffer *This,
  2552. IRpcChannelBuffer *_pRpcChannelBuffer,
  2553. PRPC_MESSAGE _pRpcMessage,
  2554. DWORD *_pdwStubPhase);
  2555. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Extensions_get_Count_Proxy(
  2556. Extensions * This,
  2557. /* [retval][out] */ PLONG Count);
  2558. void __RPC_STUB Extensions_get_Count_Stub(
  2559. IRpcStubBuffer *This,
  2560. IRpcChannelBuffer *_pRpcChannelBuffer,
  2561. PRPC_MESSAGE _pRpcMessage,
  2562. DWORD *_pdwStubPhase);
  2563. #endif /* __Extensions_INTERFACE_DEFINED__ */
  2564. #ifndef __Columns_INTERFACE_DEFINED__
  2565. #define __Columns_INTERFACE_DEFINED__
  2566. /* interface Columns */
  2567. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  2568. EXTERN_C const IID IID_Columns;
  2569. #if defined(__cplusplus) && !defined(CINTERFACE)
  2570. MIDL_INTERFACE("383D4D97-FC44-478B-B139-6323DC48611C")
  2571. Columns : public IDispatch
  2572. {
  2573. public:
  2574. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  2575. /* [in] */ long Index,
  2576. /* [retval][out] */ PPCOLUMN Column) = 0;
  2577. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2578. /* [retval][out] */ PLONG Count) = 0;
  2579. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2580. /* [retval][out] */ IUnknown **retval) = 0;
  2581. };
  2582. #else /* C style interface */
  2583. typedef struct ColumnsVtbl
  2584. {
  2585. BEGIN_INTERFACE
  2586. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2587. Columns * This,
  2588. /* [in] */ REFIID riid,
  2589. /* [iid_is][out] */ void **ppvObject);
  2590. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2591. Columns * This);
  2592. ULONG ( STDMETHODCALLTYPE *Release )(
  2593. Columns * This);
  2594. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2595. Columns * This,
  2596. /* [out] */ UINT *pctinfo);
  2597. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2598. Columns * This,
  2599. /* [in] */ UINT iTInfo,
  2600. /* [in] */ LCID lcid,
  2601. /* [out] */ ITypeInfo **ppTInfo);
  2602. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2603. Columns * This,
  2604. /* [in] */ REFIID riid,
  2605. /* [size_is][in] */ LPOLESTR *rgszNames,
  2606. /* [in] */ UINT cNames,
  2607. /* [in] */ LCID lcid,
  2608. /* [size_is][out] */ DISPID *rgDispId);
  2609. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2610. Columns * This,
  2611. /* [in] */ DISPID dispIdMember,
  2612. /* [in] */ REFIID riid,
  2613. /* [in] */ LCID lcid,
  2614. /* [in] */ WORD wFlags,
  2615. /* [out][in] */ DISPPARAMS *pDispParams,
  2616. /* [out] */ VARIANT *pVarResult,
  2617. /* [out] */ EXCEPINFO *pExcepInfo,
  2618. /* [out] */ UINT *puArgErr);
  2619. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2620. Columns * This,
  2621. /* [in] */ long Index,
  2622. /* [retval][out] */ PPCOLUMN Column);
  2623. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2624. Columns * This,
  2625. /* [retval][out] */ PLONG Count);
  2626. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2627. Columns * This,
  2628. /* [retval][out] */ IUnknown **retval);
  2629. END_INTERFACE
  2630. } ColumnsVtbl;
  2631. interface Columns
  2632. {
  2633. CONST_VTBL struct ColumnsVtbl *lpVtbl;
  2634. };
  2635. #ifdef COBJMACROS
  2636. #define Columns_QueryInterface(This,riid,ppvObject) \
  2637. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2638. #define Columns_AddRef(This) \
  2639. (This)->lpVtbl -> AddRef(This)
  2640. #define Columns_Release(This) \
  2641. (This)->lpVtbl -> Release(This)
  2642. #define Columns_GetTypeInfoCount(This,pctinfo) \
  2643. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2644. #define Columns_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2645. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2646. #define Columns_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2647. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2648. #define Columns_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2649. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2650. #define Columns_Item(This,Index,Column) \
  2651. (This)->lpVtbl -> Item(This,Index,Column)
  2652. #define Columns_get_Count(This,Count) \
  2653. (This)->lpVtbl -> get_Count(This,Count)
  2654. #define Columns_get__NewEnum(This,retval) \
  2655. (This)->lpVtbl -> get__NewEnum(This,retval)
  2656. #endif /* COBJMACROS */
  2657. #endif /* C style interface */
  2658. /* [id] */ HRESULT STDMETHODCALLTYPE Columns_Item_Proxy(
  2659. Columns * This,
  2660. /* [in] */ long Index,
  2661. /* [retval][out] */ PPCOLUMN Column);
  2662. void __RPC_STUB Columns_Item_Stub(
  2663. IRpcStubBuffer *This,
  2664. IRpcChannelBuffer *_pRpcChannelBuffer,
  2665. PRPC_MESSAGE _pRpcMessage,
  2666. DWORD *_pdwStubPhase);
  2667. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Columns_get_Count_Proxy(
  2668. Columns * This,
  2669. /* [retval][out] */ PLONG Count);
  2670. void __RPC_STUB Columns_get_Count_Stub(
  2671. IRpcStubBuffer *This,
  2672. IRpcChannelBuffer *_pRpcChannelBuffer,
  2673. PRPC_MESSAGE _pRpcMessage,
  2674. DWORD *_pdwStubPhase);
  2675. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Columns_get__NewEnum_Proxy(
  2676. Columns * This,
  2677. /* [retval][out] */ IUnknown **retval);
  2678. void __RPC_STUB Columns_get__NewEnum_Stub(
  2679. IRpcStubBuffer *This,
  2680. IRpcChannelBuffer *_pRpcChannelBuffer,
  2681. PRPC_MESSAGE _pRpcMessage,
  2682. DWORD *_pdwStubPhase);
  2683. #endif /* __Columns_INTERFACE_DEFINED__ */
  2684. #ifndef __Column_INTERFACE_DEFINED__
  2685. #define __Column_INTERFACE_DEFINED__
  2686. /* interface Column */
  2687. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  2688. typedef
  2689. enum ColumnSortOrder
  2690. { SortOrder_Ascending = 0,
  2691. SortOrder_Descending = SortOrder_Ascending + 1
  2692. } _ColumnSortOrder;
  2693. typedef enum ColumnSortOrder COLUMNSORTORDER;
  2694. EXTERN_C const IID IID_Column;
  2695. #if defined(__cplusplus) && !defined(CINTERFACE)
  2696. MIDL_INTERFACE("FD1C5F63-2B16-4D06-9AB3-F45350B940AB")
  2697. Column : public IDispatch
  2698. {
  2699. public:
  2700. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Name(
  2701. /* [retval][out] */ BSTR *Name) = 0;
  2702. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Width(
  2703. /* [retval][out] */ PLONG Width) = 0;
  2704. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Width(
  2705. /* [in] */ long Width) = 0;
  2706. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DisplayPosition(
  2707. /* [retval][out] */ PLONG DisplayPosition) = 0;
  2708. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_DisplayPosition(
  2709. /* [in] */ long Index) = 0;
  2710. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Hidden(
  2711. /* [retval][out] */ PBOOL Hidden) = 0;
  2712. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Hidden(
  2713. /* [in] */ BOOL Hidden) = 0;
  2714. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAsSortColumn(
  2715. /* [in] */ COLUMNSORTORDER SortOrder) = 0;
  2716. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsSortColumn(
  2717. /* [retval][out] */ PBOOL IsSortColumn) = 0;
  2718. };
  2719. #else /* C style interface */
  2720. typedef struct ColumnVtbl
  2721. {
  2722. BEGIN_INTERFACE
  2723. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2724. Column * This,
  2725. /* [in] */ REFIID riid,
  2726. /* [iid_is][out] */ void **ppvObject);
  2727. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2728. Column * This);
  2729. ULONG ( STDMETHODCALLTYPE *Release )(
  2730. Column * This);
  2731. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2732. Column * This,
  2733. /* [out] */ UINT *pctinfo);
  2734. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2735. Column * This,
  2736. /* [in] */ UINT iTInfo,
  2737. /* [in] */ LCID lcid,
  2738. /* [out] */ ITypeInfo **ppTInfo);
  2739. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2740. Column * This,
  2741. /* [in] */ REFIID riid,
  2742. /* [size_is][in] */ LPOLESTR *rgszNames,
  2743. /* [in] */ UINT cNames,
  2744. /* [in] */ LCID lcid,
  2745. /* [size_is][out] */ DISPID *rgDispId);
  2746. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2747. Column * This,
  2748. /* [in] */ DISPID dispIdMember,
  2749. /* [in] */ REFIID riid,
  2750. /* [in] */ LCID lcid,
  2751. /* [in] */ WORD wFlags,
  2752. /* [out][in] */ DISPPARAMS *pDispParams,
  2753. /* [out] */ VARIANT *pVarResult,
  2754. /* [out] */ EXCEPINFO *pExcepInfo,
  2755. /* [out] */ UINT *puArgErr);
  2756. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Name )(
  2757. Column * This,
  2758. /* [retval][out] */ BSTR *Name);
  2759. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Width )(
  2760. Column * This,
  2761. /* [retval][out] */ PLONG Width);
  2762. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Width )(
  2763. Column * This,
  2764. /* [in] */ long Width);
  2765. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayPosition )(
  2766. Column * This,
  2767. /* [retval][out] */ PLONG DisplayPosition);
  2768. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayPosition )(
  2769. Column * This,
  2770. /* [in] */ long Index);
  2771. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Hidden )(
  2772. Column * This,
  2773. /* [retval][out] */ PBOOL Hidden);
  2774. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Hidden )(
  2775. Column * This,
  2776. /* [in] */ BOOL Hidden);
  2777. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAsSortColumn )(
  2778. Column * This,
  2779. /* [in] */ COLUMNSORTORDER SortOrder);
  2780. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsSortColumn )(
  2781. Column * This,
  2782. /* [retval][out] */ PBOOL IsSortColumn);
  2783. END_INTERFACE
  2784. } ColumnVtbl;
  2785. interface Column
  2786. {
  2787. CONST_VTBL struct ColumnVtbl *lpVtbl;
  2788. };
  2789. #ifdef COBJMACROS
  2790. #define Column_QueryInterface(This,riid,ppvObject) \
  2791. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2792. #define Column_AddRef(This) \
  2793. (This)->lpVtbl -> AddRef(This)
  2794. #define Column_Release(This) \
  2795. (This)->lpVtbl -> Release(This)
  2796. #define Column_GetTypeInfoCount(This,pctinfo) \
  2797. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2798. #define Column_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2799. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2800. #define Column_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2801. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2802. #define Column_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2803. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2804. #define Column_Name(This,Name) \
  2805. (This)->lpVtbl -> Name(This,Name)
  2806. #define Column_get_Width(This,Width) \
  2807. (This)->lpVtbl -> get_Width(This,Width)
  2808. #define Column_put_Width(This,Width) \
  2809. (This)->lpVtbl -> put_Width(This,Width)
  2810. #define Column_get_DisplayPosition(This,DisplayPosition) \
  2811. (This)->lpVtbl -> get_DisplayPosition(This,DisplayPosition)
  2812. #define Column_put_DisplayPosition(This,Index) \
  2813. (This)->lpVtbl -> put_DisplayPosition(This,Index)
  2814. #define Column_get_Hidden(This,Hidden) \
  2815. (This)->lpVtbl -> get_Hidden(This,Hidden)
  2816. #define Column_put_Hidden(This,Hidden) \
  2817. (This)->lpVtbl -> put_Hidden(This,Hidden)
  2818. #define Column_SetAsSortColumn(This,SortOrder) \
  2819. (This)->lpVtbl -> SetAsSortColumn(This,SortOrder)
  2820. #define Column_IsSortColumn(This,IsSortColumn) \
  2821. (This)->lpVtbl -> IsSortColumn(This,IsSortColumn)
  2822. #endif /* COBJMACROS */
  2823. #endif /* C style interface */
  2824. /* [id] */ HRESULT STDMETHODCALLTYPE Column_Name_Proxy(
  2825. Column * This,
  2826. /* [retval][out] */ BSTR *Name);
  2827. void __RPC_STUB Column_Name_Stub(
  2828. IRpcStubBuffer *This,
  2829. IRpcChannelBuffer *_pRpcChannelBuffer,
  2830. PRPC_MESSAGE _pRpcMessage,
  2831. DWORD *_pdwStubPhase);
  2832. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Column_get_Width_Proxy(
  2833. Column * This,
  2834. /* [retval][out] */ PLONG Width);
  2835. void __RPC_STUB Column_get_Width_Stub(
  2836. IRpcStubBuffer *This,
  2837. IRpcChannelBuffer *_pRpcChannelBuffer,
  2838. PRPC_MESSAGE _pRpcMessage,
  2839. DWORD *_pdwStubPhase);
  2840. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Column_put_Width_Proxy(
  2841. Column * This,
  2842. /* [in] */ long Width);
  2843. void __RPC_STUB Column_put_Width_Stub(
  2844. IRpcStubBuffer *This,
  2845. IRpcChannelBuffer *_pRpcChannelBuffer,
  2846. PRPC_MESSAGE _pRpcMessage,
  2847. DWORD *_pdwStubPhase);
  2848. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Column_get_DisplayPosition_Proxy(
  2849. Column * This,
  2850. /* [retval][out] */ PLONG DisplayPosition);
  2851. void __RPC_STUB Column_get_DisplayPosition_Stub(
  2852. IRpcStubBuffer *This,
  2853. IRpcChannelBuffer *_pRpcChannelBuffer,
  2854. PRPC_MESSAGE _pRpcMessage,
  2855. DWORD *_pdwStubPhase);
  2856. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Column_put_DisplayPosition_Proxy(
  2857. Column * This,
  2858. /* [in] */ long Index);
  2859. void __RPC_STUB Column_put_DisplayPosition_Stub(
  2860. IRpcStubBuffer *This,
  2861. IRpcChannelBuffer *_pRpcChannelBuffer,
  2862. PRPC_MESSAGE _pRpcMessage,
  2863. DWORD *_pdwStubPhase);
  2864. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Column_get_Hidden_Proxy(
  2865. Column * This,
  2866. /* [retval][out] */ PBOOL Hidden);
  2867. void __RPC_STUB Column_get_Hidden_Stub(
  2868. IRpcStubBuffer *This,
  2869. IRpcChannelBuffer *_pRpcChannelBuffer,
  2870. PRPC_MESSAGE _pRpcMessage,
  2871. DWORD *_pdwStubPhase);
  2872. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE Column_put_Hidden_Proxy(
  2873. Column * This,
  2874. /* [in] */ BOOL Hidden);
  2875. void __RPC_STUB Column_put_Hidden_Stub(
  2876. IRpcStubBuffer *This,
  2877. IRpcChannelBuffer *_pRpcChannelBuffer,
  2878. PRPC_MESSAGE _pRpcMessage,
  2879. DWORD *_pdwStubPhase);
  2880. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Column_SetAsSortColumn_Proxy(
  2881. Column * This,
  2882. /* [in] */ COLUMNSORTORDER SortOrder);
  2883. void __RPC_STUB Column_SetAsSortColumn_Stub(
  2884. IRpcStubBuffer *This,
  2885. IRpcChannelBuffer *_pRpcChannelBuffer,
  2886. PRPC_MESSAGE _pRpcMessage,
  2887. DWORD *_pdwStubPhase);
  2888. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Column_IsSortColumn_Proxy(
  2889. Column * This,
  2890. /* [retval][out] */ PBOOL IsSortColumn);
  2891. void __RPC_STUB Column_IsSortColumn_Stub(
  2892. IRpcStubBuffer *This,
  2893. IRpcChannelBuffer *_pRpcChannelBuffer,
  2894. PRPC_MESSAGE _pRpcMessage,
  2895. DWORD *_pdwStubPhase);
  2896. #endif /* __Column_INTERFACE_DEFINED__ */
  2897. #ifndef __Views_INTERFACE_DEFINED__
  2898. #define __Views_INTERFACE_DEFINED__
  2899. /* interface Views */
  2900. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  2901. EXTERN_C const IID IID_Views;
  2902. #if defined(__cplusplus) && !defined(CINTERFACE)
  2903. MIDL_INTERFACE("D6B8C29D-A1FF-4D72-AAB0-E381E9B9338D")
  2904. Views : public IDispatch
  2905. {
  2906. public:
  2907. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  2908. /* [in] */ long Index,
  2909. /* [retval][out] */ PPVIEW View) = 0;
  2910. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2911. /* [retval][out] */ PLONG Count) = 0;
  2912. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  2913. /* [in] */ PNODE Node,
  2914. /* [defaultvalue][in] */ VIEWOPTIONS viewOptions = ViewOption_Default) = 0;
  2915. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2916. /* [retval][out] */ IUnknown **retval) = 0;
  2917. };
  2918. #else /* C style interface */
  2919. typedef struct ViewsVtbl
  2920. {
  2921. BEGIN_INTERFACE
  2922. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2923. Views * This,
  2924. /* [in] */ REFIID riid,
  2925. /* [iid_is][out] */ void **ppvObject);
  2926. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2927. Views * This);
  2928. ULONG ( STDMETHODCALLTYPE *Release )(
  2929. Views * This);
  2930. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2931. Views * This,
  2932. /* [out] */ UINT *pctinfo);
  2933. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2934. Views * This,
  2935. /* [in] */ UINT iTInfo,
  2936. /* [in] */ LCID lcid,
  2937. /* [out] */ ITypeInfo **ppTInfo);
  2938. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2939. Views * This,
  2940. /* [in] */ REFIID riid,
  2941. /* [size_is][in] */ LPOLESTR *rgszNames,
  2942. /* [in] */ UINT cNames,
  2943. /* [in] */ LCID lcid,
  2944. /* [size_is][out] */ DISPID *rgDispId);
  2945. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2946. Views * This,
  2947. /* [in] */ DISPID dispIdMember,
  2948. /* [in] */ REFIID riid,
  2949. /* [in] */ LCID lcid,
  2950. /* [in] */ WORD wFlags,
  2951. /* [out][in] */ DISPPARAMS *pDispParams,
  2952. /* [out] */ VARIANT *pVarResult,
  2953. /* [out] */ EXCEPINFO *pExcepInfo,
  2954. /* [out] */ UINT *puArgErr);
  2955. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  2956. Views * This,
  2957. /* [in] */ long Index,
  2958. /* [retval][out] */ PPVIEW View);
  2959. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2960. Views * This,
  2961. /* [retval][out] */ PLONG Count);
  2962. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  2963. Views * This,
  2964. /* [in] */ PNODE Node,
  2965. /* [defaultvalue][in] */ VIEWOPTIONS viewOptions);
  2966. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2967. Views * This,
  2968. /* [retval][out] */ IUnknown **retval);
  2969. END_INTERFACE
  2970. } ViewsVtbl;
  2971. interface Views
  2972. {
  2973. CONST_VTBL struct ViewsVtbl *lpVtbl;
  2974. };
  2975. #ifdef COBJMACROS
  2976. #define Views_QueryInterface(This,riid,ppvObject) \
  2977. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2978. #define Views_AddRef(This) \
  2979. (This)->lpVtbl -> AddRef(This)
  2980. #define Views_Release(This) \
  2981. (This)->lpVtbl -> Release(This)
  2982. #define Views_GetTypeInfoCount(This,pctinfo) \
  2983. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2984. #define Views_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2985. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2986. #define Views_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2987. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2988. #define Views_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2989. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2990. #define Views_Item(This,Index,View) \
  2991. (This)->lpVtbl -> Item(This,Index,View)
  2992. #define Views_get_Count(This,Count) \
  2993. (This)->lpVtbl -> get_Count(This,Count)
  2994. #define Views_Add(This,Node,viewOptions) \
  2995. (This)->lpVtbl -> Add(This,Node,viewOptions)
  2996. #define Views_get__NewEnum(This,retval) \
  2997. (This)->lpVtbl -> get__NewEnum(This,retval)
  2998. #endif /* COBJMACROS */
  2999. #endif /* C style interface */
  3000. /* [id] */ HRESULT STDMETHODCALLTYPE Views_Item_Proxy(
  3001. Views * This,
  3002. /* [in] */ long Index,
  3003. /* [retval][out] */ PPVIEW View);
  3004. void __RPC_STUB Views_Item_Stub(
  3005. IRpcStubBuffer *This,
  3006. IRpcChannelBuffer *_pRpcChannelBuffer,
  3007. PRPC_MESSAGE _pRpcMessage,
  3008. DWORD *_pdwStubPhase);
  3009. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Views_get_Count_Proxy(
  3010. Views * This,
  3011. /* [retval][out] */ PLONG Count);
  3012. void __RPC_STUB Views_get_Count_Stub(
  3013. IRpcStubBuffer *This,
  3014. IRpcChannelBuffer *_pRpcChannelBuffer,
  3015. PRPC_MESSAGE _pRpcMessage,
  3016. DWORD *_pdwStubPhase);
  3017. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Views_Add_Proxy(
  3018. Views * This,
  3019. /* [in] */ PNODE Node,
  3020. /* [defaultvalue][in] */ VIEWOPTIONS viewOptions);
  3021. void __RPC_STUB Views_Add_Stub(
  3022. IRpcStubBuffer *This,
  3023. IRpcChannelBuffer *_pRpcChannelBuffer,
  3024. PRPC_MESSAGE _pRpcMessage,
  3025. DWORD *_pdwStubPhase);
  3026. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Views_get__NewEnum_Proxy(
  3027. Views * This,
  3028. /* [retval][out] */ IUnknown **retval);
  3029. void __RPC_STUB Views_get__NewEnum_Stub(
  3030. IRpcStubBuffer *This,
  3031. IRpcChannelBuffer *_pRpcChannelBuffer,
  3032. PRPC_MESSAGE _pRpcMessage,
  3033. DWORD *_pdwStubPhase);
  3034. #endif /* __Views_INTERFACE_DEFINED__ */
  3035. #ifndef __View_INTERFACE_DEFINED__
  3036. #define __View_INTERFACE_DEFINED__
  3037. /* interface View */
  3038. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  3039. EXTERN_C const IID IID_View;
  3040. #if defined(__cplusplus) && !defined(CINTERFACE)
  3041. MIDL_INTERFACE("6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38")
  3042. View : public IDispatch
  3043. {
  3044. public:
  3045. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveScopeNode(
  3046. /* [retval][out] */ PPNODE Node) = 0;
  3047. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveScopeNode(
  3048. /* [in] */ PNODE Node) = 0;
  3049. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Selection(
  3050. /* [retval][out] */ PPNODES Nodes) = 0;
  3051. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ListItems(
  3052. /* [retval][out] */ PPNODES Nodes) = 0;
  3053. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SnapinScopeObject(
  3054. /* [optional][in] */ VARIANT ScopeNode,
  3055. /* [retval][out] */ PPDISPATCH ScopeNodeObject) = 0;
  3056. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SnapinSelectionObject(
  3057. /* [retval][out] */ PPDISPATCH SelectionObject) = 0;
  3058. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Is(
  3059. /* [in] */ PVIEW View,
  3060. /* [retval][out] */ VARIANT_BOOL *TheSame) = 0;
  3061. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Document(
  3062. /* [retval][out] */ PPDOCUMENT Document) = 0;
  3063. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectAll( void) = 0;
  3064. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Select(
  3065. /* [in] */ PNODE Node) = 0;
  3066. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Deselect(
  3067. /* [in] */ PNODE Node) = 0;
  3068. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsSelected(
  3069. /* [in] */ PNODE Node,
  3070. /* [retval][out] */ PBOOL IsSelected) = 0;
  3071. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisplayScopeNodePropertySheet(
  3072. /* [optional][in] */ VARIANT ScopeNode) = 0;
  3073. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisplaySelectionPropertySheet( void) = 0;
  3074. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyScopeNode(
  3075. /* [optional][in] */ VARIANT ScopeNode) = 0;
  3076. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopySelection( void) = 0;
  3077. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteScopeNode(
  3078. /* [optional][in] */ VARIANT ScopeNode) = 0;
  3079. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteSelection( void) = 0;
  3080. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenameScopeNode(
  3081. /* [in] */ BSTR NewName,
  3082. /* [optional][in] */ VARIANT ScopeNode) = 0;
  3083. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenameSelectedItem(
  3084. /* [in] */ BSTR NewName) = 0;
  3085. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ScopeNodeContextMenu(
  3086. /* [optional][in] */ VARIANT ScopeNode,
  3087. /* [retval][out] */ PPCONTEXTMENU ContextMenu) = 0;
  3088. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SelectionContextMenu(
  3089. /* [retval][out] */ PPCONTEXTMENU ContextMenu) = 0;
  3090. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshScopeNode(
  3091. /* [optional][in] */ VARIANT ScopeNode) = 0;
  3092. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshSelection( void) = 0;
  3093. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecuteSelectionMenuItem(
  3094. /* [in] */ BSTR MenuItemPath) = 0;
  3095. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecuteScopeNodeMenuItem(
  3096. /* [in] */ BSTR MenuItemPath,
  3097. /* [optional][in] */ VARIANT ScopeNode) = 0;
  3098. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecuteShellCommand(
  3099. /* [in] */ BSTR Command,
  3100. /* [in] */ BSTR Directory,
  3101. /* [in] */ BSTR Parameters,
  3102. /* [in] */ BSTR WindowState) = 0;
  3103. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Frame(
  3104. /* [retval][out] */ PPFRAME Frame) = 0;
  3105. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  3106. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ScopeTreeVisible(
  3107. /* [retval][out] */ PBOOL Visible) = 0;
  3108. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ScopeTreeVisible(
  3109. /* [in] */ BOOL Visible) = 0;
  3110. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Back( void) = 0;
  3111. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Forward( void) = 0;
  3112. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_StatusBarText(
  3113. /* [in] */ BSTR StatusBarText) = 0;
  3114. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Memento(
  3115. /* [retval][out] */ PBSTR Memento) = 0;
  3116. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewMemento(
  3117. /* [in] */ BSTR Memento) = 0;
  3118. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Columns(
  3119. /* [retval][out] */ PPCOLUMNS Columns) = 0;
  3120. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CellContents(
  3121. /* [in] */ PNODE Node,
  3122. /* [in] */ long Column,
  3123. /* [retval][out] */ PBSTR CellContents) = 0;
  3124. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportList(
  3125. /* [in] */ BSTR File,
  3126. /* [defaultvalue][in] */ EXPORTLISTOPTIONS exportoptions = ExportListOptions_Default) = 0;
  3127. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ListViewMode(
  3128. /* [retval][out] */ PLISTVIEWMODE Mode) = 0;
  3129. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ListViewMode(
  3130. /* [in] */ LISTVIEWMODE mode) = 0;
  3131. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ControlObject(
  3132. /* [retval][out] */ PPDISPATCH Control) = 0;
  3133. };
  3134. #else /* C style interface */
  3135. typedef struct ViewVtbl
  3136. {
  3137. BEGIN_INTERFACE
  3138. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3139. View * This,
  3140. /* [in] */ REFIID riid,
  3141. /* [iid_is][out] */ void **ppvObject);
  3142. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3143. View * This);
  3144. ULONG ( STDMETHODCALLTYPE *Release )(
  3145. View * This);
  3146. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3147. View * This,
  3148. /* [out] */ UINT *pctinfo);
  3149. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3150. View * This,
  3151. /* [in] */ UINT iTInfo,
  3152. /* [in] */ LCID lcid,
  3153. /* [out] */ ITypeInfo **ppTInfo);
  3154. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3155. View * This,
  3156. /* [in] */ REFIID riid,
  3157. /* [size_is][in] */ LPOLESTR *rgszNames,
  3158. /* [in] */ UINT cNames,
  3159. /* [in] */ LCID lcid,
  3160. /* [size_is][out] */ DISPID *rgDispId);
  3161. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3162. View * This,
  3163. /* [in] */ DISPID dispIdMember,
  3164. /* [in] */ REFIID riid,
  3165. /* [in] */ LCID lcid,
  3166. /* [in] */ WORD wFlags,
  3167. /* [out][in] */ DISPPARAMS *pDispParams,
  3168. /* [out] */ VARIANT *pVarResult,
  3169. /* [out] */ EXCEPINFO *pExcepInfo,
  3170. /* [out] */ UINT *puArgErr);
  3171. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveScopeNode )(
  3172. View * This,
  3173. /* [retval][out] */ PPNODE Node);
  3174. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveScopeNode )(
  3175. View * This,
  3176. /* [in] */ PNODE Node);
  3177. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Selection )(
  3178. View * This,
  3179. /* [retval][out] */ PPNODES Nodes);
  3180. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ListItems )(
  3181. View * This,
  3182. /* [retval][out] */ PPNODES Nodes);
  3183. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SnapinScopeObject )(
  3184. View * This,
  3185. /* [optional][in] */ VARIANT ScopeNode,
  3186. /* [retval][out] */ PPDISPATCH ScopeNodeObject);
  3187. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SnapinSelectionObject )(
  3188. View * This,
  3189. /* [retval][out] */ PPDISPATCH SelectionObject);
  3190. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Is )(
  3191. View * This,
  3192. /* [in] */ PVIEW View,
  3193. /* [retval][out] */ VARIANT_BOOL *TheSame);
  3194. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )(
  3195. View * This,
  3196. /* [retval][out] */ PPDOCUMENT Document);
  3197. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectAll )(
  3198. View * This);
  3199. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Select )(
  3200. View * This,
  3201. /* [in] */ PNODE Node);
  3202. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Deselect )(
  3203. View * This,
  3204. /* [in] */ PNODE Node);
  3205. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsSelected )(
  3206. View * This,
  3207. /* [in] */ PNODE Node,
  3208. /* [retval][out] */ PBOOL IsSelected);
  3209. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisplayScopeNodePropertySheet )(
  3210. View * This,
  3211. /* [optional][in] */ VARIANT ScopeNode);
  3212. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisplaySelectionPropertySheet )(
  3213. View * This);
  3214. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyScopeNode )(
  3215. View * This,
  3216. /* [optional][in] */ VARIANT ScopeNode);
  3217. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopySelection )(
  3218. View * This);
  3219. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteScopeNode )(
  3220. View * This,
  3221. /* [optional][in] */ VARIANT ScopeNode);
  3222. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteSelection )(
  3223. View * This);
  3224. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RenameScopeNode )(
  3225. View * This,
  3226. /* [in] */ BSTR NewName,
  3227. /* [optional][in] */ VARIANT ScopeNode);
  3228. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RenameSelectedItem )(
  3229. View * This,
  3230. /* [in] */ BSTR NewName);
  3231. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ScopeNodeContextMenu )(
  3232. View * This,
  3233. /* [optional][in] */ VARIANT ScopeNode,
  3234. /* [retval][out] */ PPCONTEXTMENU ContextMenu);
  3235. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SelectionContextMenu )(
  3236. View * This,
  3237. /* [retval][out] */ PPCONTEXTMENU ContextMenu);
  3238. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshScopeNode )(
  3239. View * This,
  3240. /* [optional][in] */ VARIANT ScopeNode);
  3241. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshSelection )(
  3242. View * This);
  3243. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecuteSelectionMenuItem )(
  3244. View * This,
  3245. /* [in] */ BSTR MenuItemPath);
  3246. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecuteScopeNodeMenuItem )(
  3247. View * This,
  3248. /* [in] */ BSTR MenuItemPath,
  3249. /* [optional][in] */ VARIANT ScopeNode);
  3250. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecuteShellCommand )(
  3251. View * This,
  3252. /* [in] */ BSTR Command,
  3253. /* [in] */ BSTR Directory,
  3254. /* [in] */ BSTR Parameters,
  3255. /* [in] */ BSTR WindowState);
  3256. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Frame )(
  3257. View * This,
  3258. /* [retval][out] */ PPFRAME Frame);
  3259. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  3260. View * This);
  3261. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ScopeTreeVisible )(
  3262. View * This,
  3263. /* [retval][out] */ PBOOL Visible);
  3264. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ScopeTreeVisible )(
  3265. View * This,
  3266. /* [in] */ BOOL Visible);
  3267. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Back )(
  3268. View * This);
  3269. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Forward )(
  3270. View * This);
  3271. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusBarText )(
  3272. View * This,
  3273. /* [in] */ BSTR StatusBarText);
  3274. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Memento )(
  3275. View * This,
  3276. /* [retval][out] */ PBSTR Memento);
  3277. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ViewMemento )(
  3278. View * This,
  3279. /* [in] */ BSTR Memento);
  3280. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Columns )(
  3281. View * This,
  3282. /* [retval][out] */ PPCOLUMNS Columns);
  3283. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CellContents )(
  3284. View * This,
  3285. /* [in] */ PNODE Node,
  3286. /* [in] */ long Column,
  3287. /* [retval][out] */ PBSTR CellContents);
  3288. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportList )(
  3289. View * This,
  3290. /* [in] */ BSTR File,
  3291. /* [defaultvalue][in] */ EXPORTLISTOPTIONS exportoptions);
  3292. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ListViewMode )(
  3293. View * This,
  3294. /* [retval][out] */ PLISTVIEWMODE Mode);
  3295. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ListViewMode )(
  3296. View * This,
  3297. /* [in] */ LISTVIEWMODE mode);
  3298. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ControlObject )(
  3299. View * This,
  3300. /* [retval][out] */ PPDISPATCH Control);
  3301. END_INTERFACE
  3302. } ViewVtbl;
  3303. interface View
  3304. {
  3305. CONST_VTBL struct ViewVtbl *lpVtbl;
  3306. };
  3307. #ifdef COBJMACROS
  3308. #define View_QueryInterface(This,riid,ppvObject) \
  3309. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3310. #define View_AddRef(This) \
  3311. (This)->lpVtbl -> AddRef(This)
  3312. #define View_Release(This) \
  3313. (This)->lpVtbl -> Release(This)
  3314. #define View_GetTypeInfoCount(This,pctinfo) \
  3315. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3316. #define View_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3317. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3318. #define View_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3319. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3320. #define View_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3321. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3322. #define View_get_ActiveScopeNode(This,Node) \
  3323. (This)->lpVtbl -> get_ActiveScopeNode(This,Node)
  3324. #define View_put_ActiveScopeNode(This,Node) \
  3325. (This)->lpVtbl -> put_ActiveScopeNode(This,Node)
  3326. #define View_get_Selection(This,Nodes) \
  3327. (This)->lpVtbl -> get_Selection(This,Nodes)
  3328. #define View_get_ListItems(This,Nodes) \
  3329. (This)->lpVtbl -> get_ListItems(This,Nodes)
  3330. #define View_SnapinScopeObject(This,ScopeNode,ScopeNodeObject) \
  3331. (This)->lpVtbl -> SnapinScopeObject(This,ScopeNode,ScopeNodeObject)
  3332. #define View_SnapinSelectionObject(This,SelectionObject) \
  3333. (This)->lpVtbl -> SnapinSelectionObject(This,SelectionObject)
  3334. #define View_Is(This,View,TheSame) \
  3335. (This)->lpVtbl -> Is(This,View,TheSame)
  3336. #define View_get_Document(This,Document) \
  3337. (This)->lpVtbl -> get_Document(This,Document)
  3338. #define View_SelectAll(This) \
  3339. (This)->lpVtbl -> SelectAll(This)
  3340. #define View_Select(This,Node) \
  3341. (This)->lpVtbl -> Select(This,Node)
  3342. #define View_Deselect(This,Node) \
  3343. (This)->lpVtbl -> Deselect(This,Node)
  3344. #define View_IsSelected(This,Node,IsSelected) \
  3345. (This)->lpVtbl -> IsSelected(This,Node,IsSelected)
  3346. #define View_DisplayScopeNodePropertySheet(This,ScopeNode) \
  3347. (This)->lpVtbl -> DisplayScopeNodePropertySheet(This,ScopeNode)
  3348. #define View_DisplaySelectionPropertySheet(This) \
  3349. (This)->lpVtbl -> DisplaySelectionPropertySheet(This)
  3350. #define View_CopyScopeNode(This,ScopeNode) \
  3351. (This)->lpVtbl -> CopyScopeNode(This,ScopeNode)
  3352. #define View_CopySelection(This) \
  3353. (This)->lpVtbl -> CopySelection(This)
  3354. #define View_DeleteScopeNode(This,ScopeNode) \
  3355. (This)->lpVtbl -> DeleteScopeNode(This,ScopeNode)
  3356. #define View_DeleteSelection(This) \
  3357. (This)->lpVtbl -> DeleteSelection(This)
  3358. #define View_RenameScopeNode(This,NewName,ScopeNode) \
  3359. (This)->lpVtbl -> RenameScopeNode(This,NewName,ScopeNode)
  3360. #define View_RenameSelectedItem(This,NewName) \
  3361. (This)->lpVtbl -> RenameSelectedItem(This,NewName)
  3362. #define View_get_ScopeNodeContextMenu(This,ScopeNode,ContextMenu) \
  3363. (This)->lpVtbl -> get_ScopeNodeContextMenu(This,ScopeNode,ContextMenu)
  3364. #define View_get_SelectionContextMenu(This,ContextMenu) \
  3365. (This)->lpVtbl -> get_SelectionContextMenu(This,ContextMenu)
  3366. #define View_RefreshScopeNode(This,ScopeNode) \
  3367. (This)->lpVtbl -> RefreshScopeNode(This,ScopeNode)
  3368. #define View_RefreshSelection(This) \
  3369. (This)->lpVtbl -> RefreshSelection(This)
  3370. #define View_ExecuteSelectionMenuItem(This,MenuItemPath) \
  3371. (This)->lpVtbl -> ExecuteSelectionMenuItem(This,MenuItemPath)
  3372. #define View_ExecuteScopeNodeMenuItem(This,MenuItemPath,ScopeNode) \
  3373. (This)->lpVtbl -> ExecuteScopeNodeMenuItem(This,MenuItemPath,ScopeNode)
  3374. #define View_ExecuteShellCommand(This,Command,Directory,Parameters,WindowState) \
  3375. (This)->lpVtbl -> ExecuteShellCommand(This,Command,Directory,Parameters,WindowState)
  3376. #define View_get_Frame(This,Frame) \
  3377. (This)->lpVtbl -> get_Frame(This,Frame)
  3378. #define View_Close(This) \
  3379. (This)->lpVtbl -> Close(This)
  3380. #define View_get_ScopeTreeVisible(This,Visible) \
  3381. (This)->lpVtbl -> get_ScopeTreeVisible(This,Visible)
  3382. #define View_put_ScopeTreeVisible(This,Visible) \
  3383. (This)->lpVtbl -> put_ScopeTreeVisible(This,Visible)
  3384. #define View_Back(This) \
  3385. (This)->lpVtbl -> Back(This)
  3386. #define View_Forward(This) \
  3387. (This)->lpVtbl -> Forward(This)
  3388. #define View_put_StatusBarText(This,StatusBarText) \
  3389. (This)->lpVtbl -> put_StatusBarText(This,StatusBarText)
  3390. #define View_get_Memento(This,Memento) \
  3391. (This)->lpVtbl -> get_Memento(This,Memento)
  3392. #define View_ViewMemento(This,Memento) \
  3393. (This)->lpVtbl -> ViewMemento(This,Memento)
  3394. #define View_get_Columns(This,Columns) \
  3395. (This)->lpVtbl -> get_Columns(This,Columns)
  3396. #define View_get_CellContents(This,Node,Column,CellContents) \
  3397. (This)->lpVtbl -> get_CellContents(This,Node,Column,CellContents)
  3398. #define View_ExportList(This,File,exportoptions) \
  3399. (This)->lpVtbl -> ExportList(This,File,exportoptions)
  3400. #define View_get_ListViewMode(This,Mode) \
  3401. (This)->lpVtbl -> get_ListViewMode(This,Mode)
  3402. #define View_put_ListViewMode(This,mode) \
  3403. (This)->lpVtbl -> put_ListViewMode(This,mode)
  3404. #define View_get_ControlObject(This,Control) \
  3405. (This)->lpVtbl -> get_ControlObject(This,Control)
  3406. #endif /* COBJMACROS */
  3407. #endif /* C style interface */
  3408. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_ActiveScopeNode_Proxy(
  3409. View * This,
  3410. /* [retval][out] */ PPNODE Node);
  3411. void __RPC_STUB View_get_ActiveScopeNode_Stub(
  3412. IRpcStubBuffer *This,
  3413. IRpcChannelBuffer *_pRpcChannelBuffer,
  3414. PRPC_MESSAGE _pRpcMessage,
  3415. DWORD *_pdwStubPhase);
  3416. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE View_put_ActiveScopeNode_Proxy(
  3417. View * This,
  3418. /* [in] */ PNODE Node);
  3419. void __RPC_STUB View_put_ActiveScopeNode_Stub(
  3420. IRpcStubBuffer *This,
  3421. IRpcChannelBuffer *_pRpcChannelBuffer,
  3422. PRPC_MESSAGE _pRpcMessage,
  3423. DWORD *_pdwStubPhase);
  3424. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_Selection_Proxy(
  3425. View * This,
  3426. /* [retval][out] */ PPNODES Nodes);
  3427. void __RPC_STUB View_get_Selection_Stub(
  3428. IRpcStubBuffer *This,
  3429. IRpcChannelBuffer *_pRpcChannelBuffer,
  3430. PRPC_MESSAGE _pRpcMessage,
  3431. DWORD *_pdwStubPhase);
  3432. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_ListItems_Proxy(
  3433. View * This,
  3434. /* [retval][out] */ PPNODES Nodes);
  3435. void __RPC_STUB View_get_ListItems_Stub(
  3436. IRpcStubBuffer *This,
  3437. IRpcChannelBuffer *_pRpcChannelBuffer,
  3438. PRPC_MESSAGE _pRpcMessage,
  3439. DWORD *_pdwStubPhase);
  3440. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_SnapinScopeObject_Proxy(
  3441. View * This,
  3442. /* [optional][in] */ VARIANT ScopeNode,
  3443. /* [retval][out] */ PPDISPATCH ScopeNodeObject);
  3444. void __RPC_STUB View_SnapinScopeObject_Stub(
  3445. IRpcStubBuffer *This,
  3446. IRpcChannelBuffer *_pRpcChannelBuffer,
  3447. PRPC_MESSAGE _pRpcMessage,
  3448. DWORD *_pdwStubPhase);
  3449. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_SnapinSelectionObject_Proxy(
  3450. View * This,
  3451. /* [retval][out] */ PPDISPATCH SelectionObject);
  3452. void __RPC_STUB View_SnapinSelectionObject_Stub(
  3453. IRpcStubBuffer *This,
  3454. IRpcChannelBuffer *_pRpcChannelBuffer,
  3455. PRPC_MESSAGE _pRpcMessage,
  3456. DWORD *_pdwStubPhase);
  3457. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_Is_Proxy(
  3458. View * This,
  3459. /* [in] */ PVIEW View,
  3460. /* [retval][out] */ VARIANT_BOOL *TheSame);
  3461. void __RPC_STUB View_Is_Stub(
  3462. IRpcStubBuffer *This,
  3463. IRpcChannelBuffer *_pRpcChannelBuffer,
  3464. PRPC_MESSAGE _pRpcMessage,
  3465. DWORD *_pdwStubPhase);
  3466. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_Document_Proxy(
  3467. View * This,
  3468. /* [retval][out] */ PPDOCUMENT Document);
  3469. void __RPC_STUB View_get_Document_Stub(
  3470. IRpcStubBuffer *This,
  3471. IRpcChannelBuffer *_pRpcChannelBuffer,
  3472. PRPC_MESSAGE _pRpcMessage,
  3473. DWORD *_pdwStubPhase);
  3474. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_SelectAll_Proxy(
  3475. View * This);
  3476. void __RPC_STUB View_SelectAll_Stub(
  3477. IRpcStubBuffer *This,
  3478. IRpcChannelBuffer *_pRpcChannelBuffer,
  3479. PRPC_MESSAGE _pRpcMessage,
  3480. DWORD *_pdwStubPhase);
  3481. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_Select_Proxy(
  3482. View * This,
  3483. /* [in] */ PNODE Node);
  3484. void __RPC_STUB View_Select_Stub(
  3485. IRpcStubBuffer *This,
  3486. IRpcChannelBuffer *_pRpcChannelBuffer,
  3487. PRPC_MESSAGE _pRpcMessage,
  3488. DWORD *_pdwStubPhase);
  3489. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_Deselect_Proxy(
  3490. View * This,
  3491. /* [in] */ PNODE Node);
  3492. void __RPC_STUB View_Deselect_Stub(
  3493. IRpcStubBuffer *This,
  3494. IRpcChannelBuffer *_pRpcChannelBuffer,
  3495. PRPC_MESSAGE _pRpcMessage,
  3496. DWORD *_pdwStubPhase);
  3497. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_IsSelected_Proxy(
  3498. View * This,
  3499. /* [in] */ PNODE Node,
  3500. /* [retval][out] */ PBOOL IsSelected);
  3501. void __RPC_STUB View_IsSelected_Stub(
  3502. IRpcStubBuffer *This,
  3503. IRpcChannelBuffer *_pRpcChannelBuffer,
  3504. PRPC_MESSAGE _pRpcMessage,
  3505. DWORD *_pdwStubPhase);
  3506. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_DisplayScopeNodePropertySheet_Proxy(
  3507. View * This,
  3508. /* [optional][in] */ VARIANT ScopeNode);
  3509. void __RPC_STUB View_DisplayScopeNodePropertySheet_Stub(
  3510. IRpcStubBuffer *This,
  3511. IRpcChannelBuffer *_pRpcChannelBuffer,
  3512. PRPC_MESSAGE _pRpcMessage,
  3513. DWORD *_pdwStubPhase);
  3514. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_DisplaySelectionPropertySheet_Proxy(
  3515. View * This);
  3516. void __RPC_STUB View_DisplaySelectionPropertySheet_Stub(
  3517. IRpcStubBuffer *This,
  3518. IRpcChannelBuffer *_pRpcChannelBuffer,
  3519. PRPC_MESSAGE _pRpcMessage,
  3520. DWORD *_pdwStubPhase);
  3521. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_CopyScopeNode_Proxy(
  3522. View * This,
  3523. /* [optional][in] */ VARIANT ScopeNode);
  3524. void __RPC_STUB View_CopyScopeNode_Stub(
  3525. IRpcStubBuffer *This,
  3526. IRpcChannelBuffer *_pRpcChannelBuffer,
  3527. PRPC_MESSAGE _pRpcMessage,
  3528. DWORD *_pdwStubPhase);
  3529. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_CopySelection_Proxy(
  3530. View * This);
  3531. void __RPC_STUB View_CopySelection_Stub(
  3532. IRpcStubBuffer *This,
  3533. IRpcChannelBuffer *_pRpcChannelBuffer,
  3534. PRPC_MESSAGE _pRpcMessage,
  3535. DWORD *_pdwStubPhase);
  3536. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_DeleteScopeNode_Proxy(
  3537. View * This,
  3538. /* [optional][in] */ VARIANT ScopeNode);
  3539. void __RPC_STUB View_DeleteScopeNode_Stub(
  3540. IRpcStubBuffer *This,
  3541. IRpcChannelBuffer *_pRpcChannelBuffer,
  3542. PRPC_MESSAGE _pRpcMessage,
  3543. DWORD *_pdwStubPhase);
  3544. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_DeleteSelection_Proxy(
  3545. View * This);
  3546. void __RPC_STUB View_DeleteSelection_Stub(
  3547. IRpcStubBuffer *This,
  3548. IRpcChannelBuffer *_pRpcChannelBuffer,
  3549. PRPC_MESSAGE _pRpcMessage,
  3550. DWORD *_pdwStubPhase);
  3551. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_RenameScopeNode_Proxy(
  3552. View * This,
  3553. /* [in] */ BSTR NewName,
  3554. /* [optional][in] */ VARIANT ScopeNode);
  3555. void __RPC_STUB View_RenameScopeNode_Stub(
  3556. IRpcStubBuffer *This,
  3557. IRpcChannelBuffer *_pRpcChannelBuffer,
  3558. PRPC_MESSAGE _pRpcMessage,
  3559. DWORD *_pdwStubPhase);
  3560. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_RenameSelectedItem_Proxy(
  3561. View * This,
  3562. /* [in] */ BSTR NewName);
  3563. void __RPC_STUB View_RenameSelectedItem_Stub(
  3564. IRpcStubBuffer *This,
  3565. IRpcChannelBuffer *_pRpcChannelBuffer,
  3566. PRPC_MESSAGE _pRpcMessage,
  3567. DWORD *_pdwStubPhase);
  3568. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_ScopeNodeContextMenu_Proxy(
  3569. View * This,
  3570. /* [optional][in] */ VARIANT ScopeNode,
  3571. /* [retval][out] */ PPCONTEXTMENU ContextMenu);
  3572. void __RPC_STUB View_get_ScopeNodeContextMenu_Stub(
  3573. IRpcStubBuffer *This,
  3574. IRpcChannelBuffer *_pRpcChannelBuffer,
  3575. PRPC_MESSAGE _pRpcMessage,
  3576. DWORD *_pdwStubPhase);
  3577. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_SelectionContextMenu_Proxy(
  3578. View * This,
  3579. /* [retval][out] */ PPCONTEXTMENU ContextMenu);
  3580. void __RPC_STUB View_get_SelectionContextMenu_Stub(
  3581. IRpcStubBuffer *This,
  3582. IRpcChannelBuffer *_pRpcChannelBuffer,
  3583. PRPC_MESSAGE _pRpcMessage,
  3584. DWORD *_pdwStubPhase);
  3585. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_RefreshScopeNode_Proxy(
  3586. View * This,
  3587. /* [optional][in] */ VARIANT ScopeNode);
  3588. void __RPC_STUB View_RefreshScopeNode_Stub(
  3589. IRpcStubBuffer *This,
  3590. IRpcChannelBuffer *_pRpcChannelBuffer,
  3591. PRPC_MESSAGE _pRpcMessage,
  3592. DWORD *_pdwStubPhase);
  3593. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_RefreshSelection_Proxy(
  3594. View * This);
  3595. void __RPC_STUB View_RefreshSelection_Stub(
  3596. IRpcStubBuffer *This,
  3597. IRpcChannelBuffer *_pRpcChannelBuffer,
  3598. PRPC_MESSAGE _pRpcMessage,
  3599. DWORD *_pdwStubPhase);
  3600. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_ExecuteSelectionMenuItem_Proxy(
  3601. View * This,
  3602. /* [in] */ BSTR MenuItemPath);
  3603. void __RPC_STUB View_ExecuteSelectionMenuItem_Stub(
  3604. IRpcStubBuffer *This,
  3605. IRpcChannelBuffer *_pRpcChannelBuffer,
  3606. PRPC_MESSAGE _pRpcMessage,
  3607. DWORD *_pdwStubPhase);
  3608. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_ExecuteScopeNodeMenuItem_Proxy(
  3609. View * This,
  3610. /* [in] */ BSTR MenuItemPath,
  3611. /* [optional][in] */ VARIANT ScopeNode);
  3612. void __RPC_STUB View_ExecuteScopeNodeMenuItem_Stub(
  3613. IRpcStubBuffer *This,
  3614. IRpcChannelBuffer *_pRpcChannelBuffer,
  3615. PRPC_MESSAGE _pRpcMessage,
  3616. DWORD *_pdwStubPhase);
  3617. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_ExecuteShellCommand_Proxy(
  3618. View * This,
  3619. /* [in] */ BSTR Command,
  3620. /* [in] */ BSTR Directory,
  3621. /* [in] */ BSTR Parameters,
  3622. /* [in] */ BSTR WindowState);
  3623. void __RPC_STUB View_ExecuteShellCommand_Stub(
  3624. IRpcStubBuffer *This,
  3625. IRpcChannelBuffer *_pRpcChannelBuffer,
  3626. PRPC_MESSAGE _pRpcMessage,
  3627. DWORD *_pdwStubPhase);
  3628. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_Frame_Proxy(
  3629. View * This,
  3630. /* [retval][out] */ PPFRAME Frame);
  3631. void __RPC_STUB View_get_Frame_Stub(
  3632. IRpcStubBuffer *This,
  3633. IRpcChannelBuffer *_pRpcChannelBuffer,
  3634. PRPC_MESSAGE _pRpcMessage,
  3635. DWORD *_pdwStubPhase);
  3636. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_Close_Proxy(
  3637. View * This);
  3638. void __RPC_STUB View_Close_Stub(
  3639. IRpcStubBuffer *This,
  3640. IRpcChannelBuffer *_pRpcChannelBuffer,
  3641. PRPC_MESSAGE _pRpcMessage,
  3642. DWORD *_pdwStubPhase);
  3643. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_ScopeTreeVisible_Proxy(
  3644. View * This,
  3645. /* [retval][out] */ PBOOL Visible);
  3646. void __RPC_STUB View_get_ScopeTreeVisible_Stub(
  3647. IRpcStubBuffer *This,
  3648. IRpcChannelBuffer *_pRpcChannelBuffer,
  3649. PRPC_MESSAGE _pRpcMessage,
  3650. DWORD *_pdwStubPhase);
  3651. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE View_put_ScopeTreeVisible_Proxy(
  3652. View * This,
  3653. /* [in] */ BOOL Visible);
  3654. void __RPC_STUB View_put_ScopeTreeVisible_Stub(
  3655. IRpcStubBuffer *This,
  3656. IRpcChannelBuffer *_pRpcChannelBuffer,
  3657. PRPC_MESSAGE _pRpcMessage,
  3658. DWORD *_pdwStubPhase);
  3659. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_Back_Proxy(
  3660. View * This);
  3661. void __RPC_STUB View_Back_Stub(
  3662. IRpcStubBuffer *This,
  3663. IRpcChannelBuffer *_pRpcChannelBuffer,
  3664. PRPC_MESSAGE _pRpcMessage,
  3665. DWORD *_pdwStubPhase);
  3666. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_Forward_Proxy(
  3667. View * This);
  3668. void __RPC_STUB View_Forward_Stub(
  3669. IRpcStubBuffer *This,
  3670. IRpcChannelBuffer *_pRpcChannelBuffer,
  3671. PRPC_MESSAGE _pRpcMessage,
  3672. DWORD *_pdwStubPhase);
  3673. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE View_put_StatusBarText_Proxy(
  3674. View * This,
  3675. /* [in] */ BSTR StatusBarText);
  3676. void __RPC_STUB View_put_StatusBarText_Stub(
  3677. IRpcStubBuffer *This,
  3678. IRpcChannelBuffer *_pRpcChannelBuffer,
  3679. PRPC_MESSAGE _pRpcMessage,
  3680. DWORD *_pdwStubPhase);
  3681. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_Memento_Proxy(
  3682. View * This,
  3683. /* [retval][out] */ PBSTR Memento);
  3684. void __RPC_STUB View_get_Memento_Stub(
  3685. IRpcStubBuffer *This,
  3686. IRpcChannelBuffer *_pRpcChannelBuffer,
  3687. PRPC_MESSAGE _pRpcMessage,
  3688. DWORD *_pdwStubPhase);
  3689. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_ViewMemento_Proxy(
  3690. View * This,
  3691. /* [in] */ BSTR Memento);
  3692. void __RPC_STUB View_ViewMemento_Stub(
  3693. IRpcStubBuffer *This,
  3694. IRpcChannelBuffer *_pRpcChannelBuffer,
  3695. PRPC_MESSAGE _pRpcMessage,
  3696. DWORD *_pdwStubPhase);
  3697. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_Columns_Proxy(
  3698. View * This,
  3699. /* [retval][out] */ PPCOLUMNS Columns);
  3700. void __RPC_STUB View_get_Columns_Stub(
  3701. IRpcStubBuffer *This,
  3702. IRpcChannelBuffer *_pRpcChannelBuffer,
  3703. PRPC_MESSAGE _pRpcMessage,
  3704. DWORD *_pdwStubPhase);
  3705. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_CellContents_Proxy(
  3706. View * This,
  3707. /* [in] */ PNODE Node,
  3708. /* [in] */ long Column,
  3709. /* [retval][out] */ PBSTR CellContents);
  3710. void __RPC_STUB View_get_CellContents_Stub(
  3711. IRpcStubBuffer *This,
  3712. IRpcChannelBuffer *_pRpcChannelBuffer,
  3713. PRPC_MESSAGE _pRpcMessage,
  3714. DWORD *_pdwStubPhase);
  3715. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View_ExportList_Proxy(
  3716. View * This,
  3717. /* [in] */ BSTR File,
  3718. /* [defaultvalue][in] */ EXPORTLISTOPTIONS exportoptions);
  3719. void __RPC_STUB View_ExportList_Stub(
  3720. IRpcStubBuffer *This,
  3721. IRpcChannelBuffer *_pRpcChannelBuffer,
  3722. PRPC_MESSAGE _pRpcMessage,
  3723. DWORD *_pdwStubPhase);
  3724. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_ListViewMode_Proxy(
  3725. View * This,
  3726. /* [retval][out] */ PLISTVIEWMODE Mode);
  3727. void __RPC_STUB View_get_ListViewMode_Stub(
  3728. IRpcStubBuffer *This,
  3729. IRpcChannelBuffer *_pRpcChannelBuffer,
  3730. PRPC_MESSAGE _pRpcMessage,
  3731. DWORD *_pdwStubPhase);
  3732. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE View_put_ListViewMode_Proxy(
  3733. View * This,
  3734. /* [in] */ LISTVIEWMODE mode);
  3735. void __RPC_STUB View_put_ListViewMode_Stub(
  3736. IRpcStubBuffer *This,
  3737. IRpcChannelBuffer *_pRpcChannelBuffer,
  3738. PRPC_MESSAGE _pRpcMessage,
  3739. DWORD *_pdwStubPhase);
  3740. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE View_get_ControlObject_Proxy(
  3741. View * This,
  3742. /* [retval][out] */ PPDISPATCH Control);
  3743. void __RPC_STUB View_get_ControlObject_Stub(
  3744. IRpcStubBuffer *This,
  3745. IRpcChannelBuffer *_pRpcChannelBuffer,
  3746. PRPC_MESSAGE _pRpcMessage,
  3747. DWORD *_pdwStubPhase);
  3748. #endif /* __View_INTERFACE_DEFINED__ */
  3749. #ifndef __Nodes_INTERFACE_DEFINED__
  3750. #define __Nodes_INTERFACE_DEFINED__
  3751. /* interface Nodes */
  3752. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  3753. EXTERN_C const IID IID_Nodes;
  3754. #if defined(__cplusplus) && !defined(CINTERFACE)
  3755. MIDL_INTERFACE("313B01DF-B22F-4D42-B1B8-483CDCF51D35")
  3756. Nodes : public IDispatch
  3757. {
  3758. public:
  3759. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3760. /* [retval][out] */ IUnknown **retval) = 0;
  3761. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  3762. /* [in] */ long Index,
  3763. /* [retval][out] */ PPNODE Node) = 0;
  3764. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  3765. /* [retval][out] */ PLONG Count) = 0;
  3766. };
  3767. #else /* C style interface */
  3768. typedef struct NodesVtbl
  3769. {
  3770. BEGIN_INTERFACE
  3771. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3772. Nodes * This,
  3773. /* [in] */ REFIID riid,
  3774. /* [iid_is][out] */ void **ppvObject);
  3775. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3776. Nodes * This);
  3777. ULONG ( STDMETHODCALLTYPE *Release )(
  3778. Nodes * This);
  3779. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3780. Nodes * This,
  3781. /* [out] */ UINT *pctinfo);
  3782. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3783. Nodes * This,
  3784. /* [in] */ UINT iTInfo,
  3785. /* [in] */ LCID lcid,
  3786. /* [out] */ ITypeInfo **ppTInfo);
  3787. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3788. Nodes * This,
  3789. /* [in] */ REFIID riid,
  3790. /* [size_is][in] */ LPOLESTR *rgszNames,
  3791. /* [in] */ UINT cNames,
  3792. /* [in] */ LCID lcid,
  3793. /* [size_is][out] */ DISPID *rgDispId);
  3794. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3795. Nodes * This,
  3796. /* [in] */ DISPID dispIdMember,
  3797. /* [in] */ REFIID riid,
  3798. /* [in] */ LCID lcid,
  3799. /* [in] */ WORD wFlags,
  3800. /* [out][in] */ DISPPARAMS *pDispParams,
  3801. /* [out] */ VARIANT *pVarResult,
  3802. /* [out] */ EXCEPINFO *pExcepInfo,
  3803. /* [out] */ UINT *puArgErr);
  3804. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3805. Nodes * This,
  3806. /* [retval][out] */ IUnknown **retval);
  3807. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  3808. Nodes * This,
  3809. /* [in] */ long Index,
  3810. /* [retval][out] */ PPNODE Node);
  3811. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3812. Nodes * This,
  3813. /* [retval][out] */ PLONG Count);
  3814. END_INTERFACE
  3815. } NodesVtbl;
  3816. interface Nodes
  3817. {
  3818. CONST_VTBL struct NodesVtbl *lpVtbl;
  3819. };
  3820. #ifdef COBJMACROS
  3821. #define Nodes_QueryInterface(This,riid,ppvObject) \
  3822. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3823. #define Nodes_AddRef(This) \
  3824. (This)->lpVtbl -> AddRef(This)
  3825. #define Nodes_Release(This) \
  3826. (This)->lpVtbl -> Release(This)
  3827. #define Nodes_GetTypeInfoCount(This,pctinfo) \
  3828. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3829. #define Nodes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3830. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3831. #define Nodes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3832. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3833. #define Nodes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3834. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3835. #define Nodes_get__NewEnum(This,retval) \
  3836. (This)->lpVtbl -> get__NewEnum(This,retval)
  3837. #define Nodes_Item(This,Index,Node) \
  3838. (This)->lpVtbl -> Item(This,Index,Node)
  3839. #define Nodes_get_Count(This,Count) \
  3840. (This)->lpVtbl -> get_Count(This,Count)
  3841. #endif /* COBJMACROS */
  3842. #endif /* C style interface */
  3843. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Nodes_get__NewEnum_Proxy(
  3844. Nodes * This,
  3845. /* [retval][out] */ IUnknown **retval);
  3846. void __RPC_STUB Nodes_get__NewEnum_Stub(
  3847. IRpcStubBuffer *This,
  3848. IRpcChannelBuffer *_pRpcChannelBuffer,
  3849. PRPC_MESSAGE _pRpcMessage,
  3850. DWORD *_pdwStubPhase);
  3851. /* [id] */ HRESULT STDMETHODCALLTYPE Nodes_Item_Proxy(
  3852. Nodes * This,
  3853. /* [in] */ long Index,
  3854. /* [retval][out] */ PPNODE Node);
  3855. void __RPC_STUB Nodes_Item_Stub(
  3856. IRpcStubBuffer *This,
  3857. IRpcChannelBuffer *_pRpcChannelBuffer,
  3858. PRPC_MESSAGE _pRpcMessage,
  3859. DWORD *_pdwStubPhase);
  3860. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Nodes_get_Count_Proxy(
  3861. Nodes * This,
  3862. /* [retval][out] */ PLONG Count);
  3863. void __RPC_STUB Nodes_get_Count_Stub(
  3864. IRpcStubBuffer *This,
  3865. IRpcChannelBuffer *_pRpcChannelBuffer,
  3866. PRPC_MESSAGE _pRpcMessage,
  3867. DWORD *_pdwStubPhase);
  3868. #endif /* __Nodes_INTERFACE_DEFINED__ */
  3869. #ifndef __ContextMenu_INTERFACE_DEFINED__
  3870. #define __ContextMenu_INTERFACE_DEFINED__
  3871. /* interface ContextMenu */
  3872. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  3873. EXTERN_C const IID IID_ContextMenu;
  3874. #if defined(__cplusplus) && !defined(CINTERFACE)
  3875. MIDL_INTERFACE("DAB39CE0-25E6-4E07-8362-BA9C95706545")
  3876. ContextMenu : public IDispatch
  3877. {
  3878. public:
  3879. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3880. /* [retval][out] */ IUnknown **retval) = 0;
  3881. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Item(
  3882. /* [in] */ VARIANT IndexOrPath,
  3883. /* [retval][out] */ PPMENUITEM MenuItem) = 0;
  3884. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  3885. /* [retval][out] */ PLONG Count) = 0;
  3886. };
  3887. #else /* C style interface */
  3888. typedef struct ContextMenuVtbl
  3889. {
  3890. BEGIN_INTERFACE
  3891. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3892. ContextMenu * This,
  3893. /* [in] */ REFIID riid,
  3894. /* [iid_is][out] */ void **ppvObject);
  3895. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3896. ContextMenu * This);
  3897. ULONG ( STDMETHODCALLTYPE *Release )(
  3898. ContextMenu * This);
  3899. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3900. ContextMenu * This,
  3901. /* [out] */ UINT *pctinfo);
  3902. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3903. ContextMenu * This,
  3904. /* [in] */ UINT iTInfo,
  3905. /* [in] */ LCID lcid,
  3906. /* [out] */ ITypeInfo **ppTInfo);
  3907. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3908. ContextMenu * This,
  3909. /* [in] */ REFIID riid,
  3910. /* [size_is][in] */ LPOLESTR *rgszNames,
  3911. /* [in] */ UINT cNames,
  3912. /* [in] */ LCID lcid,
  3913. /* [size_is][out] */ DISPID *rgDispId);
  3914. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3915. ContextMenu * This,
  3916. /* [in] */ DISPID dispIdMember,
  3917. /* [in] */ REFIID riid,
  3918. /* [in] */ LCID lcid,
  3919. /* [in] */ WORD wFlags,
  3920. /* [out][in] */ DISPPARAMS *pDispParams,
  3921. /* [out] */ VARIANT *pVarResult,
  3922. /* [out] */ EXCEPINFO *pExcepInfo,
  3923. /* [out] */ UINT *puArgErr);
  3924. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3925. ContextMenu * This,
  3926. /* [retval][out] */ IUnknown **retval);
  3927. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  3928. ContextMenu * This,
  3929. /* [in] */ VARIANT IndexOrPath,
  3930. /* [retval][out] */ PPMENUITEM MenuItem);
  3931. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3932. ContextMenu * This,
  3933. /* [retval][out] */ PLONG Count);
  3934. END_INTERFACE
  3935. } ContextMenuVtbl;
  3936. interface ContextMenu
  3937. {
  3938. CONST_VTBL struct ContextMenuVtbl *lpVtbl;
  3939. };
  3940. #ifdef COBJMACROS
  3941. #define ContextMenu_QueryInterface(This,riid,ppvObject) \
  3942. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3943. #define ContextMenu_AddRef(This) \
  3944. (This)->lpVtbl -> AddRef(This)
  3945. #define ContextMenu_Release(This) \
  3946. (This)->lpVtbl -> Release(This)
  3947. #define ContextMenu_GetTypeInfoCount(This,pctinfo) \
  3948. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3949. #define ContextMenu_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3950. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3951. #define ContextMenu_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3952. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3953. #define ContextMenu_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3954. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3955. #define ContextMenu_get__NewEnum(This,retval) \
  3956. (This)->lpVtbl -> get__NewEnum(This,retval)
  3957. #define ContextMenu_get_Item(This,IndexOrPath,MenuItem) \
  3958. (This)->lpVtbl -> get_Item(This,IndexOrPath,MenuItem)
  3959. #define ContextMenu_get_Count(This,Count) \
  3960. (This)->lpVtbl -> get_Count(This,Count)
  3961. #endif /* COBJMACROS */
  3962. #endif /* C style interface */
  3963. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ContextMenu_get__NewEnum_Proxy(
  3964. ContextMenu * This,
  3965. /* [retval][out] */ IUnknown **retval);
  3966. void __RPC_STUB ContextMenu_get__NewEnum_Stub(
  3967. IRpcStubBuffer *This,
  3968. IRpcChannelBuffer *_pRpcChannelBuffer,
  3969. PRPC_MESSAGE _pRpcMessage,
  3970. DWORD *_pdwStubPhase);
  3971. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ContextMenu_get_Item_Proxy(
  3972. ContextMenu * This,
  3973. /* [in] */ VARIANT IndexOrPath,
  3974. /* [retval][out] */ PPMENUITEM MenuItem);
  3975. void __RPC_STUB ContextMenu_get_Item_Stub(
  3976. IRpcStubBuffer *This,
  3977. IRpcChannelBuffer *_pRpcChannelBuffer,
  3978. PRPC_MESSAGE _pRpcMessage,
  3979. DWORD *_pdwStubPhase);
  3980. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ContextMenu_get_Count_Proxy(
  3981. ContextMenu * This,
  3982. /* [retval][out] */ PLONG Count);
  3983. void __RPC_STUB ContextMenu_get_Count_Stub(
  3984. IRpcStubBuffer *This,
  3985. IRpcChannelBuffer *_pRpcChannelBuffer,
  3986. PRPC_MESSAGE _pRpcMessage,
  3987. DWORD *_pdwStubPhase);
  3988. #endif /* __ContextMenu_INTERFACE_DEFINED__ */
  3989. #ifndef __MenuItem_INTERFACE_DEFINED__
  3990. #define __MenuItem_INTERFACE_DEFINED__
  3991. /* interface MenuItem */
  3992. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  3993. EXTERN_C const IID IID_MenuItem;
  3994. #if defined(__cplusplus) && !defined(CINTERFACE)
  3995. MIDL_INTERFACE("0178FAD1-B361-4B27-96AD-67C57EBF2E1D")
  3996. MenuItem : public IDispatch
  3997. {
  3998. public:
  3999. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DisplayName(
  4000. /* [retval][out] */ PBSTR DisplayName) = 0;
  4001. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_LanguageIndependentName(
  4002. /* [retval][out] */ PBSTR LanguageIndependentName) = 0;
  4003. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Path(
  4004. /* [retval][out] */ PBSTR Path) = 0;
  4005. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_LanguageIndependentPath(
  4006. /* [retval][out] */ PBSTR LanguageIndependentPath) = 0;
  4007. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Execute( void) = 0;
  4008. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Enabled(
  4009. /* [retval][out] */ PBOOL Enabled) = 0;
  4010. };
  4011. #else /* C style interface */
  4012. typedef struct MenuItemVtbl
  4013. {
  4014. BEGIN_INTERFACE
  4015. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4016. MenuItem * This,
  4017. /* [in] */ REFIID riid,
  4018. /* [iid_is][out] */ void **ppvObject);
  4019. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4020. MenuItem * This);
  4021. ULONG ( STDMETHODCALLTYPE *Release )(
  4022. MenuItem * This);
  4023. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4024. MenuItem * This,
  4025. /* [out] */ UINT *pctinfo);
  4026. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4027. MenuItem * This,
  4028. /* [in] */ UINT iTInfo,
  4029. /* [in] */ LCID lcid,
  4030. /* [out] */ ITypeInfo **ppTInfo);
  4031. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4032. MenuItem * This,
  4033. /* [in] */ REFIID riid,
  4034. /* [size_is][in] */ LPOLESTR *rgszNames,
  4035. /* [in] */ UINT cNames,
  4036. /* [in] */ LCID lcid,
  4037. /* [size_is][out] */ DISPID *rgDispId);
  4038. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4039. MenuItem * This,
  4040. /* [in] */ DISPID dispIdMember,
  4041. /* [in] */ REFIID riid,
  4042. /* [in] */ LCID lcid,
  4043. /* [in] */ WORD wFlags,
  4044. /* [out][in] */ DISPPARAMS *pDispParams,
  4045. /* [out] */ VARIANT *pVarResult,
  4046. /* [out] */ EXCEPINFO *pExcepInfo,
  4047. /* [out] */ UINT *puArgErr);
  4048. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )(
  4049. MenuItem * This,
  4050. /* [retval][out] */ PBSTR DisplayName);
  4051. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LanguageIndependentName )(
  4052. MenuItem * This,
  4053. /* [retval][out] */ PBSTR LanguageIndependentName);
  4054. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
  4055. MenuItem * This,
  4056. /* [retval][out] */ PBSTR Path);
  4057. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LanguageIndependentPath )(
  4058. MenuItem * This,
  4059. /* [retval][out] */ PBSTR LanguageIndependentPath);
  4060. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
  4061. MenuItem * This);
  4062. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
  4063. MenuItem * This,
  4064. /* [retval][out] */ PBOOL Enabled);
  4065. END_INTERFACE
  4066. } MenuItemVtbl;
  4067. interface MenuItem
  4068. {
  4069. CONST_VTBL struct MenuItemVtbl *lpVtbl;
  4070. };
  4071. #ifdef COBJMACROS
  4072. #define MenuItem_QueryInterface(This,riid,ppvObject) \
  4073. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4074. #define MenuItem_AddRef(This) \
  4075. (This)->lpVtbl -> AddRef(This)
  4076. #define MenuItem_Release(This) \
  4077. (This)->lpVtbl -> Release(This)
  4078. #define MenuItem_GetTypeInfoCount(This,pctinfo) \
  4079. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4080. #define MenuItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4081. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4082. #define MenuItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4083. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4084. #define MenuItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4085. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4086. #define MenuItem_get_DisplayName(This,DisplayName) \
  4087. (This)->lpVtbl -> get_DisplayName(This,DisplayName)
  4088. #define MenuItem_get_LanguageIndependentName(This,LanguageIndependentName) \
  4089. (This)->lpVtbl -> get_LanguageIndependentName(This,LanguageIndependentName)
  4090. #define MenuItem_get_Path(This,Path) \
  4091. (This)->lpVtbl -> get_Path(This,Path)
  4092. #define MenuItem_get_LanguageIndependentPath(This,LanguageIndependentPath) \
  4093. (This)->lpVtbl -> get_LanguageIndependentPath(This,LanguageIndependentPath)
  4094. #define MenuItem_Execute(This) \
  4095. (This)->lpVtbl -> Execute(This)
  4096. #define MenuItem_get_Enabled(This,Enabled) \
  4097. (This)->lpVtbl -> get_Enabled(This,Enabled)
  4098. #endif /* COBJMACROS */
  4099. #endif /* C style interface */
  4100. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE MenuItem_get_DisplayName_Proxy(
  4101. MenuItem * This,
  4102. /* [retval][out] */ PBSTR DisplayName);
  4103. void __RPC_STUB MenuItem_get_DisplayName_Stub(
  4104. IRpcStubBuffer *This,
  4105. IRpcChannelBuffer *_pRpcChannelBuffer,
  4106. PRPC_MESSAGE _pRpcMessage,
  4107. DWORD *_pdwStubPhase);
  4108. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE MenuItem_get_LanguageIndependentName_Proxy(
  4109. MenuItem * This,
  4110. /* [retval][out] */ PBSTR LanguageIndependentName);
  4111. void __RPC_STUB MenuItem_get_LanguageIndependentName_Stub(
  4112. IRpcStubBuffer *This,
  4113. IRpcChannelBuffer *_pRpcChannelBuffer,
  4114. PRPC_MESSAGE _pRpcMessage,
  4115. DWORD *_pdwStubPhase);
  4116. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE MenuItem_get_Path_Proxy(
  4117. MenuItem * This,
  4118. /* [retval][out] */ PBSTR Path);
  4119. void __RPC_STUB MenuItem_get_Path_Stub(
  4120. IRpcStubBuffer *This,
  4121. IRpcChannelBuffer *_pRpcChannelBuffer,
  4122. PRPC_MESSAGE _pRpcMessage,
  4123. DWORD *_pdwStubPhase);
  4124. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE MenuItem_get_LanguageIndependentPath_Proxy(
  4125. MenuItem * This,
  4126. /* [retval][out] */ PBSTR LanguageIndependentPath);
  4127. void __RPC_STUB MenuItem_get_LanguageIndependentPath_Stub(
  4128. IRpcStubBuffer *This,
  4129. IRpcChannelBuffer *_pRpcChannelBuffer,
  4130. PRPC_MESSAGE _pRpcMessage,
  4131. DWORD *_pdwStubPhase);
  4132. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MenuItem_Execute_Proxy(
  4133. MenuItem * This);
  4134. void __RPC_STUB MenuItem_Execute_Stub(
  4135. IRpcStubBuffer *This,
  4136. IRpcChannelBuffer *_pRpcChannelBuffer,
  4137. PRPC_MESSAGE _pRpcMessage,
  4138. DWORD *_pdwStubPhase);
  4139. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE MenuItem_get_Enabled_Proxy(
  4140. MenuItem * This,
  4141. /* [retval][out] */ PBOOL Enabled);
  4142. void __RPC_STUB MenuItem_get_Enabled_Stub(
  4143. IRpcStubBuffer *This,
  4144. IRpcChannelBuffer *_pRpcChannelBuffer,
  4145. PRPC_MESSAGE _pRpcMessage,
  4146. DWORD *_pdwStubPhase);
  4147. #endif /* __MenuItem_INTERFACE_DEFINED__ */
  4148. #ifndef __Properties_INTERFACE_DEFINED__
  4149. #define __Properties_INTERFACE_DEFINED__
  4150. /* interface Properties */
  4151. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  4152. EXTERN_C const IID IID_Properties;
  4153. #if defined(__cplusplus) && !defined(CINTERFACE)
  4154. MIDL_INTERFACE("2886ABC2-A425-42b2-91C6-E25C0E04581C")
  4155. Properties : public IDispatch
  4156. {
  4157. public:
  4158. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  4159. /* [retval][out] */ IUnknown **retval) = 0;
  4160. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  4161. /* [in] */ BSTR Name,
  4162. /* [retval][out] */ PPPROPERTY Property) = 0;
  4163. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  4164. /* [retval][out] */ PLONG Count) = 0;
  4165. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  4166. /* [in] */ BSTR Name) = 0;
  4167. };
  4168. #else /* C style interface */
  4169. typedef struct PropertiesVtbl
  4170. {
  4171. BEGIN_INTERFACE
  4172. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4173. Properties * This,
  4174. /* [in] */ REFIID riid,
  4175. /* [iid_is][out] */ void **ppvObject);
  4176. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4177. Properties * This);
  4178. ULONG ( STDMETHODCALLTYPE *Release )(
  4179. Properties * This);
  4180. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4181. Properties * This,
  4182. /* [out] */ UINT *pctinfo);
  4183. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4184. Properties * This,
  4185. /* [in] */ UINT iTInfo,
  4186. /* [in] */ LCID lcid,
  4187. /* [out] */ ITypeInfo **ppTInfo);
  4188. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4189. Properties * This,
  4190. /* [in] */ REFIID riid,
  4191. /* [size_is][in] */ LPOLESTR *rgszNames,
  4192. /* [in] */ UINT cNames,
  4193. /* [in] */ LCID lcid,
  4194. /* [size_is][out] */ DISPID *rgDispId);
  4195. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4196. Properties * This,
  4197. /* [in] */ DISPID dispIdMember,
  4198. /* [in] */ REFIID riid,
  4199. /* [in] */ LCID lcid,
  4200. /* [in] */ WORD wFlags,
  4201. /* [out][in] */ DISPPARAMS *pDispParams,
  4202. /* [out] */ VARIANT *pVarResult,
  4203. /* [out] */ EXCEPINFO *pExcepInfo,
  4204. /* [out] */ UINT *puArgErr);
  4205. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  4206. Properties * This,
  4207. /* [retval][out] */ IUnknown **retval);
  4208. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  4209. Properties * This,
  4210. /* [in] */ BSTR Name,
  4211. /* [retval][out] */ PPPROPERTY Property);
  4212. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  4213. Properties * This,
  4214. /* [retval][out] */ PLONG Count);
  4215. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  4216. Properties * This,
  4217. /* [in] */ BSTR Name);
  4218. END_INTERFACE
  4219. } PropertiesVtbl;
  4220. interface Properties
  4221. {
  4222. CONST_VTBL struct PropertiesVtbl *lpVtbl;
  4223. };
  4224. #ifdef COBJMACROS
  4225. #define Properties_QueryInterface(This,riid,ppvObject) \
  4226. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4227. #define Properties_AddRef(This) \
  4228. (This)->lpVtbl -> AddRef(This)
  4229. #define Properties_Release(This) \
  4230. (This)->lpVtbl -> Release(This)
  4231. #define Properties_GetTypeInfoCount(This,pctinfo) \
  4232. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4233. #define Properties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4234. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4235. #define Properties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4236. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4237. #define Properties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4238. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4239. #define Properties_get__NewEnum(This,retval) \
  4240. (This)->lpVtbl -> get__NewEnum(This,retval)
  4241. #define Properties_Item(This,Name,Property) \
  4242. (This)->lpVtbl -> Item(This,Name,Property)
  4243. #define Properties_get_Count(This,Count) \
  4244. (This)->lpVtbl -> get_Count(This,Count)
  4245. #define Properties_Remove(This,Name) \
  4246. (This)->lpVtbl -> Remove(This,Name)
  4247. #endif /* COBJMACROS */
  4248. #endif /* C style interface */
  4249. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Properties_get__NewEnum_Proxy(
  4250. Properties * This,
  4251. /* [retval][out] */ IUnknown **retval);
  4252. void __RPC_STUB Properties_get__NewEnum_Stub(
  4253. IRpcStubBuffer *This,
  4254. IRpcChannelBuffer *_pRpcChannelBuffer,
  4255. PRPC_MESSAGE _pRpcMessage,
  4256. DWORD *_pdwStubPhase);
  4257. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Properties_Item_Proxy(
  4258. Properties * This,
  4259. /* [in] */ BSTR Name,
  4260. /* [retval][out] */ PPPROPERTY Property);
  4261. void __RPC_STUB Properties_Item_Stub(
  4262. IRpcStubBuffer *This,
  4263. IRpcChannelBuffer *_pRpcChannelBuffer,
  4264. PRPC_MESSAGE _pRpcMessage,
  4265. DWORD *_pdwStubPhase);
  4266. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Properties_get_Count_Proxy(
  4267. Properties * This,
  4268. /* [retval][out] */ PLONG Count);
  4269. void __RPC_STUB Properties_get_Count_Stub(
  4270. IRpcStubBuffer *This,
  4271. IRpcChannelBuffer *_pRpcChannelBuffer,
  4272. PRPC_MESSAGE _pRpcMessage,
  4273. DWORD *_pdwStubPhase);
  4274. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Properties_Remove_Proxy(
  4275. Properties * This,
  4276. /* [in] */ BSTR Name);
  4277. void __RPC_STUB Properties_Remove_Stub(
  4278. IRpcStubBuffer *This,
  4279. IRpcChannelBuffer *_pRpcChannelBuffer,
  4280. PRPC_MESSAGE _pRpcMessage,
  4281. DWORD *_pdwStubPhase);
  4282. #endif /* __Properties_INTERFACE_DEFINED__ */
  4283. #ifndef __Property_INTERFACE_DEFINED__
  4284. #define __Property_INTERFACE_DEFINED__
  4285. /* interface Property */
  4286. /* [object][helpstring][dual][uuid][nonextensible][dual][oleautomation] */
  4287. EXTERN_C const IID IID_Property;
  4288. #if defined(__cplusplus) && !defined(CINTERFACE)
  4289. MIDL_INTERFACE("4600C3A5-E301-41d8-B6D0-EF2E4212E0CA")
  4290. Property : public IDispatch
  4291. {
  4292. public:
  4293. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  4294. /* [retval][out] */ PVARIANT Value) = 0;
  4295. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  4296. /* [in] */ VARIANT Value) = 0;
  4297. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  4298. /* [retval][out] */ PBSTR Name) = 0;
  4299. };
  4300. #else /* C style interface */
  4301. typedef struct PropertyVtbl
  4302. {
  4303. BEGIN_INTERFACE
  4304. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4305. Property * This,
  4306. /* [in] */ REFIID riid,
  4307. /* [iid_is][out] */ void **ppvObject);
  4308. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4309. Property * This);
  4310. ULONG ( STDMETHODCALLTYPE *Release )(
  4311. Property * This);
  4312. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4313. Property * This,
  4314. /* [out] */ UINT *pctinfo);
  4315. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4316. Property * This,
  4317. /* [in] */ UINT iTInfo,
  4318. /* [in] */ LCID lcid,
  4319. /* [out] */ ITypeInfo **ppTInfo);
  4320. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4321. Property * This,
  4322. /* [in] */ REFIID riid,
  4323. /* [size_is][in] */ LPOLESTR *rgszNames,
  4324. /* [in] */ UINT cNames,
  4325. /* [in] */ LCID lcid,
  4326. /* [size_is][out] */ DISPID *rgDispId);
  4327. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4328. Property * This,
  4329. /* [in] */ DISPID dispIdMember,
  4330. /* [in] */ REFIID riid,
  4331. /* [in] */ LCID lcid,
  4332. /* [in] */ WORD wFlags,
  4333. /* [out][in] */ DISPPARAMS *pDispParams,
  4334. /* [out] */ VARIANT *pVarResult,
  4335. /* [out] */ EXCEPINFO *pExcepInfo,
  4336. /* [out] */ UINT *puArgErr);
  4337. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  4338. Property * This,
  4339. /* [retval][out] */ PVARIANT Value);
  4340. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  4341. Property * This,
  4342. /* [in] */ VARIANT Value);
  4343. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  4344. Property * This,
  4345. /* [retval][out] */ PBSTR Name);
  4346. END_INTERFACE
  4347. } PropertyVtbl;
  4348. interface Property
  4349. {
  4350. CONST_VTBL struct PropertyVtbl *lpVtbl;
  4351. };
  4352. #ifdef COBJMACROS
  4353. #define Property_QueryInterface(This,riid,ppvObject) \
  4354. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4355. #define Property_AddRef(This) \
  4356. (This)->lpVtbl -> AddRef(This)
  4357. #define Property_Release(This) \
  4358. (This)->lpVtbl -> Release(This)
  4359. #define Property_GetTypeInfoCount(This,pctinfo) \
  4360. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4361. #define Property_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4362. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4363. #define Property_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4364. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4365. #define Property_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4366. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4367. #define Property_get_Value(This,Value) \
  4368. (This)->lpVtbl -> get_Value(This,Value)
  4369. #define Property_put_Value(This,Value) \
  4370. (This)->lpVtbl -> put_Value(This,Value)
  4371. #define Property_get_Name(This,Name) \
  4372. (This)->lpVtbl -> get_Name(This,Name)
  4373. #endif /* COBJMACROS */
  4374. #endif /* C style interface */
  4375. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Property_get_Value_Proxy(
  4376. Property * This,
  4377. /* [retval][out] */ PVARIANT Value);
  4378. void __RPC_STUB Property_get_Value_Stub(
  4379. IRpcStubBuffer *This,
  4380. IRpcChannelBuffer *_pRpcChannelBuffer,
  4381. PRPC_MESSAGE _pRpcMessage,
  4382. DWORD *_pdwStubPhase);
  4383. /* [propput][id] */ HRESULT STDMETHODCALLTYPE Property_put_Value_Proxy(
  4384. Property * This,
  4385. /* [in] */ VARIANT Value);
  4386. void __RPC_STUB Property_put_Value_Stub(
  4387. IRpcStubBuffer *This,
  4388. IRpcChannelBuffer *_pRpcChannelBuffer,
  4389. PRPC_MESSAGE _pRpcMessage,
  4390. DWORD *_pdwStubPhase);
  4391. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Property_get_Name_Proxy(
  4392. Property * This,
  4393. /* [retval][out] */ PBSTR Name);
  4394. void __RPC_STUB Property_get_Name_Stub(
  4395. IRpcStubBuffer *This,
  4396. IRpcChannelBuffer *_pRpcChannelBuffer,
  4397. PRPC_MESSAGE _pRpcMessage,
  4398. DWORD *_pdwStubPhase);
  4399. #endif /* __Property_INTERFACE_DEFINED__ */
  4400. #endif /* __MMC20_LIBRARY_DEFINED__ */
  4401. /* interface __MIDL_itf_mmcobj_0138 */
  4402. /* [local] */
  4403. #endif // MMC_VER >= 0x0200
  4404. extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0138_v0_0_c_ifspec;
  4405. extern RPC_IF_HANDLE __MIDL_itf_mmcobj_0138_v0_0_s_ifspec;
  4406. /* Additional Prototypes for ALL interfaces */
  4407. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  4408. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  4409. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  4410. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  4411. /* end of Additional Prototypes */
  4412. #ifdef __cplusplus
  4413. }
  4414. #endif
  4415. #endif