Source code of Windows XP (NT5)
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.

2954 lines
97 KiB

  1. // This is a part of the Active Template Library.
  2. // Copyright (C) 1996-2001 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  11. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  12. /* File created by MIDL compiler version 6.00.0342 */
  13. /* at Mon Feb 12 21:31:09 2001
  14. */
  15. /* Compiler settings for atliface.idl:
  16. Oicf, W1, Zp8, env=Win32 (32b run)
  17. protocol : dce , ms_ext, c_ext
  18. error checks: allocation ref bounds_check enum stub_data
  19. VC __declspec() decoration level:
  20. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  21. DECLSPEC_UUID(), MIDL_INTERFACE()
  22. */
  23. //@@MIDL_FILE_HEADING( )
  24. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  25. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  26. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  27. #endif
  28. #include "rpc.h"
  29. #include "rpcndr.h"
  30. #ifndef __RPCNDR_H_VERSION__
  31. #error this stub requires an updated version of <rpcndr.h>
  32. #endif // __RPCNDR_H_VERSION__
  33. #ifndef COM_NO_WINDOWS_H
  34. #include "windows.h"
  35. #include "ole2.h"
  36. #endif /*COM_NO_WINDOWS_H*/
  37. #ifndef __atliface_h__
  38. #define __atliface_h__
  39. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  40. #pragma once
  41. #endif
  42. /* Forward Declarations */
  43. #ifndef __IRegistrarBase_FWD_DEFINED__
  44. #define __IRegistrarBase_FWD_DEFINED__
  45. typedef interface IRegistrarBase IRegistrarBase;
  46. #endif /* __IRegistrarBase_FWD_DEFINED__ */
  47. #ifndef __IRegistrar_FWD_DEFINED__
  48. #define __IRegistrar_FWD_DEFINED__
  49. typedef interface IRegistrar IRegistrar;
  50. #endif /* __IRegistrar_FWD_DEFINED__ */
  51. #ifndef __IDocHostUIHandlerDispatch_FWD_DEFINED__
  52. #define __IDocHostUIHandlerDispatch_FWD_DEFINED__
  53. typedef interface IDocHostUIHandlerDispatch IDocHostUIHandlerDispatch;
  54. #endif /* __IDocHostUIHandlerDispatch_FWD_DEFINED__ */
  55. #ifndef __IAxWinHostWindow_FWD_DEFINED__
  56. #define __IAxWinHostWindow_FWD_DEFINED__
  57. typedef interface IAxWinHostWindow IAxWinHostWindow;
  58. #endif /* __IAxWinHostWindow_FWD_DEFINED__ */
  59. #ifndef __IAxWinHostWindowLic_FWD_DEFINED__
  60. #define __IAxWinHostWindowLic_FWD_DEFINED__
  61. typedef interface IAxWinHostWindowLic IAxWinHostWindowLic;
  62. #endif /* __IAxWinHostWindowLic_FWD_DEFINED__ */
  63. #ifndef __IAxWinAmbientDispatch_FWD_DEFINED__
  64. #define __IAxWinAmbientDispatch_FWD_DEFINED__
  65. typedef interface IAxWinAmbientDispatch IAxWinAmbientDispatch;
  66. #endif /* __IAxWinAmbientDispatch_FWD_DEFINED__ */
  67. #ifndef __IAxWinAmbientDispatchEx_FWD_DEFINED__
  68. #define __IAxWinAmbientDispatchEx_FWD_DEFINED__
  69. typedef interface IAxWinAmbientDispatchEx IAxWinAmbientDispatchEx;
  70. #endif /* __IAxWinAmbientDispatchEx_FWD_DEFINED__ */
  71. #ifndef __IInternalConnection_FWD_DEFINED__
  72. #define __IInternalConnection_FWD_DEFINED__
  73. typedef interface IInternalConnection IInternalConnection;
  74. #endif /* __IInternalConnection_FWD_DEFINED__ */
  75. #ifndef __IAccessibleProxy_FWD_DEFINED__
  76. #define __IAccessibleProxy_FWD_DEFINED__
  77. typedef interface IAccessibleProxy IAccessibleProxy;
  78. #endif /* __IAccessibleProxy_FWD_DEFINED__ */
  79. #ifndef __IAccessibleServer_FWD_DEFINED__
  80. #define __IAccessibleServer_FWD_DEFINED__
  81. typedef interface IAccessibleServer IAccessibleServer;
  82. #endif /* __IAccessibleServer_FWD_DEFINED__ */
  83. /* header files for imported files */
  84. #include "oaidl.h"
  85. #include "ocidl.h"
  86. #include "oleacc.h"
  87. #ifdef __cplusplus
  88. extern "C"{
  89. #endif
  90. void * __RPC_USER MIDL_user_allocate(size_t);
  91. void __RPC_USER MIDL_user_free( void * );
  92. /* interface __MIDL_itf_atliface_0000 */
  93. /* [local] */
  94. EXTERN_C const CLSID CLSID_Registrar;
  95. extern RPC_IF_HANDLE __MIDL_itf_atliface_0000_v0_0_c_ifspec;
  96. extern RPC_IF_HANDLE __MIDL_itf_atliface_0000_v0_0_s_ifspec;
  97. #ifndef __IRegistrarBase_INTERFACE_DEFINED__
  98. #define __IRegistrarBase_INTERFACE_DEFINED__
  99. /* interface IRegistrarBase */
  100. /* [unique][helpstring][uuid][object] */
  101. EXTERN_C const IID IID_IRegistrarBase;
  102. #if defined(__cplusplus) && !defined(CINTERFACE)
  103. MIDL_INTERFACE("e21f8a85-b05d-4243-8183-c7cb405588f7")
  104. IRegistrarBase : public IUnknown
  105. {
  106. public:
  107. virtual HRESULT STDMETHODCALLTYPE AddReplacement(
  108. /* [in] */ LPCOLESTR key,
  109. /* [in] */ LPCOLESTR item) = 0;
  110. virtual HRESULT STDMETHODCALLTYPE ClearReplacements( void) = 0;
  111. };
  112. #else /* C style interface */
  113. typedef struct IRegistrarBaseVtbl
  114. {
  115. BEGIN_INTERFACE
  116. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  117. IRegistrarBase * This,
  118. /* [in] */ REFIID riid,
  119. /* [iid_is][out] */ void **ppvObject);
  120. ULONG ( STDMETHODCALLTYPE *AddRef )(
  121. IRegistrarBase * This);
  122. ULONG ( STDMETHODCALLTYPE *Release )(
  123. IRegistrarBase * This);
  124. HRESULT ( STDMETHODCALLTYPE *AddReplacement )(
  125. IRegistrarBase * This,
  126. /* [in] */ LPCOLESTR key,
  127. /* [in] */ LPCOLESTR item);
  128. HRESULT ( STDMETHODCALLTYPE *ClearReplacements )(
  129. IRegistrarBase * This);
  130. END_INTERFACE
  131. } IRegistrarBaseVtbl;
  132. interface IRegistrarBase
  133. {
  134. CONST_VTBL struct IRegistrarBaseVtbl *lpVtbl;
  135. };
  136. #ifdef COBJMACROS
  137. #define IRegistrarBase_QueryInterface(This,riid,ppvObject) \
  138. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  139. #define IRegistrarBase_AddRef(This) \
  140. (This)->lpVtbl -> AddRef(This)
  141. #define IRegistrarBase_Release(This) \
  142. (This)->lpVtbl -> Release(This)
  143. #define IRegistrarBase_AddReplacement(This,key,item) \
  144. (This)->lpVtbl -> AddReplacement(This,key,item)
  145. #define IRegistrarBase_ClearReplacements(This) \
  146. (This)->lpVtbl -> ClearReplacements(This)
  147. #endif /* COBJMACROS */
  148. #endif /* C style interface */
  149. HRESULT STDMETHODCALLTYPE IRegistrarBase_AddReplacement_Proxy(
  150. IRegistrarBase * This,
  151. /* [in] */ LPCOLESTR key,
  152. /* [in] */ LPCOLESTR item);
  153. void __RPC_STUB IRegistrarBase_AddReplacement_Stub(
  154. IRpcStubBuffer *This,
  155. IRpcChannelBuffer *_pRpcChannelBuffer,
  156. PRPC_MESSAGE _pRpcMessage,
  157. DWORD *_pdwStubPhase);
  158. HRESULT STDMETHODCALLTYPE IRegistrarBase_ClearReplacements_Proxy(
  159. IRegistrarBase * This);
  160. void __RPC_STUB IRegistrarBase_ClearReplacements_Stub(
  161. IRpcStubBuffer *This,
  162. IRpcChannelBuffer *_pRpcChannelBuffer,
  163. PRPC_MESSAGE _pRpcMessage,
  164. DWORD *_pdwStubPhase);
  165. #endif /* __IRegistrarBase_INTERFACE_DEFINED__ */
  166. #ifndef __IRegistrar_INTERFACE_DEFINED__
  167. #define __IRegistrar_INTERFACE_DEFINED__
  168. /* interface IRegistrar */
  169. /* [unique][helpstring][uuid][object] */
  170. EXTERN_C const IID IID_IRegistrar;
  171. #if defined(__cplusplus) && !defined(CINTERFACE)
  172. MIDL_INTERFACE("44EC053B-400F-11D0-9DCD-00A0C90391D3")
  173. IRegistrar : public IRegistrarBase
  174. {
  175. public:
  176. virtual HRESULT STDMETHODCALLTYPE ResourceRegisterSz(
  177. /* [in] */ LPCOLESTR resFileName,
  178. /* [in] */ LPCOLESTR szID,
  179. /* [in] */ LPCOLESTR szType) = 0;
  180. virtual HRESULT STDMETHODCALLTYPE ResourceUnregisterSz(
  181. /* [in] */ LPCOLESTR resFileName,
  182. /* [in] */ LPCOLESTR szID,
  183. /* [in] */ LPCOLESTR szType) = 0;
  184. virtual HRESULT STDMETHODCALLTYPE FileRegister(
  185. /* [in] */ LPCOLESTR fileName) = 0;
  186. virtual HRESULT STDMETHODCALLTYPE FileUnregister(
  187. /* [in] */ LPCOLESTR fileName) = 0;
  188. virtual HRESULT STDMETHODCALLTYPE StringRegister(
  189. /* [in] */ LPCOLESTR data) = 0;
  190. virtual HRESULT STDMETHODCALLTYPE StringUnregister(
  191. /* [in] */ LPCOLESTR data) = 0;
  192. virtual HRESULT STDMETHODCALLTYPE ResourceRegister(
  193. /* [in] */ LPCOLESTR resFileName,
  194. /* [in] */ UINT nID,
  195. /* [in] */ LPCOLESTR szType) = 0;
  196. virtual HRESULT STDMETHODCALLTYPE ResourceUnregister(
  197. /* [in] */ LPCOLESTR resFileName,
  198. /* [in] */ UINT nID,
  199. /* [in] */ LPCOLESTR szType) = 0;
  200. };
  201. #else /* C style interface */
  202. typedef struct IRegistrarVtbl
  203. {
  204. BEGIN_INTERFACE
  205. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  206. IRegistrar * This,
  207. /* [in] */ REFIID riid,
  208. /* [iid_is][out] */ void **ppvObject);
  209. ULONG ( STDMETHODCALLTYPE *AddRef )(
  210. IRegistrar * This);
  211. ULONG ( STDMETHODCALLTYPE *Release )(
  212. IRegistrar * This);
  213. HRESULT ( STDMETHODCALLTYPE *AddReplacement )(
  214. IRegistrar * This,
  215. /* [in] */ LPCOLESTR key,
  216. /* [in] */ LPCOLESTR item);
  217. HRESULT ( STDMETHODCALLTYPE *ClearReplacements )(
  218. IRegistrar * This);
  219. HRESULT ( STDMETHODCALLTYPE *ResourceRegisterSz )(
  220. IRegistrar * This,
  221. /* [in] */ LPCOLESTR resFileName,
  222. /* [in] */ LPCOLESTR szID,
  223. /* [in] */ LPCOLESTR szType);
  224. HRESULT ( STDMETHODCALLTYPE *ResourceUnregisterSz )(
  225. IRegistrar * This,
  226. /* [in] */ LPCOLESTR resFileName,
  227. /* [in] */ LPCOLESTR szID,
  228. /* [in] */ LPCOLESTR szType);
  229. HRESULT ( STDMETHODCALLTYPE *FileRegister )(
  230. IRegistrar * This,
  231. /* [in] */ LPCOLESTR fileName);
  232. HRESULT ( STDMETHODCALLTYPE *FileUnregister )(
  233. IRegistrar * This,
  234. /* [in] */ LPCOLESTR fileName);
  235. HRESULT ( STDMETHODCALLTYPE *StringRegister )(
  236. IRegistrar * This,
  237. /* [in] */ LPCOLESTR data);
  238. HRESULT ( STDMETHODCALLTYPE *StringUnregister )(
  239. IRegistrar * This,
  240. /* [in] */ LPCOLESTR data);
  241. HRESULT ( STDMETHODCALLTYPE *ResourceRegister )(
  242. IRegistrar * This,
  243. /* [in] */ LPCOLESTR resFileName,
  244. /* [in] */ UINT nID,
  245. /* [in] */ LPCOLESTR szType);
  246. HRESULT ( STDMETHODCALLTYPE *ResourceUnregister )(
  247. IRegistrar * This,
  248. /* [in] */ LPCOLESTR resFileName,
  249. /* [in] */ UINT nID,
  250. /* [in] */ LPCOLESTR szType);
  251. END_INTERFACE
  252. } IRegistrarVtbl;
  253. interface IRegistrar
  254. {
  255. CONST_VTBL struct IRegistrarVtbl *lpVtbl;
  256. };
  257. #ifdef COBJMACROS
  258. #define IRegistrar_QueryInterface(This,riid,ppvObject) \
  259. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  260. #define IRegistrar_AddRef(This) \
  261. (This)->lpVtbl -> AddRef(This)
  262. #define IRegistrar_Release(This) \
  263. (This)->lpVtbl -> Release(This)
  264. #define IRegistrar_AddReplacement(This,key,item) \
  265. (This)->lpVtbl -> AddReplacement(This,key,item)
  266. #define IRegistrar_ClearReplacements(This) \
  267. (This)->lpVtbl -> ClearReplacements(This)
  268. #define IRegistrar_ResourceRegisterSz(This,resFileName,szID,szType) \
  269. (This)->lpVtbl -> ResourceRegisterSz(This,resFileName,szID,szType)
  270. #define IRegistrar_ResourceUnregisterSz(This,resFileName,szID,szType) \
  271. (This)->lpVtbl -> ResourceUnregisterSz(This,resFileName,szID,szType)
  272. #define IRegistrar_FileRegister(This,fileName) \
  273. (This)->lpVtbl -> FileRegister(This,fileName)
  274. #define IRegistrar_FileUnregister(This,fileName) \
  275. (This)->lpVtbl -> FileUnregister(This,fileName)
  276. #define IRegistrar_StringRegister(This,data) \
  277. (This)->lpVtbl -> StringRegister(This,data)
  278. #define IRegistrar_StringUnregister(This,data) \
  279. (This)->lpVtbl -> StringUnregister(This,data)
  280. #define IRegistrar_ResourceRegister(This,resFileName,nID,szType) \
  281. (This)->lpVtbl -> ResourceRegister(This,resFileName,nID,szType)
  282. #define IRegistrar_ResourceUnregister(This,resFileName,nID,szType) \
  283. (This)->lpVtbl -> ResourceUnregister(This,resFileName,nID,szType)
  284. #endif /* COBJMACROS */
  285. #endif /* C style interface */
  286. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceRegisterSz_Proxy(
  287. IRegistrar * This,
  288. /* [in] */ LPCOLESTR resFileName,
  289. /* [in] */ LPCOLESTR szID,
  290. /* [in] */ LPCOLESTR szType);
  291. void __RPC_STUB IRegistrar_ResourceRegisterSz_Stub(
  292. IRpcStubBuffer *This,
  293. IRpcChannelBuffer *_pRpcChannelBuffer,
  294. PRPC_MESSAGE _pRpcMessage,
  295. DWORD *_pdwStubPhase);
  296. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceUnregisterSz_Proxy(
  297. IRegistrar * This,
  298. /* [in] */ LPCOLESTR resFileName,
  299. /* [in] */ LPCOLESTR szID,
  300. /* [in] */ LPCOLESTR szType);
  301. void __RPC_STUB IRegistrar_ResourceUnregisterSz_Stub(
  302. IRpcStubBuffer *This,
  303. IRpcChannelBuffer *_pRpcChannelBuffer,
  304. PRPC_MESSAGE _pRpcMessage,
  305. DWORD *_pdwStubPhase);
  306. HRESULT STDMETHODCALLTYPE IRegistrar_FileRegister_Proxy(
  307. IRegistrar * This,
  308. /* [in] */ LPCOLESTR fileName);
  309. void __RPC_STUB IRegistrar_FileRegister_Stub(
  310. IRpcStubBuffer *This,
  311. IRpcChannelBuffer *_pRpcChannelBuffer,
  312. PRPC_MESSAGE _pRpcMessage,
  313. DWORD *_pdwStubPhase);
  314. HRESULT STDMETHODCALLTYPE IRegistrar_FileUnregister_Proxy(
  315. IRegistrar * This,
  316. /* [in] */ LPCOLESTR fileName);
  317. void __RPC_STUB IRegistrar_FileUnregister_Stub(
  318. IRpcStubBuffer *This,
  319. IRpcChannelBuffer *_pRpcChannelBuffer,
  320. PRPC_MESSAGE _pRpcMessage,
  321. DWORD *_pdwStubPhase);
  322. HRESULT STDMETHODCALLTYPE IRegistrar_StringRegister_Proxy(
  323. IRegistrar * This,
  324. /* [in] */ LPCOLESTR data);
  325. void __RPC_STUB IRegistrar_StringRegister_Stub(
  326. IRpcStubBuffer *This,
  327. IRpcChannelBuffer *_pRpcChannelBuffer,
  328. PRPC_MESSAGE _pRpcMessage,
  329. DWORD *_pdwStubPhase);
  330. HRESULT STDMETHODCALLTYPE IRegistrar_StringUnregister_Proxy(
  331. IRegistrar * This,
  332. /* [in] */ LPCOLESTR data);
  333. void __RPC_STUB IRegistrar_StringUnregister_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceRegister_Proxy(
  339. IRegistrar * This,
  340. /* [in] */ LPCOLESTR resFileName,
  341. /* [in] */ UINT nID,
  342. /* [in] */ LPCOLESTR szType);
  343. void __RPC_STUB IRegistrar_ResourceRegister_Stub(
  344. IRpcStubBuffer *This,
  345. IRpcChannelBuffer *_pRpcChannelBuffer,
  346. PRPC_MESSAGE _pRpcMessage,
  347. DWORD *_pdwStubPhase);
  348. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceUnregister_Proxy(
  349. IRegistrar * This,
  350. /* [in] */ LPCOLESTR resFileName,
  351. /* [in] */ UINT nID,
  352. /* [in] */ LPCOLESTR szType);
  353. void __RPC_STUB IRegistrar_ResourceUnregister_Stub(
  354. IRpcStubBuffer *This,
  355. IRpcChannelBuffer *_pRpcChannelBuffer,
  356. PRPC_MESSAGE _pRpcMessage,
  357. DWORD *_pdwStubPhase);
  358. #endif /* __IRegistrar_INTERFACE_DEFINED__ */
  359. #ifndef __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__
  360. #define __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__
  361. /* interface IDocHostUIHandlerDispatch */
  362. /* [object][unique][helpstring][uuid][local] */
  363. typedef
  364. enum tagDOCHOSTUIDBLCLKDispatch
  365. { docHostUIDblClkDEFAULT = 0,
  366. docHostUIDblClkSHOWPROPERTIES = 1,
  367. docHostUIDblClkSHOWCODE = 2
  368. } DOCHOSTUIDBLCLKDispatch;
  369. typedef
  370. enum tagDocHostUIFlagDispatch
  371. { docHostUIFlagDIALOG = 1,
  372. docHostUIFlagDISABLE_HELP_MENU = 2,
  373. docHostUIFlagNO3DBORDER = 4,
  374. docHostUIFlagSCROLL_NO = 8,
  375. docHostUIFlagDISABLE_SCRIPT_INACTIVE = 16,
  376. docHostUIFlagOPENNEWWIN = 32,
  377. docHostUIFlagDISABLE_OFFSCREEN = 64,
  378. docHostUIFlagFLAT_SCROLLBAR = 128,
  379. docHostUIFlagDIV_BLOCKDEFAULT = 256,
  380. docHostUIFlagACTIVATE_CLIENTHIT_ONLY = 512
  381. } DocHostUIFlagDispatch;
  382. EXTERN_C const IID IID_IDocHostUIHandlerDispatch;
  383. #if defined(__cplusplus) && !defined(CINTERFACE)
  384. MIDL_INTERFACE("425B5AF0-65F1-11d1-9611-0000F81E0D0D")
  385. IDocHostUIHandlerDispatch : public IDispatch
  386. {
  387. public:
  388. virtual HRESULT STDMETHODCALLTYPE ShowContextMenu(
  389. /* [in] */ DWORD dwID,
  390. /* [in] */ DWORD x,
  391. /* [in] */ DWORD y,
  392. /* [in] */ IUnknown *pcmdtReserved,
  393. /* [in] */ IDispatch *pdispReserved,
  394. /* [retval][out] */ HRESULT *dwRetVal) = 0;
  395. virtual HRESULT STDMETHODCALLTYPE GetHostInfo(
  396. /* [out][in] */ DWORD *pdwFlags,
  397. /* [out][in] */ DWORD *pdwDoubleClick) = 0;
  398. virtual HRESULT STDMETHODCALLTYPE ShowUI(
  399. /* [in] */ DWORD dwID,
  400. /* [in] */ IUnknown *pActiveObject,
  401. /* [in] */ IUnknown *pCommandTarget,
  402. /* [in] */ IUnknown *pFrame,
  403. /* [in] */ IUnknown *pDoc,
  404. /* [retval][out] */ HRESULT *dwRetVal) = 0;
  405. virtual HRESULT STDMETHODCALLTYPE HideUI( void) = 0;
  406. virtual HRESULT STDMETHODCALLTYPE UpdateUI( void) = 0;
  407. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  408. /* [in] */ VARIANT_BOOL fEnable) = 0;
  409. virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
  410. /* [in] */ VARIANT_BOOL fActivate) = 0;
  411. virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
  412. /* [in] */ VARIANT_BOOL fActivate) = 0;
  413. virtual HRESULT STDMETHODCALLTYPE ResizeBorder(
  414. /* [in] */ long left,
  415. /* [in] */ long top,
  416. /* [in] */ long right,
  417. /* [in] */ long bottom,
  418. /* [in] */ IUnknown *pUIWindow,
  419. /* [in] */ VARIANT_BOOL fFrameWindow) = 0;
  420. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  421. /* [in] */ DWORD_PTR hWnd,
  422. /* [in] */ DWORD nMessage,
  423. /* [in] */ DWORD_PTR wParam,
  424. /* [in] */ DWORD_PTR lParam,
  425. /* [in] */ BSTR bstrGuidCmdGroup,
  426. /* [in] */ DWORD nCmdID,
  427. /* [retval][out] */ HRESULT *dwRetVal) = 0;
  428. virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath(
  429. /* [out] */ BSTR *pbstrKey,
  430. /* [in] */ DWORD dw) = 0;
  431. virtual HRESULT STDMETHODCALLTYPE GetDropTarget(
  432. /* [in] */ IUnknown *pDropTarget,
  433. /* [out] */ IUnknown **ppDropTarget) = 0;
  434. virtual HRESULT STDMETHODCALLTYPE GetExternal(
  435. /* [out] */ IDispatch **ppDispatch) = 0;
  436. virtual HRESULT STDMETHODCALLTYPE TranslateUrl(
  437. /* [in] */ DWORD dwTranslate,
  438. /* [in] */ BSTR bstrURLIn,
  439. /* [out] */ BSTR *pbstrURLOut) = 0;
  440. virtual HRESULT STDMETHODCALLTYPE FilterDataObject(
  441. /* [in] */ IUnknown *pDO,
  442. /* [out] */ IUnknown **ppDORet) = 0;
  443. };
  444. #else /* C style interface */
  445. typedef struct IDocHostUIHandlerDispatchVtbl
  446. {
  447. BEGIN_INTERFACE
  448. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  449. IDocHostUIHandlerDispatch * This,
  450. /* [in] */ REFIID riid,
  451. /* [iid_is][out] */ void **ppvObject);
  452. ULONG ( STDMETHODCALLTYPE *AddRef )(
  453. IDocHostUIHandlerDispatch * This);
  454. ULONG ( STDMETHODCALLTYPE *Release )(
  455. IDocHostUIHandlerDispatch * This);
  456. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  457. IDocHostUIHandlerDispatch * This,
  458. /* [out] */ UINT *pctinfo);
  459. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  460. IDocHostUIHandlerDispatch * This,
  461. /* [in] */ UINT iTInfo,
  462. /* [in] */ LCID lcid,
  463. /* [out] */ ITypeInfo **ppTInfo);
  464. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  465. IDocHostUIHandlerDispatch * This,
  466. /* [in] */ REFIID riid,
  467. /* [size_is][in] */ LPOLESTR *rgszNames,
  468. /* [in] */ UINT cNames,
  469. /* [in] */ LCID lcid,
  470. /* [size_is][out] */ DISPID *rgDispId);
  471. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  472. IDocHostUIHandlerDispatch * This,
  473. /* [in] */ DISPID dispIdMember,
  474. /* [in] */ REFIID riid,
  475. /* [in] */ LCID lcid,
  476. /* [in] */ WORD wFlags,
  477. /* [out][in] */ DISPPARAMS *pDispParams,
  478. /* [out] */ VARIANT *pVarResult,
  479. /* [out] */ EXCEPINFO *pExcepInfo,
  480. /* [out] */ UINT *puArgErr);
  481. HRESULT ( STDMETHODCALLTYPE *ShowContextMenu )(
  482. IDocHostUIHandlerDispatch * This,
  483. /* [in] */ DWORD dwID,
  484. /* [in] */ DWORD x,
  485. /* [in] */ DWORD y,
  486. /* [in] */ IUnknown *pcmdtReserved,
  487. /* [in] */ IDispatch *pdispReserved,
  488. /* [retval][out] */ HRESULT *dwRetVal);
  489. HRESULT ( STDMETHODCALLTYPE *GetHostInfo )(
  490. IDocHostUIHandlerDispatch * This,
  491. /* [out][in] */ DWORD *pdwFlags,
  492. /* [out][in] */ DWORD *pdwDoubleClick);
  493. HRESULT ( STDMETHODCALLTYPE *ShowUI )(
  494. IDocHostUIHandlerDispatch * This,
  495. /* [in] */ DWORD dwID,
  496. /* [in] */ IUnknown *pActiveObject,
  497. /* [in] */ IUnknown *pCommandTarget,
  498. /* [in] */ IUnknown *pFrame,
  499. /* [in] */ IUnknown *pDoc,
  500. /* [retval][out] */ HRESULT *dwRetVal);
  501. HRESULT ( STDMETHODCALLTYPE *HideUI )(
  502. IDocHostUIHandlerDispatch * This);
  503. HRESULT ( STDMETHODCALLTYPE *UpdateUI )(
  504. IDocHostUIHandlerDispatch * This);
  505. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  506. IDocHostUIHandlerDispatch * This,
  507. /* [in] */ VARIANT_BOOL fEnable);
  508. HRESULT ( STDMETHODCALLTYPE *OnDocWindowActivate )(
  509. IDocHostUIHandlerDispatch * This,
  510. /* [in] */ VARIANT_BOOL fActivate);
  511. HRESULT ( STDMETHODCALLTYPE *OnFrameWindowActivate )(
  512. IDocHostUIHandlerDispatch * This,
  513. /* [in] */ VARIANT_BOOL fActivate);
  514. HRESULT ( STDMETHODCALLTYPE *ResizeBorder )(
  515. IDocHostUIHandlerDispatch * This,
  516. /* [in] */ long left,
  517. /* [in] */ long top,
  518. /* [in] */ long right,
  519. /* [in] */ long bottom,
  520. /* [in] */ IUnknown *pUIWindow,
  521. /* [in] */ VARIANT_BOOL fFrameWindow);
  522. HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
  523. IDocHostUIHandlerDispatch * This,
  524. /* [in] */ DWORD_PTR hWnd,
  525. /* [in] */ DWORD nMessage,
  526. /* [in] */ DWORD_PTR wParam,
  527. /* [in] */ DWORD_PTR lParam,
  528. /* [in] */ BSTR bstrGuidCmdGroup,
  529. /* [in] */ DWORD nCmdID,
  530. /* [retval][out] */ HRESULT *dwRetVal);
  531. HRESULT ( STDMETHODCALLTYPE *GetOptionKeyPath )(
  532. IDocHostUIHandlerDispatch * This,
  533. /* [out] */ BSTR *pbstrKey,
  534. /* [in] */ DWORD dw);
  535. HRESULT ( STDMETHODCALLTYPE *GetDropTarget )(
  536. IDocHostUIHandlerDispatch * This,
  537. /* [in] */ IUnknown *pDropTarget,
  538. /* [out] */ IUnknown **ppDropTarget);
  539. HRESULT ( STDMETHODCALLTYPE *GetExternal )(
  540. IDocHostUIHandlerDispatch * This,
  541. /* [out] */ IDispatch **ppDispatch);
  542. HRESULT ( STDMETHODCALLTYPE *TranslateUrl )(
  543. IDocHostUIHandlerDispatch * This,
  544. /* [in] */ DWORD dwTranslate,
  545. /* [in] */ BSTR bstrURLIn,
  546. /* [out] */ BSTR *pbstrURLOut);
  547. HRESULT ( STDMETHODCALLTYPE *FilterDataObject )(
  548. IDocHostUIHandlerDispatch * This,
  549. /* [in] */ IUnknown *pDO,
  550. /* [out] */ IUnknown **ppDORet);
  551. END_INTERFACE
  552. } IDocHostUIHandlerDispatchVtbl;
  553. interface IDocHostUIHandlerDispatch
  554. {
  555. CONST_VTBL struct IDocHostUIHandlerDispatchVtbl *lpVtbl;
  556. };
  557. #ifdef COBJMACROS
  558. #define IDocHostUIHandlerDispatch_QueryInterface(This,riid,ppvObject) \
  559. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  560. #define IDocHostUIHandlerDispatch_AddRef(This) \
  561. (This)->lpVtbl -> AddRef(This)
  562. #define IDocHostUIHandlerDispatch_Release(This) \
  563. (This)->lpVtbl -> Release(This)
  564. #define IDocHostUIHandlerDispatch_GetTypeInfoCount(This,pctinfo) \
  565. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  566. #define IDocHostUIHandlerDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  567. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  568. #define IDocHostUIHandlerDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  569. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  570. #define IDocHostUIHandlerDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  571. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  572. #define IDocHostUIHandlerDispatch_ShowContextMenu(This,dwID,x,y,pcmdtReserved,pdispReserved,dwRetVal) \
  573. (This)->lpVtbl -> ShowContextMenu(This,dwID,x,y,pcmdtReserved,pdispReserved,dwRetVal)
  574. #define IDocHostUIHandlerDispatch_GetHostInfo(This,pdwFlags,pdwDoubleClick) \
  575. (This)->lpVtbl -> GetHostInfo(This,pdwFlags,pdwDoubleClick)
  576. #define IDocHostUIHandlerDispatch_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc,dwRetVal) \
  577. (This)->lpVtbl -> ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc,dwRetVal)
  578. #define IDocHostUIHandlerDispatch_HideUI(This) \
  579. (This)->lpVtbl -> HideUI(This)
  580. #define IDocHostUIHandlerDispatch_UpdateUI(This) \
  581. (This)->lpVtbl -> UpdateUI(This)
  582. #define IDocHostUIHandlerDispatch_EnableModeless(This,fEnable) \
  583. (This)->lpVtbl -> EnableModeless(This,fEnable)
  584. #define IDocHostUIHandlerDispatch_OnDocWindowActivate(This,fActivate) \
  585. (This)->lpVtbl -> OnDocWindowActivate(This,fActivate)
  586. #define IDocHostUIHandlerDispatch_OnFrameWindowActivate(This,fActivate) \
  587. (This)->lpVtbl -> OnFrameWindowActivate(This,fActivate)
  588. #define IDocHostUIHandlerDispatch_ResizeBorder(This,left,top,right,bottom,pUIWindow,fFrameWindow) \
  589. (This)->lpVtbl -> ResizeBorder(This,left,top,right,bottom,pUIWindow,fFrameWindow)
  590. #define IDocHostUIHandlerDispatch_TranslateAccelerator(This,hWnd,nMessage,wParam,lParam,bstrGuidCmdGroup,nCmdID,dwRetVal) \
  591. (This)->lpVtbl -> TranslateAccelerator(This,hWnd,nMessage,wParam,lParam,bstrGuidCmdGroup,nCmdID,dwRetVal)
  592. #define IDocHostUIHandlerDispatch_GetOptionKeyPath(This,pbstrKey,dw) \
  593. (This)->lpVtbl -> GetOptionKeyPath(This,pbstrKey,dw)
  594. #define IDocHostUIHandlerDispatch_GetDropTarget(This,pDropTarget,ppDropTarget) \
  595. (This)->lpVtbl -> GetDropTarget(This,pDropTarget,ppDropTarget)
  596. #define IDocHostUIHandlerDispatch_GetExternal(This,ppDispatch) \
  597. (This)->lpVtbl -> GetExternal(This,ppDispatch)
  598. #define IDocHostUIHandlerDispatch_TranslateUrl(This,dwTranslate,bstrURLIn,pbstrURLOut) \
  599. (This)->lpVtbl -> TranslateUrl(This,dwTranslate,bstrURLIn,pbstrURLOut)
  600. #define IDocHostUIHandlerDispatch_FilterDataObject(This,pDO,ppDORet) \
  601. (This)->lpVtbl -> FilterDataObject(This,pDO,ppDORet)
  602. #endif /* COBJMACROS */
  603. #endif /* C style interface */
  604. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_ShowContextMenu_Proxy(
  605. IDocHostUIHandlerDispatch * This,
  606. /* [in] */ DWORD dwID,
  607. /* [in] */ DWORD x,
  608. /* [in] */ DWORD y,
  609. /* [in] */ IUnknown *pcmdtReserved,
  610. /* [in] */ IDispatch *pdispReserved,
  611. /* [retval][out] */ HRESULT *dwRetVal);
  612. void __RPC_STUB IDocHostUIHandlerDispatch_ShowContextMenu_Stub(
  613. IRpcStubBuffer *This,
  614. IRpcChannelBuffer *_pRpcChannelBuffer,
  615. PRPC_MESSAGE _pRpcMessage,
  616. DWORD *_pdwStubPhase);
  617. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetHostInfo_Proxy(
  618. IDocHostUIHandlerDispatch * This,
  619. /* [out][in] */ DWORD *pdwFlags,
  620. /* [out][in] */ DWORD *pdwDoubleClick);
  621. void __RPC_STUB IDocHostUIHandlerDispatch_GetHostInfo_Stub(
  622. IRpcStubBuffer *This,
  623. IRpcChannelBuffer *_pRpcChannelBuffer,
  624. PRPC_MESSAGE _pRpcMessage,
  625. DWORD *_pdwStubPhase);
  626. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_ShowUI_Proxy(
  627. IDocHostUIHandlerDispatch * This,
  628. /* [in] */ DWORD dwID,
  629. /* [in] */ IUnknown *pActiveObject,
  630. /* [in] */ IUnknown *pCommandTarget,
  631. /* [in] */ IUnknown *pFrame,
  632. /* [in] */ IUnknown *pDoc,
  633. /* [retval][out] */ HRESULT *dwRetVal);
  634. void __RPC_STUB IDocHostUIHandlerDispatch_ShowUI_Stub(
  635. IRpcStubBuffer *This,
  636. IRpcChannelBuffer *_pRpcChannelBuffer,
  637. PRPC_MESSAGE _pRpcMessage,
  638. DWORD *_pdwStubPhase);
  639. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_HideUI_Proxy(
  640. IDocHostUIHandlerDispatch * This);
  641. void __RPC_STUB IDocHostUIHandlerDispatch_HideUI_Stub(
  642. IRpcStubBuffer *This,
  643. IRpcChannelBuffer *_pRpcChannelBuffer,
  644. PRPC_MESSAGE _pRpcMessage,
  645. DWORD *_pdwStubPhase);
  646. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_UpdateUI_Proxy(
  647. IDocHostUIHandlerDispatch * This);
  648. void __RPC_STUB IDocHostUIHandlerDispatch_UpdateUI_Stub(
  649. IRpcStubBuffer *This,
  650. IRpcChannelBuffer *_pRpcChannelBuffer,
  651. PRPC_MESSAGE _pRpcMessage,
  652. DWORD *_pdwStubPhase);
  653. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_EnableModeless_Proxy(
  654. IDocHostUIHandlerDispatch * This,
  655. /* [in] */ VARIANT_BOOL fEnable);
  656. void __RPC_STUB IDocHostUIHandlerDispatch_EnableModeless_Stub(
  657. IRpcStubBuffer *This,
  658. IRpcChannelBuffer *_pRpcChannelBuffer,
  659. PRPC_MESSAGE _pRpcMessage,
  660. DWORD *_pdwStubPhase);
  661. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_OnDocWindowActivate_Proxy(
  662. IDocHostUIHandlerDispatch * This,
  663. /* [in] */ VARIANT_BOOL fActivate);
  664. void __RPC_STUB IDocHostUIHandlerDispatch_OnDocWindowActivate_Stub(
  665. IRpcStubBuffer *This,
  666. IRpcChannelBuffer *_pRpcChannelBuffer,
  667. PRPC_MESSAGE _pRpcMessage,
  668. DWORD *_pdwStubPhase);
  669. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_OnFrameWindowActivate_Proxy(
  670. IDocHostUIHandlerDispatch * This,
  671. /* [in] */ VARIANT_BOOL fActivate);
  672. void __RPC_STUB IDocHostUIHandlerDispatch_OnFrameWindowActivate_Stub(
  673. IRpcStubBuffer *This,
  674. IRpcChannelBuffer *_pRpcChannelBuffer,
  675. PRPC_MESSAGE _pRpcMessage,
  676. DWORD *_pdwStubPhase);
  677. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_ResizeBorder_Proxy(
  678. IDocHostUIHandlerDispatch * This,
  679. /* [in] */ long left,
  680. /* [in] */ long top,
  681. /* [in] */ long right,
  682. /* [in] */ long bottom,
  683. /* [in] */ IUnknown *pUIWindow,
  684. /* [in] */ VARIANT_BOOL fFrameWindow);
  685. void __RPC_STUB IDocHostUIHandlerDispatch_ResizeBorder_Stub(
  686. IRpcStubBuffer *This,
  687. IRpcChannelBuffer *_pRpcChannelBuffer,
  688. PRPC_MESSAGE _pRpcMessage,
  689. DWORD *_pdwStubPhase);
  690. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_TranslateAccelerator_Proxy(
  691. IDocHostUIHandlerDispatch * This,
  692. /* [in] */ DWORD_PTR hWnd,
  693. /* [in] */ DWORD nMessage,
  694. /* [in] */ DWORD_PTR wParam,
  695. /* [in] */ DWORD_PTR lParam,
  696. /* [in] */ BSTR bstrGuidCmdGroup,
  697. /* [in] */ DWORD nCmdID,
  698. /* [retval][out] */ HRESULT *dwRetVal);
  699. void __RPC_STUB IDocHostUIHandlerDispatch_TranslateAccelerator_Stub(
  700. IRpcStubBuffer *This,
  701. IRpcChannelBuffer *_pRpcChannelBuffer,
  702. PRPC_MESSAGE _pRpcMessage,
  703. DWORD *_pdwStubPhase);
  704. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetOptionKeyPath_Proxy(
  705. IDocHostUIHandlerDispatch * This,
  706. /* [out] */ BSTR *pbstrKey,
  707. /* [in] */ DWORD dw);
  708. void __RPC_STUB IDocHostUIHandlerDispatch_GetOptionKeyPath_Stub(
  709. IRpcStubBuffer *This,
  710. IRpcChannelBuffer *_pRpcChannelBuffer,
  711. PRPC_MESSAGE _pRpcMessage,
  712. DWORD *_pdwStubPhase);
  713. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetDropTarget_Proxy(
  714. IDocHostUIHandlerDispatch * This,
  715. /* [in] */ IUnknown *pDropTarget,
  716. /* [out] */ IUnknown **ppDropTarget);
  717. void __RPC_STUB IDocHostUIHandlerDispatch_GetDropTarget_Stub(
  718. IRpcStubBuffer *This,
  719. IRpcChannelBuffer *_pRpcChannelBuffer,
  720. PRPC_MESSAGE _pRpcMessage,
  721. DWORD *_pdwStubPhase);
  722. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetExternal_Proxy(
  723. IDocHostUIHandlerDispatch * This,
  724. /* [out] */ IDispatch **ppDispatch);
  725. void __RPC_STUB IDocHostUIHandlerDispatch_GetExternal_Stub(
  726. IRpcStubBuffer *This,
  727. IRpcChannelBuffer *_pRpcChannelBuffer,
  728. PRPC_MESSAGE _pRpcMessage,
  729. DWORD *_pdwStubPhase);
  730. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_TranslateUrl_Proxy(
  731. IDocHostUIHandlerDispatch * This,
  732. /* [in] */ DWORD dwTranslate,
  733. /* [in] */ BSTR bstrURLIn,
  734. /* [out] */ BSTR *pbstrURLOut);
  735. void __RPC_STUB IDocHostUIHandlerDispatch_TranslateUrl_Stub(
  736. IRpcStubBuffer *This,
  737. IRpcChannelBuffer *_pRpcChannelBuffer,
  738. PRPC_MESSAGE _pRpcMessage,
  739. DWORD *_pdwStubPhase);
  740. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_FilterDataObject_Proxy(
  741. IDocHostUIHandlerDispatch * This,
  742. /* [in] */ IUnknown *pDO,
  743. /* [out] */ IUnknown **ppDORet);
  744. void __RPC_STUB IDocHostUIHandlerDispatch_FilterDataObject_Stub(
  745. IRpcStubBuffer *This,
  746. IRpcChannelBuffer *_pRpcChannelBuffer,
  747. PRPC_MESSAGE _pRpcMessage,
  748. DWORD *_pdwStubPhase);
  749. #endif /* __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__ */
  750. #ifndef __IAxWinHostWindow_INTERFACE_DEFINED__
  751. #define __IAxWinHostWindow_INTERFACE_DEFINED__
  752. /* interface IAxWinHostWindow */
  753. /* [object][unique][helpstring][uuid] */
  754. EXTERN_C const IID IID_IAxWinHostWindow;
  755. #if defined(__cplusplus) && !defined(CINTERFACE)
  756. MIDL_INTERFACE("B6EA2050-048A-11d1-82B9-00C04FB9942E")
  757. IAxWinHostWindow : public IUnknown
  758. {
  759. public:
  760. virtual HRESULT STDMETHODCALLTYPE CreateControl(
  761. /* [in] */ LPCOLESTR lpTricsData,
  762. /* [in] */ HWND hWnd,
  763. /* [in] */ IStream *pStream) = 0;
  764. virtual HRESULT STDMETHODCALLTYPE CreateControlEx(
  765. /* [in] */ LPCOLESTR lpTricsData,
  766. /* [in] */ HWND hWnd,
  767. /* [in] */ IStream *pStream,
  768. /* [out] */ IUnknown **ppUnk,
  769. /* [in] */ REFIID riidAdvise,
  770. /* [in] */ IUnknown *punkAdvise) = 0;
  771. virtual HRESULT STDMETHODCALLTYPE AttachControl(
  772. /* [in] */ IUnknown *pUnkControl,
  773. /* [in] */ HWND hWnd) = 0;
  774. virtual HRESULT STDMETHODCALLTYPE QueryControl(
  775. /* [in] */ REFIID riid,
  776. /* [iid_is][out] */ void **ppvObject) = 0;
  777. virtual HRESULT STDMETHODCALLTYPE SetExternalDispatch(
  778. /* [in] */ IDispatch *pDisp) = 0;
  779. virtual HRESULT STDMETHODCALLTYPE SetExternalUIHandler(
  780. /* [in] */ IDocHostUIHandlerDispatch *pDisp) = 0;
  781. };
  782. #else /* C style interface */
  783. typedef struct IAxWinHostWindowVtbl
  784. {
  785. BEGIN_INTERFACE
  786. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  787. IAxWinHostWindow * This,
  788. /* [in] */ REFIID riid,
  789. /* [iid_is][out] */ void **ppvObject);
  790. ULONG ( STDMETHODCALLTYPE *AddRef )(
  791. IAxWinHostWindow * This);
  792. ULONG ( STDMETHODCALLTYPE *Release )(
  793. IAxWinHostWindow * This);
  794. HRESULT ( STDMETHODCALLTYPE *CreateControl )(
  795. IAxWinHostWindow * This,
  796. /* [in] */ LPCOLESTR lpTricsData,
  797. /* [in] */ HWND hWnd,
  798. /* [in] */ IStream *pStream);
  799. HRESULT ( STDMETHODCALLTYPE *CreateControlEx )(
  800. IAxWinHostWindow * This,
  801. /* [in] */ LPCOLESTR lpTricsData,
  802. /* [in] */ HWND hWnd,
  803. /* [in] */ IStream *pStream,
  804. /* [out] */ IUnknown **ppUnk,
  805. /* [in] */ REFIID riidAdvise,
  806. /* [in] */ IUnknown *punkAdvise);
  807. HRESULT ( STDMETHODCALLTYPE *AttachControl )(
  808. IAxWinHostWindow * This,
  809. /* [in] */ IUnknown *pUnkControl,
  810. /* [in] */ HWND hWnd);
  811. HRESULT ( STDMETHODCALLTYPE *QueryControl )(
  812. IAxWinHostWindow * This,
  813. /* [in] */ REFIID riid,
  814. /* [iid_is][out] */ void **ppvObject);
  815. HRESULT ( STDMETHODCALLTYPE *SetExternalDispatch )(
  816. IAxWinHostWindow * This,
  817. /* [in] */ IDispatch *pDisp);
  818. HRESULT ( STDMETHODCALLTYPE *SetExternalUIHandler )(
  819. IAxWinHostWindow * This,
  820. /* [in] */ IDocHostUIHandlerDispatch *pDisp);
  821. END_INTERFACE
  822. } IAxWinHostWindowVtbl;
  823. interface IAxWinHostWindow
  824. {
  825. CONST_VTBL struct IAxWinHostWindowVtbl *lpVtbl;
  826. };
  827. #ifdef COBJMACROS
  828. #define IAxWinHostWindow_QueryInterface(This,riid,ppvObject) \
  829. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  830. #define IAxWinHostWindow_AddRef(This) \
  831. (This)->lpVtbl -> AddRef(This)
  832. #define IAxWinHostWindow_Release(This) \
  833. (This)->lpVtbl -> Release(This)
  834. #define IAxWinHostWindow_CreateControl(This,lpTricsData,hWnd,pStream) \
  835. (This)->lpVtbl -> CreateControl(This,lpTricsData,hWnd,pStream)
  836. #define IAxWinHostWindow_CreateControlEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise) \
  837. (This)->lpVtbl -> CreateControlEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise)
  838. #define IAxWinHostWindow_AttachControl(This,pUnkControl,hWnd) \
  839. (This)->lpVtbl -> AttachControl(This,pUnkControl,hWnd)
  840. #define IAxWinHostWindow_QueryControl(This,riid,ppvObject) \
  841. (This)->lpVtbl -> QueryControl(This,riid,ppvObject)
  842. #define IAxWinHostWindow_SetExternalDispatch(This,pDisp) \
  843. (This)->lpVtbl -> SetExternalDispatch(This,pDisp)
  844. #define IAxWinHostWindow_SetExternalUIHandler(This,pDisp) \
  845. (This)->lpVtbl -> SetExternalUIHandler(This,pDisp)
  846. #endif /* COBJMACROS */
  847. #endif /* C style interface */
  848. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_CreateControl_Proxy(
  849. IAxWinHostWindow * This,
  850. /* [in] */ LPCOLESTR lpTricsData,
  851. /* [in] */ HWND hWnd,
  852. /* [in] */ IStream *pStream);
  853. void __RPC_STUB IAxWinHostWindow_CreateControl_Stub(
  854. IRpcStubBuffer *This,
  855. IRpcChannelBuffer *_pRpcChannelBuffer,
  856. PRPC_MESSAGE _pRpcMessage,
  857. DWORD *_pdwStubPhase);
  858. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_CreateControlEx_Proxy(
  859. IAxWinHostWindow * This,
  860. /* [in] */ LPCOLESTR lpTricsData,
  861. /* [in] */ HWND hWnd,
  862. /* [in] */ IStream *pStream,
  863. /* [out] */ IUnknown **ppUnk,
  864. /* [in] */ REFIID riidAdvise,
  865. /* [in] */ IUnknown *punkAdvise);
  866. void __RPC_STUB IAxWinHostWindow_CreateControlEx_Stub(
  867. IRpcStubBuffer *This,
  868. IRpcChannelBuffer *_pRpcChannelBuffer,
  869. PRPC_MESSAGE _pRpcMessage,
  870. DWORD *_pdwStubPhase);
  871. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_AttachControl_Proxy(
  872. IAxWinHostWindow * This,
  873. /* [in] */ IUnknown *pUnkControl,
  874. /* [in] */ HWND hWnd);
  875. void __RPC_STUB IAxWinHostWindow_AttachControl_Stub(
  876. IRpcStubBuffer *This,
  877. IRpcChannelBuffer *_pRpcChannelBuffer,
  878. PRPC_MESSAGE _pRpcMessage,
  879. DWORD *_pdwStubPhase);
  880. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_QueryControl_Proxy(
  881. IAxWinHostWindow * This,
  882. /* [in] */ REFIID riid,
  883. /* [iid_is][out] */ void **ppvObject);
  884. void __RPC_STUB IAxWinHostWindow_QueryControl_Stub(
  885. IRpcStubBuffer *This,
  886. IRpcChannelBuffer *_pRpcChannelBuffer,
  887. PRPC_MESSAGE _pRpcMessage,
  888. DWORD *_pdwStubPhase);
  889. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_SetExternalDispatch_Proxy(
  890. IAxWinHostWindow * This,
  891. /* [in] */ IDispatch *pDisp);
  892. void __RPC_STUB IAxWinHostWindow_SetExternalDispatch_Stub(
  893. IRpcStubBuffer *This,
  894. IRpcChannelBuffer *_pRpcChannelBuffer,
  895. PRPC_MESSAGE _pRpcMessage,
  896. DWORD *_pdwStubPhase);
  897. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_SetExternalUIHandler_Proxy(
  898. IAxWinHostWindow * This,
  899. /* [in] */ IDocHostUIHandlerDispatch *pDisp);
  900. void __RPC_STUB IAxWinHostWindow_SetExternalUIHandler_Stub(
  901. IRpcStubBuffer *This,
  902. IRpcChannelBuffer *_pRpcChannelBuffer,
  903. PRPC_MESSAGE _pRpcMessage,
  904. DWORD *_pdwStubPhase);
  905. #endif /* __IAxWinHostWindow_INTERFACE_DEFINED__ */
  906. #ifndef __IAxWinHostWindowLic_INTERFACE_DEFINED__
  907. #define __IAxWinHostWindowLic_INTERFACE_DEFINED__
  908. /* interface IAxWinHostWindowLic */
  909. /* [object][unique][helpstring][uuid] */
  910. EXTERN_C const IID IID_IAxWinHostWindowLic;
  911. #if defined(__cplusplus) && !defined(CINTERFACE)
  912. MIDL_INTERFACE("3935BDA8-4ED9-495c-8650-E01FC1E38A4B")
  913. IAxWinHostWindowLic : public IAxWinHostWindow
  914. {
  915. public:
  916. virtual HRESULT STDMETHODCALLTYPE CreateControlLic(
  917. /* [in] */ LPCOLESTR lpTricsData,
  918. /* [in] */ HWND hWnd,
  919. /* [in] */ IStream *pStream,
  920. /* [in] */ BSTR bstrLic) = 0;
  921. virtual HRESULT STDMETHODCALLTYPE CreateControlLicEx(
  922. /* [in] */ LPCOLESTR lpTricsData,
  923. /* [in] */ HWND hWnd,
  924. /* [in] */ IStream *pStream,
  925. /* [out] */ IUnknown **ppUnk,
  926. /* [in] */ REFIID riidAdvise,
  927. /* [in] */ IUnknown *punkAdvise,
  928. /* [in] */ BSTR bstrLic) = 0;
  929. };
  930. #else /* C style interface */
  931. typedef struct IAxWinHostWindowLicVtbl
  932. {
  933. BEGIN_INTERFACE
  934. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  935. IAxWinHostWindowLic * This,
  936. /* [in] */ REFIID riid,
  937. /* [iid_is][out] */ void **ppvObject);
  938. ULONG ( STDMETHODCALLTYPE *AddRef )(
  939. IAxWinHostWindowLic * This);
  940. ULONG ( STDMETHODCALLTYPE *Release )(
  941. IAxWinHostWindowLic * This);
  942. HRESULT ( STDMETHODCALLTYPE *CreateControl )(
  943. IAxWinHostWindowLic * This,
  944. /* [in] */ LPCOLESTR lpTricsData,
  945. /* [in] */ HWND hWnd,
  946. /* [in] */ IStream *pStream);
  947. HRESULT ( STDMETHODCALLTYPE *CreateControlEx )(
  948. IAxWinHostWindowLic * This,
  949. /* [in] */ LPCOLESTR lpTricsData,
  950. /* [in] */ HWND hWnd,
  951. /* [in] */ IStream *pStream,
  952. /* [out] */ IUnknown **ppUnk,
  953. /* [in] */ REFIID riidAdvise,
  954. /* [in] */ IUnknown *punkAdvise);
  955. HRESULT ( STDMETHODCALLTYPE *AttachControl )(
  956. IAxWinHostWindowLic * This,
  957. /* [in] */ IUnknown *pUnkControl,
  958. /* [in] */ HWND hWnd);
  959. HRESULT ( STDMETHODCALLTYPE *QueryControl )(
  960. IAxWinHostWindowLic * This,
  961. /* [in] */ REFIID riid,
  962. /* [iid_is][out] */ void **ppvObject);
  963. HRESULT ( STDMETHODCALLTYPE *SetExternalDispatch )(
  964. IAxWinHostWindowLic * This,
  965. /* [in] */ IDispatch *pDisp);
  966. HRESULT ( STDMETHODCALLTYPE *SetExternalUIHandler )(
  967. IAxWinHostWindowLic * This,
  968. /* [in] */ IDocHostUIHandlerDispatch *pDisp);
  969. HRESULT ( STDMETHODCALLTYPE *CreateControlLic )(
  970. IAxWinHostWindowLic * This,
  971. /* [in] */ LPCOLESTR lpTricsData,
  972. /* [in] */ HWND hWnd,
  973. /* [in] */ IStream *pStream,
  974. /* [in] */ BSTR bstrLic);
  975. HRESULT ( STDMETHODCALLTYPE *CreateControlLicEx )(
  976. IAxWinHostWindowLic * This,
  977. /* [in] */ LPCOLESTR lpTricsData,
  978. /* [in] */ HWND hWnd,
  979. /* [in] */ IStream *pStream,
  980. /* [out] */ IUnknown **ppUnk,
  981. /* [in] */ REFIID riidAdvise,
  982. /* [in] */ IUnknown *punkAdvise,
  983. /* [in] */ BSTR bstrLic);
  984. END_INTERFACE
  985. } IAxWinHostWindowLicVtbl;
  986. interface IAxWinHostWindowLic
  987. {
  988. CONST_VTBL struct IAxWinHostWindowLicVtbl *lpVtbl;
  989. };
  990. #ifdef COBJMACROS
  991. #define IAxWinHostWindowLic_QueryInterface(This,riid,ppvObject) \
  992. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  993. #define IAxWinHostWindowLic_AddRef(This) \
  994. (This)->lpVtbl -> AddRef(This)
  995. #define IAxWinHostWindowLic_Release(This) \
  996. (This)->lpVtbl -> Release(This)
  997. #define IAxWinHostWindowLic_CreateControl(This,lpTricsData,hWnd,pStream) \
  998. (This)->lpVtbl -> CreateControl(This,lpTricsData,hWnd,pStream)
  999. #define IAxWinHostWindowLic_CreateControlEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise) \
  1000. (This)->lpVtbl -> CreateControlEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise)
  1001. #define IAxWinHostWindowLic_AttachControl(This,pUnkControl,hWnd) \
  1002. (This)->lpVtbl -> AttachControl(This,pUnkControl,hWnd)
  1003. #define IAxWinHostWindowLic_QueryControl(This,riid,ppvObject) \
  1004. (This)->lpVtbl -> QueryControl(This,riid,ppvObject)
  1005. #define IAxWinHostWindowLic_SetExternalDispatch(This,pDisp) \
  1006. (This)->lpVtbl -> SetExternalDispatch(This,pDisp)
  1007. #define IAxWinHostWindowLic_SetExternalUIHandler(This,pDisp) \
  1008. (This)->lpVtbl -> SetExternalUIHandler(This,pDisp)
  1009. #define IAxWinHostWindowLic_CreateControlLic(This,lpTricsData,hWnd,pStream,bstrLic) \
  1010. (This)->lpVtbl -> CreateControlLic(This,lpTricsData,hWnd,pStream,bstrLic)
  1011. #define IAxWinHostWindowLic_CreateControlLicEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise,bstrLic) \
  1012. (This)->lpVtbl -> CreateControlLicEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise,bstrLic)
  1013. #endif /* COBJMACROS */
  1014. #endif /* C style interface */
  1015. HRESULT STDMETHODCALLTYPE IAxWinHostWindowLic_CreateControlLic_Proxy(
  1016. IAxWinHostWindowLic * This,
  1017. /* [in] */ LPCOLESTR lpTricsData,
  1018. /* [in] */ HWND hWnd,
  1019. /* [in] */ IStream *pStream,
  1020. /* [in] */ BSTR bstrLic);
  1021. void __RPC_STUB IAxWinHostWindowLic_CreateControlLic_Stub(
  1022. IRpcStubBuffer *This,
  1023. IRpcChannelBuffer *_pRpcChannelBuffer,
  1024. PRPC_MESSAGE _pRpcMessage,
  1025. DWORD *_pdwStubPhase);
  1026. HRESULT STDMETHODCALLTYPE IAxWinHostWindowLic_CreateControlLicEx_Proxy(
  1027. IAxWinHostWindowLic * This,
  1028. /* [in] */ LPCOLESTR lpTricsData,
  1029. /* [in] */ HWND hWnd,
  1030. /* [in] */ IStream *pStream,
  1031. /* [out] */ IUnknown **ppUnk,
  1032. /* [in] */ REFIID riidAdvise,
  1033. /* [in] */ IUnknown *punkAdvise,
  1034. /* [in] */ BSTR bstrLic);
  1035. void __RPC_STUB IAxWinHostWindowLic_CreateControlLicEx_Stub(
  1036. IRpcStubBuffer *This,
  1037. IRpcChannelBuffer *_pRpcChannelBuffer,
  1038. PRPC_MESSAGE _pRpcMessage,
  1039. DWORD *_pdwStubPhase);
  1040. #endif /* __IAxWinHostWindowLic_INTERFACE_DEFINED__ */
  1041. #ifndef __IAxWinAmbientDispatch_INTERFACE_DEFINED__
  1042. #define __IAxWinAmbientDispatch_INTERFACE_DEFINED__
  1043. /* interface IAxWinAmbientDispatch */
  1044. /* [unique][helpstring][uuid][dual][object] */
  1045. EXTERN_C const IID IID_IAxWinAmbientDispatch;
  1046. #if defined(__cplusplus) && !defined(CINTERFACE)
  1047. MIDL_INTERFACE("B6EA2051-048A-11d1-82B9-00C04FB9942E")
  1048. IAxWinAmbientDispatch : public IDispatch
  1049. {
  1050. public:
  1051. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowWindowlessActivation(
  1052. /* [in] */ VARIANT_BOOL bCanWindowlessActivate) = 0;
  1053. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowWindowlessActivation(
  1054. /* [retval][out] */ VARIANT_BOOL *pbCanWindowlessActivate) = 0;
  1055. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_BackColor(
  1056. /* [in] */ OLE_COLOR clrBackground) = 0;
  1057. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BackColor(
  1058. /* [retval][out] */ OLE_COLOR *pclrBackground) = 0;
  1059. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ForeColor(
  1060. /* [in] */ OLE_COLOR clrForeground) = 0;
  1061. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ForeColor(
  1062. /* [retval][out] */ OLE_COLOR *pclrForeground) = 0;
  1063. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocaleID(
  1064. /* [in] */ LCID lcidLocaleID) = 0;
  1065. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocaleID(
  1066. /* [retval][out] */ LCID *plcidLocaleID) = 0;
  1067. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_UserMode(
  1068. /* [in] */ VARIANT_BOOL bUserMode) = 0;
  1069. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_UserMode(
  1070. /* [retval][out] */ VARIANT_BOOL *pbUserMode) = 0;
  1071. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DisplayAsDefault(
  1072. /* [in] */ VARIANT_BOOL bDisplayAsDefault) = 0;
  1073. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayAsDefault(
  1074. /* [retval][out] */ VARIANT_BOOL *pbDisplayAsDefault) = 0;
  1075. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Font(
  1076. /* [in] */ IFontDisp *pFont) = 0;
  1077. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Font(
  1078. /* [retval][out] */ IFontDisp **pFont) = 0;
  1079. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_MessageReflect(
  1080. /* [in] */ VARIANT_BOOL bMsgReflect) = 0;
  1081. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MessageReflect(
  1082. /* [retval][out] */ VARIANT_BOOL *pbMsgReflect) = 0;
  1083. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ShowGrabHandles(
  1084. /* [retval][out] */ VARIANT_BOOL *pbShowGrabHandles) = 0;
  1085. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ShowHatching(
  1086. /* [retval][out] */ VARIANT_BOOL *pbShowHatching) = 0;
  1087. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DocHostFlags(
  1088. /* [in] */ DWORD dwDocHostFlags) = 0;
  1089. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DocHostFlags(
  1090. /* [retval][out] */ DWORD *pdwDocHostFlags) = 0;
  1091. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DocHostDoubleClickFlags(
  1092. /* [in] */ DWORD dwDocHostDoubleClickFlags) = 0;
  1093. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DocHostDoubleClickFlags(
  1094. /* [retval][out] */ DWORD *pdwDocHostDoubleClickFlags) = 0;
  1095. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowContextMenu(
  1096. /* [in] */ VARIANT_BOOL bAllowContextMenu) = 0;
  1097. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowContextMenu(
  1098. /* [retval][out] */ VARIANT_BOOL *pbAllowContextMenu) = 0;
  1099. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowShowUI(
  1100. /* [in] */ VARIANT_BOOL bAllowShowUI) = 0;
  1101. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowShowUI(
  1102. /* [retval][out] */ VARIANT_BOOL *pbAllowShowUI) = 0;
  1103. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_OptionKeyPath(
  1104. /* [in] */ BSTR bstrOptionKeyPath) = 0;
  1105. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_OptionKeyPath(
  1106. /* [retval][out] */ BSTR *pbstrOptionKeyPath) = 0;
  1107. };
  1108. #else /* C style interface */
  1109. typedef struct IAxWinAmbientDispatchVtbl
  1110. {
  1111. BEGIN_INTERFACE
  1112. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1113. IAxWinAmbientDispatch * This,
  1114. /* [in] */ REFIID riid,
  1115. /* [iid_is][out] */ void **ppvObject);
  1116. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1117. IAxWinAmbientDispatch * This);
  1118. ULONG ( STDMETHODCALLTYPE *Release )(
  1119. IAxWinAmbientDispatch * This);
  1120. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1121. IAxWinAmbientDispatch * This,
  1122. /* [out] */ UINT *pctinfo);
  1123. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1124. IAxWinAmbientDispatch * This,
  1125. /* [in] */ UINT iTInfo,
  1126. /* [in] */ LCID lcid,
  1127. /* [out] */ ITypeInfo **ppTInfo);
  1128. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1129. IAxWinAmbientDispatch * This,
  1130. /* [in] */ REFIID riid,
  1131. /* [size_is][in] */ LPOLESTR *rgszNames,
  1132. /* [in] */ UINT cNames,
  1133. /* [in] */ LCID lcid,
  1134. /* [size_is][out] */ DISPID *rgDispId);
  1135. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1136. IAxWinAmbientDispatch * This,
  1137. /* [in] */ DISPID dispIdMember,
  1138. /* [in] */ REFIID riid,
  1139. /* [in] */ LCID lcid,
  1140. /* [in] */ WORD wFlags,
  1141. /* [out][in] */ DISPPARAMS *pDispParams,
  1142. /* [out] */ VARIANT *pVarResult,
  1143. /* [out] */ EXCEPINFO *pExcepInfo,
  1144. /* [out] */ UINT *puArgErr);
  1145. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowWindowlessActivation )(
  1146. IAxWinAmbientDispatch * This,
  1147. /* [in] */ VARIANT_BOOL bCanWindowlessActivate);
  1148. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowWindowlessActivation )(
  1149. IAxWinAmbientDispatch * This,
  1150. /* [retval][out] */ VARIANT_BOOL *pbCanWindowlessActivate);
  1151. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BackColor )(
  1152. IAxWinAmbientDispatch * This,
  1153. /* [in] */ OLE_COLOR clrBackground);
  1154. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BackColor )(
  1155. IAxWinAmbientDispatch * This,
  1156. /* [retval][out] */ OLE_COLOR *pclrBackground);
  1157. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ForeColor )(
  1158. IAxWinAmbientDispatch * This,
  1159. /* [in] */ OLE_COLOR clrForeground);
  1160. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForeColor )(
  1161. IAxWinAmbientDispatch * This,
  1162. /* [retval][out] */ OLE_COLOR *pclrForeground);
  1163. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LocaleID )(
  1164. IAxWinAmbientDispatch * This,
  1165. /* [in] */ LCID lcidLocaleID);
  1166. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocaleID )(
  1167. IAxWinAmbientDispatch * This,
  1168. /* [retval][out] */ LCID *plcidLocaleID);
  1169. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserMode )(
  1170. IAxWinAmbientDispatch * This,
  1171. /* [in] */ VARIANT_BOOL bUserMode);
  1172. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserMode )(
  1173. IAxWinAmbientDispatch * This,
  1174. /* [retval][out] */ VARIANT_BOOL *pbUserMode);
  1175. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayAsDefault )(
  1176. IAxWinAmbientDispatch * This,
  1177. /* [in] */ VARIANT_BOOL bDisplayAsDefault);
  1178. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayAsDefault )(
  1179. IAxWinAmbientDispatch * This,
  1180. /* [retval][out] */ VARIANT_BOOL *pbDisplayAsDefault);
  1181. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Font )(
  1182. IAxWinAmbientDispatch * This,
  1183. /* [in] */ IFontDisp *pFont);
  1184. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Font )(
  1185. IAxWinAmbientDispatch * This,
  1186. /* [retval][out] */ IFontDisp **pFont);
  1187. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageReflect )(
  1188. IAxWinAmbientDispatch * This,
  1189. /* [in] */ VARIANT_BOOL bMsgReflect);
  1190. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageReflect )(
  1191. IAxWinAmbientDispatch * This,
  1192. /* [retval][out] */ VARIANT_BOOL *pbMsgReflect);
  1193. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ShowGrabHandles )(
  1194. IAxWinAmbientDispatch * This,
  1195. /* [retval][out] */ VARIANT_BOOL *pbShowGrabHandles);
  1196. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ShowHatching )(
  1197. IAxWinAmbientDispatch * This,
  1198. /* [retval][out] */ VARIANT_BOOL *pbShowHatching);
  1199. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DocHostFlags )(
  1200. IAxWinAmbientDispatch * This,
  1201. /* [in] */ DWORD dwDocHostFlags);
  1202. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocHostFlags )(
  1203. IAxWinAmbientDispatch * This,
  1204. /* [retval][out] */ DWORD *pdwDocHostFlags);
  1205. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DocHostDoubleClickFlags )(
  1206. IAxWinAmbientDispatch * This,
  1207. /* [in] */ DWORD dwDocHostDoubleClickFlags);
  1208. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocHostDoubleClickFlags )(
  1209. IAxWinAmbientDispatch * This,
  1210. /* [retval][out] */ DWORD *pdwDocHostDoubleClickFlags);
  1211. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowContextMenu )(
  1212. IAxWinAmbientDispatch * This,
  1213. /* [in] */ VARIANT_BOOL bAllowContextMenu);
  1214. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowContextMenu )(
  1215. IAxWinAmbientDispatch * This,
  1216. /* [retval][out] */ VARIANT_BOOL *pbAllowContextMenu);
  1217. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowShowUI )(
  1218. IAxWinAmbientDispatch * This,
  1219. /* [in] */ VARIANT_BOOL bAllowShowUI);
  1220. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowShowUI )(
  1221. IAxWinAmbientDispatch * This,
  1222. /* [retval][out] */ VARIANT_BOOL *pbAllowShowUI);
  1223. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OptionKeyPath )(
  1224. IAxWinAmbientDispatch * This,
  1225. /* [in] */ BSTR bstrOptionKeyPath);
  1226. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OptionKeyPath )(
  1227. IAxWinAmbientDispatch * This,
  1228. /* [retval][out] */ BSTR *pbstrOptionKeyPath);
  1229. END_INTERFACE
  1230. } IAxWinAmbientDispatchVtbl;
  1231. interface IAxWinAmbientDispatch
  1232. {
  1233. CONST_VTBL struct IAxWinAmbientDispatchVtbl *lpVtbl;
  1234. };
  1235. #ifdef COBJMACROS
  1236. #define IAxWinAmbientDispatch_QueryInterface(This,riid,ppvObject) \
  1237. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1238. #define IAxWinAmbientDispatch_AddRef(This) \
  1239. (This)->lpVtbl -> AddRef(This)
  1240. #define IAxWinAmbientDispatch_Release(This) \
  1241. (This)->lpVtbl -> Release(This)
  1242. #define IAxWinAmbientDispatch_GetTypeInfoCount(This,pctinfo) \
  1243. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1244. #define IAxWinAmbientDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1245. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1246. #define IAxWinAmbientDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1247. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1248. #define IAxWinAmbientDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1249. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1250. #define IAxWinAmbientDispatch_put_AllowWindowlessActivation(This,bCanWindowlessActivate) \
  1251. (This)->lpVtbl -> put_AllowWindowlessActivation(This,bCanWindowlessActivate)
  1252. #define IAxWinAmbientDispatch_get_AllowWindowlessActivation(This,pbCanWindowlessActivate) \
  1253. (This)->lpVtbl -> get_AllowWindowlessActivation(This,pbCanWindowlessActivate)
  1254. #define IAxWinAmbientDispatch_put_BackColor(This,clrBackground) \
  1255. (This)->lpVtbl -> put_BackColor(This,clrBackground)
  1256. #define IAxWinAmbientDispatch_get_BackColor(This,pclrBackground) \
  1257. (This)->lpVtbl -> get_BackColor(This,pclrBackground)
  1258. #define IAxWinAmbientDispatch_put_ForeColor(This,clrForeground) \
  1259. (This)->lpVtbl -> put_ForeColor(This,clrForeground)
  1260. #define IAxWinAmbientDispatch_get_ForeColor(This,pclrForeground) \
  1261. (This)->lpVtbl -> get_ForeColor(This,pclrForeground)
  1262. #define IAxWinAmbientDispatch_put_LocaleID(This,lcidLocaleID) \
  1263. (This)->lpVtbl -> put_LocaleID(This,lcidLocaleID)
  1264. #define IAxWinAmbientDispatch_get_LocaleID(This,plcidLocaleID) \
  1265. (This)->lpVtbl -> get_LocaleID(This,plcidLocaleID)
  1266. #define IAxWinAmbientDispatch_put_UserMode(This,bUserMode) \
  1267. (This)->lpVtbl -> put_UserMode(This,bUserMode)
  1268. #define IAxWinAmbientDispatch_get_UserMode(This,pbUserMode) \
  1269. (This)->lpVtbl -> get_UserMode(This,pbUserMode)
  1270. #define IAxWinAmbientDispatch_put_DisplayAsDefault(This,bDisplayAsDefault) \
  1271. (This)->lpVtbl -> put_DisplayAsDefault(This,bDisplayAsDefault)
  1272. #define IAxWinAmbientDispatch_get_DisplayAsDefault(This,pbDisplayAsDefault) \
  1273. (This)->lpVtbl -> get_DisplayAsDefault(This,pbDisplayAsDefault)
  1274. #define IAxWinAmbientDispatch_put_Font(This,pFont) \
  1275. (This)->lpVtbl -> put_Font(This,pFont)
  1276. #define IAxWinAmbientDispatch_get_Font(This,pFont) \
  1277. (This)->lpVtbl -> get_Font(This,pFont)
  1278. #define IAxWinAmbientDispatch_put_MessageReflect(This,bMsgReflect) \
  1279. (This)->lpVtbl -> put_MessageReflect(This,bMsgReflect)
  1280. #define IAxWinAmbientDispatch_get_MessageReflect(This,pbMsgReflect) \
  1281. (This)->lpVtbl -> get_MessageReflect(This,pbMsgReflect)
  1282. #define IAxWinAmbientDispatch_get_ShowGrabHandles(This,pbShowGrabHandles) \
  1283. (This)->lpVtbl -> get_ShowGrabHandles(This,pbShowGrabHandles)
  1284. #define IAxWinAmbientDispatch_get_ShowHatching(This,pbShowHatching) \
  1285. (This)->lpVtbl -> get_ShowHatching(This,pbShowHatching)
  1286. #define IAxWinAmbientDispatch_put_DocHostFlags(This,dwDocHostFlags) \
  1287. (This)->lpVtbl -> put_DocHostFlags(This,dwDocHostFlags)
  1288. #define IAxWinAmbientDispatch_get_DocHostFlags(This,pdwDocHostFlags) \
  1289. (This)->lpVtbl -> get_DocHostFlags(This,pdwDocHostFlags)
  1290. #define IAxWinAmbientDispatch_put_DocHostDoubleClickFlags(This,dwDocHostDoubleClickFlags) \
  1291. (This)->lpVtbl -> put_DocHostDoubleClickFlags(This,dwDocHostDoubleClickFlags)
  1292. #define IAxWinAmbientDispatch_get_DocHostDoubleClickFlags(This,pdwDocHostDoubleClickFlags) \
  1293. (This)->lpVtbl -> get_DocHostDoubleClickFlags(This,pdwDocHostDoubleClickFlags)
  1294. #define IAxWinAmbientDispatch_put_AllowContextMenu(This,bAllowContextMenu) \
  1295. (This)->lpVtbl -> put_AllowContextMenu(This,bAllowContextMenu)
  1296. #define IAxWinAmbientDispatch_get_AllowContextMenu(This,pbAllowContextMenu) \
  1297. (This)->lpVtbl -> get_AllowContextMenu(This,pbAllowContextMenu)
  1298. #define IAxWinAmbientDispatch_put_AllowShowUI(This,bAllowShowUI) \
  1299. (This)->lpVtbl -> put_AllowShowUI(This,bAllowShowUI)
  1300. #define IAxWinAmbientDispatch_get_AllowShowUI(This,pbAllowShowUI) \
  1301. (This)->lpVtbl -> get_AllowShowUI(This,pbAllowShowUI)
  1302. #define IAxWinAmbientDispatch_put_OptionKeyPath(This,bstrOptionKeyPath) \
  1303. (This)->lpVtbl -> put_OptionKeyPath(This,bstrOptionKeyPath)
  1304. #define IAxWinAmbientDispatch_get_OptionKeyPath(This,pbstrOptionKeyPath) \
  1305. (This)->lpVtbl -> get_OptionKeyPath(This,pbstrOptionKeyPath)
  1306. #endif /* COBJMACROS */
  1307. #endif /* C style interface */
  1308. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_AllowWindowlessActivation_Proxy(
  1309. IAxWinAmbientDispatch * This,
  1310. /* [in] */ VARIANT_BOOL bCanWindowlessActivate);
  1311. void __RPC_STUB IAxWinAmbientDispatch_put_AllowWindowlessActivation_Stub(
  1312. IRpcStubBuffer *This,
  1313. IRpcChannelBuffer *_pRpcChannelBuffer,
  1314. PRPC_MESSAGE _pRpcMessage,
  1315. DWORD *_pdwStubPhase);
  1316. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_AllowWindowlessActivation_Proxy(
  1317. IAxWinAmbientDispatch * This,
  1318. /* [retval][out] */ VARIANT_BOOL *pbCanWindowlessActivate);
  1319. void __RPC_STUB IAxWinAmbientDispatch_get_AllowWindowlessActivation_Stub(
  1320. IRpcStubBuffer *This,
  1321. IRpcChannelBuffer *_pRpcChannelBuffer,
  1322. PRPC_MESSAGE _pRpcMessage,
  1323. DWORD *_pdwStubPhase);
  1324. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_BackColor_Proxy(
  1325. IAxWinAmbientDispatch * This,
  1326. /* [in] */ OLE_COLOR clrBackground);
  1327. void __RPC_STUB IAxWinAmbientDispatch_put_BackColor_Stub(
  1328. IRpcStubBuffer *This,
  1329. IRpcChannelBuffer *_pRpcChannelBuffer,
  1330. PRPC_MESSAGE _pRpcMessage,
  1331. DWORD *_pdwStubPhase);
  1332. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_BackColor_Proxy(
  1333. IAxWinAmbientDispatch * This,
  1334. /* [retval][out] */ OLE_COLOR *pclrBackground);
  1335. void __RPC_STUB IAxWinAmbientDispatch_get_BackColor_Stub(
  1336. IRpcStubBuffer *This,
  1337. IRpcChannelBuffer *_pRpcChannelBuffer,
  1338. PRPC_MESSAGE _pRpcMessage,
  1339. DWORD *_pdwStubPhase);
  1340. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_ForeColor_Proxy(
  1341. IAxWinAmbientDispatch * This,
  1342. /* [in] */ OLE_COLOR clrForeground);
  1343. void __RPC_STUB IAxWinAmbientDispatch_put_ForeColor_Stub(
  1344. IRpcStubBuffer *This,
  1345. IRpcChannelBuffer *_pRpcChannelBuffer,
  1346. PRPC_MESSAGE _pRpcMessage,
  1347. DWORD *_pdwStubPhase);
  1348. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_ForeColor_Proxy(
  1349. IAxWinAmbientDispatch * This,
  1350. /* [retval][out] */ OLE_COLOR *pclrForeground);
  1351. void __RPC_STUB IAxWinAmbientDispatch_get_ForeColor_Stub(
  1352. IRpcStubBuffer *This,
  1353. IRpcChannelBuffer *_pRpcChannelBuffer,
  1354. PRPC_MESSAGE _pRpcMessage,
  1355. DWORD *_pdwStubPhase);
  1356. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_LocaleID_Proxy(
  1357. IAxWinAmbientDispatch * This,
  1358. /* [in] */ LCID lcidLocaleID);
  1359. void __RPC_STUB IAxWinAmbientDispatch_put_LocaleID_Stub(
  1360. IRpcStubBuffer *This,
  1361. IRpcChannelBuffer *_pRpcChannelBuffer,
  1362. PRPC_MESSAGE _pRpcMessage,
  1363. DWORD *_pdwStubPhase);
  1364. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_LocaleID_Proxy(
  1365. IAxWinAmbientDispatch * This,
  1366. /* [retval][out] */ LCID *plcidLocaleID);
  1367. void __RPC_STUB IAxWinAmbientDispatch_get_LocaleID_Stub(
  1368. IRpcStubBuffer *This,
  1369. IRpcChannelBuffer *_pRpcChannelBuffer,
  1370. PRPC_MESSAGE _pRpcMessage,
  1371. DWORD *_pdwStubPhase);
  1372. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_UserMode_Proxy(
  1373. IAxWinAmbientDispatch * This,
  1374. /* [in] */ VARIANT_BOOL bUserMode);
  1375. void __RPC_STUB IAxWinAmbientDispatch_put_UserMode_Stub(
  1376. IRpcStubBuffer *This,
  1377. IRpcChannelBuffer *_pRpcChannelBuffer,
  1378. PRPC_MESSAGE _pRpcMessage,
  1379. DWORD *_pdwStubPhase);
  1380. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_UserMode_Proxy(
  1381. IAxWinAmbientDispatch * This,
  1382. /* [retval][out] */ VARIANT_BOOL *pbUserMode);
  1383. void __RPC_STUB IAxWinAmbientDispatch_get_UserMode_Stub(
  1384. IRpcStubBuffer *This,
  1385. IRpcChannelBuffer *_pRpcChannelBuffer,
  1386. PRPC_MESSAGE _pRpcMessage,
  1387. DWORD *_pdwStubPhase);
  1388. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_DisplayAsDefault_Proxy(
  1389. IAxWinAmbientDispatch * This,
  1390. /* [in] */ VARIANT_BOOL bDisplayAsDefault);
  1391. void __RPC_STUB IAxWinAmbientDispatch_put_DisplayAsDefault_Stub(
  1392. IRpcStubBuffer *This,
  1393. IRpcChannelBuffer *_pRpcChannelBuffer,
  1394. PRPC_MESSAGE _pRpcMessage,
  1395. DWORD *_pdwStubPhase);
  1396. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_DisplayAsDefault_Proxy(
  1397. IAxWinAmbientDispatch * This,
  1398. /* [retval][out] */ VARIANT_BOOL *pbDisplayAsDefault);
  1399. void __RPC_STUB IAxWinAmbientDispatch_get_DisplayAsDefault_Stub(
  1400. IRpcStubBuffer *This,
  1401. IRpcChannelBuffer *_pRpcChannelBuffer,
  1402. PRPC_MESSAGE _pRpcMessage,
  1403. DWORD *_pdwStubPhase);
  1404. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_Font_Proxy(
  1405. IAxWinAmbientDispatch * This,
  1406. /* [in] */ IFontDisp *pFont);
  1407. void __RPC_STUB IAxWinAmbientDispatch_put_Font_Stub(
  1408. IRpcStubBuffer *This,
  1409. IRpcChannelBuffer *_pRpcChannelBuffer,
  1410. PRPC_MESSAGE _pRpcMessage,
  1411. DWORD *_pdwStubPhase);
  1412. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_Font_Proxy(
  1413. IAxWinAmbientDispatch * This,
  1414. /* [retval][out] */ IFontDisp **pFont);
  1415. void __RPC_STUB IAxWinAmbientDispatch_get_Font_Stub(
  1416. IRpcStubBuffer *This,
  1417. IRpcChannelBuffer *_pRpcChannelBuffer,
  1418. PRPC_MESSAGE _pRpcMessage,
  1419. DWORD *_pdwStubPhase);
  1420. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_MessageReflect_Proxy(
  1421. IAxWinAmbientDispatch * This,
  1422. /* [in] */ VARIANT_BOOL bMsgReflect);
  1423. void __RPC_STUB IAxWinAmbientDispatch_put_MessageReflect_Stub(
  1424. IRpcStubBuffer *This,
  1425. IRpcChannelBuffer *_pRpcChannelBuffer,
  1426. PRPC_MESSAGE _pRpcMessage,
  1427. DWORD *_pdwStubPhase);
  1428. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_MessageReflect_Proxy(
  1429. IAxWinAmbientDispatch * This,
  1430. /* [retval][out] */ VARIANT_BOOL *pbMsgReflect);
  1431. void __RPC_STUB IAxWinAmbientDispatch_get_MessageReflect_Stub(
  1432. IRpcStubBuffer *This,
  1433. IRpcChannelBuffer *_pRpcChannelBuffer,
  1434. PRPC_MESSAGE _pRpcMessage,
  1435. DWORD *_pdwStubPhase);
  1436. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_ShowGrabHandles_Proxy(
  1437. IAxWinAmbientDispatch * This,
  1438. /* [retval][out] */ VARIANT_BOOL *pbShowGrabHandles);
  1439. void __RPC_STUB IAxWinAmbientDispatch_get_ShowGrabHandles_Stub(
  1440. IRpcStubBuffer *This,
  1441. IRpcChannelBuffer *_pRpcChannelBuffer,
  1442. PRPC_MESSAGE _pRpcMessage,
  1443. DWORD *_pdwStubPhase);
  1444. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_ShowHatching_Proxy(
  1445. IAxWinAmbientDispatch * This,
  1446. /* [retval][out] */ VARIANT_BOOL *pbShowHatching);
  1447. void __RPC_STUB IAxWinAmbientDispatch_get_ShowHatching_Stub(
  1448. IRpcStubBuffer *This,
  1449. IRpcChannelBuffer *_pRpcChannelBuffer,
  1450. PRPC_MESSAGE _pRpcMessage,
  1451. DWORD *_pdwStubPhase);
  1452. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_DocHostFlags_Proxy(
  1453. IAxWinAmbientDispatch * This,
  1454. /* [in] */ DWORD dwDocHostFlags);
  1455. void __RPC_STUB IAxWinAmbientDispatch_put_DocHostFlags_Stub(
  1456. IRpcStubBuffer *This,
  1457. IRpcChannelBuffer *_pRpcChannelBuffer,
  1458. PRPC_MESSAGE _pRpcMessage,
  1459. DWORD *_pdwStubPhase);
  1460. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_DocHostFlags_Proxy(
  1461. IAxWinAmbientDispatch * This,
  1462. /* [retval][out] */ DWORD *pdwDocHostFlags);
  1463. void __RPC_STUB IAxWinAmbientDispatch_get_DocHostFlags_Stub(
  1464. IRpcStubBuffer *This,
  1465. IRpcChannelBuffer *_pRpcChannelBuffer,
  1466. PRPC_MESSAGE _pRpcMessage,
  1467. DWORD *_pdwStubPhase);
  1468. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_DocHostDoubleClickFlags_Proxy(
  1469. IAxWinAmbientDispatch * This,
  1470. /* [in] */ DWORD dwDocHostDoubleClickFlags);
  1471. void __RPC_STUB IAxWinAmbientDispatch_put_DocHostDoubleClickFlags_Stub(
  1472. IRpcStubBuffer *This,
  1473. IRpcChannelBuffer *_pRpcChannelBuffer,
  1474. PRPC_MESSAGE _pRpcMessage,
  1475. DWORD *_pdwStubPhase);
  1476. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_DocHostDoubleClickFlags_Proxy(
  1477. IAxWinAmbientDispatch * This,
  1478. /* [retval][out] */ DWORD *pdwDocHostDoubleClickFlags);
  1479. void __RPC_STUB IAxWinAmbientDispatch_get_DocHostDoubleClickFlags_Stub(
  1480. IRpcStubBuffer *This,
  1481. IRpcChannelBuffer *_pRpcChannelBuffer,
  1482. PRPC_MESSAGE _pRpcMessage,
  1483. DWORD *_pdwStubPhase);
  1484. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_AllowContextMenu_Proxy(
  1485. IAxWinAmbientDispatch * This,
  1486. /* [in] */ VARIANT_BOOL bAllowContextMenu);
  1487. void __RPC_STUB IAxWinAmbientDispatch_put_AllowContextMenu_Stub(
  1488. IRpcStubBuffer *This,
  1489. IRpcChannelBuffer *_pRpcChannelBuffer,
  1490. PRPC_MESSAGE _pRpcMessage,
  1491. DWORD *_pdwStubPhase);
  1492. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_AllowContextMenu_Proxy(
  1493. IAxWinAmbientDispatch * This,
  1494. /* [retval][out] */ VARIANT_BOOL *pbAllowContextMenu);
  1495. void __RPC_STUB IAxWinAmbientDispatch_get_AllowContextMenu_Stub(
  1496. IRpcStubBuffer *This,
  1497. IRpcChannelBuffer *_pRpcChannelBuffer,
  1498. PRPC_MESSAGE _pRpcMessage,
  1499. DWORD *_pdwStubPhase);
  1500. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_AllowShowUI_Proxy(
  1501. IAxWinAmbientDispatch * This,
  1502. /* [in] */ VARIANT_BOOL bAllowShowUI);
  1503. void __RPC_STUB IAxWinAmbientDispatch_put_AllowShowUI_Stub(
  1504. IRpcStubBuffer *This,
  1505. IRpcChannelBuffer *_pRpcChannelBuffer,
  1506. PRPC_MESSAGE _pRpcMessage,
  1507. DWORD *_pdwStubPhase);
  1508. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_AllowShowUI_Proxy(
  1509. IAxWinAmbientDispatch * This,
  1510. /* [retval][out] */ VARIANT_BOOL *pbAllowShowUI);
  1511. void __RPC_STUB IAxWinAmbientDispatch_get_AllowShowUI_Stub(
  1512. IRpcStubBuffer *This,
  1513. IRpcChannelBuffer *_pRpcChannelBuffer,
  1514. PRPC_MESSAGE _pRpcMessage,
  1515. DWORD *_pdwStubPhase);
  1516. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_OptionKeyPath_Proxy(
  1517. IAxWinAmbientDispatch * This,
  1518. /* [in] */ BSTR bstrOptionKeyPath);
  1519. void __RPC_STUB IAxWinAmbientDispatch_put_OptionKeyPath_Stub(
  1520. IRpcStubBuffer *This,
  1521. IRpcChannelBuffer *_pRpcChannelBuffer,
  1522. PRPC_MESSAGE _pRpcMessage,
  1523. DWORD *_pdwStubPhase);
  1524. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_OptionKeyPath_Proxy(
  1525. IAxWinAmbientDispatch * This,
  1526. /* [retval][out] */ BSTR *pbstrOptionKeyPath);
  1527. void __RPC_STUB IAxWinAmbientDispatch_get_OptionKeyPath_Stub(
  1528. IRpcStubBuffer *This,
  1529. IRpcChannelBuffer *_pRpcChannelBuffer,
  1530. PRPC_MESSAGE _pRpcMessage,
  1531. DWORD *_pdwStubPhase);
  1532. #endif /* __IAxWinAmbientDispatch_INTERFACE_DEFINED__ */
  1533. #ifndef __IAxWinAmbientDispatchEx_INTERFACE_DEFINED__
  1534. #define __IAxWinAmbientDispatchEx_INTERFACE_DEFINED__
  1535. /* interface IAxWinAmbientDispatchEx */
  1536. /* [unique][helpstring][uuid][dual][object] */
  1537. EXTERN_C const IID IID_IAxWinAmbientDispatchEx;
  1538. #if defined(__cplusplus) && !defined(CINTERFACE)
  1539. MIDL_INTERFACE("B2D0778B-AC99-4c58-A5C8-E7724E5316B5")
  1540. IAxWinAmbientDispatchEx : public IAxWinAmbientDispatch
  1541. {
  1542. public:
  1543. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetAmbientDispatch(
  1544. /* [in] */ IDispatch *pDispatch) = 0;
  1545. };
  1546. #else /* C style interface */
  1547. typedef struct IAxWinAmbientDispatchExVtbl
  1548. {
  1549. BEGIN_INTERFACE
  1550. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1551. IAxWinAmbientDispatchEx * This,
  1552. /* [in] */ REFIID riid,
  1553. /* [iid_is][out] */ void **ppvObject);
  1554. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1555. IAxWinAmbientDispatchEx * This);
  1556. ULONG ( STDMETHODCALLTYPE *Release )(
  1557. IAxWinAmbientDispatchEx * This);
  1558. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1559. IAxWinAmbientDispatchEx * This,
  1560. /* [out] */ UINT *pctinfo);
  1561. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1562. IAxWinAmbientDispatchEx * This,
  1563. /* [in] */ UINT iTInfo,
  1564. /* [in] */ LCID lcid,
  1565. /* [out] */ ITypeInfo **ppTInfo);
  1566. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1567. IAxWinAmbientDispatchEx * This,
  1568. /* [in] */ REFIID riid,
  1569. /* [size_is][in] */ LPOLESTR *rgszNames,
  1570. /* [in] */ UINT cNames,
  1571. /* [in] */ LCID lcid,
  1572. /* [size_is][out] */ DISPID *rgDispId);
  1573. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1574. IAxWinAmbientDispatchEx * This,
  1575. /* [in] */ DISPID dispIdMember,
  1576. /* [in] */ REFIID riid,
  1577. /* [in] */ LCID lcid,
  1578. /* [in] */ WORD wFlags,
  1579. /* [out][in] */ DISPPARAMS *pDispParams,
  1580. /* [out] */ VARIANT *pVarResult,
  1581. /* [out] */ EXCEPINFO *pExcepInfo,
  1582. /* [out] */ UINT *puArgErr);
  1583. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowWindowlessActivation )(
  1584. IAxWinAmbientDispatchEx * This,
  1585. /* [in] */ VARIANT_BOOL bCanWindowlessActivate);
  1586. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowWindowlessActivation )(
  1587. IAxWinAmbientDispatchEx * This,
  1588. /* [retval][out] */ VARIANT_BOOL *pbCanWindowlessActivate);
  1589. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BackColor )(
  1590. IAxWinAmbientDispatchEx * This,
  1591. /* [in] */ OLE_COLOR clrBackground);
  1592. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BackColor )(
  1593. IAxWinAmbientDispatchEx * This,
  1594. /* [retval][out] */ OLE_COLOR *pclrBackground);
  1595. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ForeColor )(
  1596. IAxWinAmbientDispatchEx * This,
  1597. /* [in] */ OLE_COLOR clrForeground);
  1598. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForeColor )(
  1599. IAxWinAmbientDispatchEx * This,
  1600. /* [retval][out] */ OLE_COLOR *pclrForeground);
  1601. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LocaleID )(
  1602. IAxWinAmbientDispatchEx * This,
  1603. /* [in] */ LCID lcidLocaleID);
  1604. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocaleID )(
  1605. IAxWinAmbientDispatchEx * This,
  1606. /* [retval][out] */ LCID *plcidLocaleID);
  1607. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserMode )(
  1608. IAxWinAmbientDispatchEx * This,
  1609. /* [in] */ VARIANT_BOOL bUserMode);
  1610. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserMode )(
  1611. IAxWinAmbientDispatchEx * This,
  1612. /* [retval][out] */ VARIANT_BOOL *pbUserMode);
  1613. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayAsDefault )(
  1614. IAxWinAmbientDispatchEx * This,
  1615. /* [in] */ VARIANT_BOOL bDisplayAsDefault);
  1616. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayAsDefault )(
  1617. IAxWinAmbientDispatchEx * This,
  1618. /* [retval][out] */ VARIANT_BOOL *pbDisplayAsDefault);
  1619. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Font )(
  1620. IAxWinAmbientDispatchEx * This,
  1621. /* [in] */ IFontDisp *pFont);
  1622. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Font )(
  1623. IAxWinAmbientDispatchEx * This,
  1624. /* [retval][out] */ IFontDisp **pFont);
  1625. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageReflect )(
  1626. IAxWinAmbientDispatchEx * This,
  1627. /* [in] */ VARIANT_BOOL bMsgReflect);
  1628. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageReflect )(
  1629. IAxWinAmbientDispatchEx * This,
  1630. /* [retval][out] */ VARIANT_BOOL *pbMsgReflect);
  1631. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ShowGrabHandles )(
  1632. IAxWinAmbientDispatchEx * This,
  1633. /* [retval][out] */ VARIANT_BOOL *pbShowGrabHandles);
  1634. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ShowHatching )(
  1635. IAxWinAmbientDispatchEx * This,
  1636. /* [retval][out] */ VARIANT_BOOL *pbShowHatching);
  1637. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DocHostFlags )(
  1638. IAxWinAmbientDispatchEx * This,
  1639. /* [in] */ DWORD dwDocHostFlags);
  1640. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocHostFlags )(
  1641. IAxWinAmbientDispatchEx * This,
  1642. /* [retval][out] */ DWORD *pdwDocHostFlags);
  1643. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DocHostDoubleClickFlags )(
  1644. IAxWinAmbientDispatchEx * This,
  1645. /* [in] */ DWORD dwDocHostDoubleClickFlags);
  1646. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocHostDoubleClickFlags )(
  1647. IAxWinAmbientDispatchEx * This,
  1648. /* [retval][out] */ DWORD *pdwDocHostDoubleClickFlags);
  1649. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowContextMenu )(
  1650. IAxWinAmbientDispatchEx * This,
  1651. /* [in] */ VARIANT_BOOL bAllowContextMenu);
  1652. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowContextMenu )(
  1653. IAxWinAmbientDispatchEx * This,
  1654. /* [retval][out] */ VARIANT_BOOL *pbAllowContextMenu);
  1655. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowShowUI )(
  1656. IAxWinAmbientDispatchEx * This,
  1657. /* [in] */ VARIANT_BOOL bAllowShowUI);
  1658. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowShowUI )(
  1659. IAxWinAmbientDispatchEx * This,
  1660. /* [retval][out] */ VARIANT_BOOL *pbAllowShowUI);
  1661. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OptionKeyPath )(
  1662. IAxWinAmbientDispatchEx * This,
  1663. /* [in] */ BSTR bstrOptionKeyPath);
  1664. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OptionKeyPath )(
  1665. IAxWinAmbientDispatchEx * This,
  1666. /* [retval][out] */ BSTR *pbstrOptionKeyPath);
  1667. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetAmbientDispatch )(
  1668. IAxWinAmbientDispatchEx * This,
  1669. /* [in] */ IDispatch *pDispatch);
  1670. END_INTERFACE
  1671. } IAxWinAmbientDispatchExVtbl;
  1672. interface IAxWinAmbientDispatchEx
  1673. {
  1674. CONST_VTBL struct IAxWinAmbientDispatchExVtbl *lpVtbl;
  1675. };
  1676. #ifdef COBJMACROS
  1677. #define IAxWinAmbientDispatchEx_QueryInterface(This,riid,ppvObject) \
  1678. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1679. #define IAxWinAmbientDispatchEx_AddRef(This) \
  1680. (This)->lpVtbl -> AddRef(This)
  1681. #define IAxWinAmbientDispatchEx_Release(This) \
  1682. (This)->lpVtbl -> Release(This)
  1683. #define IAxWinAmbientDispatchEx_GetTypeInfoCount(This,pctinfo) \
  1684. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1685. #define IAxWinAmbientDispatchEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1686. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1687. #define IAxWinAmbientDispatchEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1688. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1689. #define IAxWinAmbientDispatchEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1690. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1691. #define IAxWinAmbientDispatchEx_put_AllowWindowlessActivation(This,bCanWindowlessActivate) \
  1692. (This)->lpVtbl -> put_AllowWindowlessActivation(This,bCanWindowlessActivate)
  1693. #define IAxWinAmbientDispatchEx_get_AllowWindowlessActivation(This,pbCanWindowlessActivate) \
  1694. (This)->lpVtbl -> get_AllowWindowlessActivation(This,pbCanWindowlessActivate)
  1695. #define IAxWinAmbientDispatchEx_put_BackColor(This,clrBackground) \
  1696. (This)->lpVtbl -> put_BackColor(This,clrBackground)
  1697. #define IAxWinAmbientDispatchEx_get_BackColor(This,pclrBackground) \
  1698. (This)->lpVtbl -> get_BackColor(This,pclrBackground)
  1699. #define IAxWinAmbientDispatchEx_put_ForeColor(This,clrForeground) \
  1700. (This)->lpVtbl -> put_ForeColor(This,clrForeground)
  1701. #define IAxWinAmbientDispatchEx_get_ForeColor(This,pclrForeground) \
  1702. (This)->lpVtbl -> get_ForeColor(This,pclrForeground)
  1703. #define IAxWinAmbientDispatchEx_put_LocaleID(This,lcidLocaleID) \
  1704. (This)->lpVtbl -> put_LocaleID(This,lcidLocaleID)
  1705. #define IAxWinAmbientDispatchEx_get_LocaleID(This,plcidLocaleID) \
  1706. (This)->lpVtbl -> get_LocaleID(This,plcidLocaleID)
  1707. #define IAxWinAmbientDispatchEx_put_UserMode(This,bUserMode) \
  1708. (This)->lpVtbl -> put_UserMode(This,bUserMode)
  1709. #define IAxWinAmbientDispatchEx_get_UserMode(This,pbUserMode) \
  1710. (This)->lpVtbl -> get_UserMode(This,pbUserMode)
  1711. #define IAxWinAmbientDispatchEx_put_DisplayAsDefault(This,bDisplayAsDefault) \
  1712. (This)->lpVtbl -> put_DisplayAsDefault(This,bDisplayAsDefault)
  1713. #define IAxWinAmbientDispatchEx_get_DisplayAsDefault(This,pbDisplayAsDefault) \
  1714. (This)->lpVtbl -> get_DisplayAsDefault(This,pbDisplayAsDefault)
  1715. #define IAxWinAmbientDispatchEx_put_Font(This,pFont) \
  1716. (This)->lpVtbl -> put_Font(This,pFont)
  1717. #define IAxWinAmbientDispatchEx_get_Font(This,pFont) \
  1718. (This)->lpVtbl -> get_Font(This,pFont)
  1719. #define IAxWinAmbientDispatchEx_put_MessageReflect(This,bMsgReflect) \
  1720. (This)->lpVtbl -> put_MessageReflect(This,bMsgReflect)
  1721. #define IAxWinAmbientDispatchEx_get_MessageReflect(This,pbMsgReflect) \
  1722. (This)->lpVtbl -> get_MessageReflect(This,pbMsgReflect)
  1723. #define IAxWinAmbientDispatchEx_get_ShowGrabHandles(This,pbShowGrabHandles) \
  1724. (This)->lpVtbl -> get_ShowGrabHandles(This,pbShowGrabHandles)
  1725. #define IAxWinAmbientDispatchEx_get_ShowHatching(This,pbShowHatching) \
  1726. (This)->lpVtbl -> get_ShowHatching(This,pbShowHatching)
  1727. #define IAxWinAmbientDispatchEx_put_DocHostFlags(This,dwDocHostFlags) \
  1728. (This)->lpVtbl -> put_DocHostFlags(This,dwDocHostFlags)
  1729. #define IAxWinAmbientDispatchEx_get_DocHostFlags(This,pdwDocHostFlags) \
  1730. (This)->lpVtbl -> get_DocHostFlags(This,pdwDocHostFlags)
  1731. #define IAxWinAmbientDispatchEx_put_DocHostDoubleClickFlags(This,dwDocHostDoubleClickFlags) \
  1732. (This)->lpVtbl -> put_DocHostDoubleClickFlags(This,dwDocHostDoubleClickFlags)
  1733. #define IAxWinAmbientDispatchEx_get_DocHostDoubleClickFlags(This,pdwDocHostDoubleClickFlags) \
  1734. (This)->lpVtbl -> get_DocHostDoubleClickFlags(This,pdwDocHostDoubleClickFlags)
  1735. #define IAxWinAmbientDispatchEx_put_AllowContextMenu(This,bAllowContextMenu) \
  1736. (This)->lpVtbl -> put_AllowContextMenu(This,bAllowContextMenu)
  1737. #define IAxWinAmbientDispatchEx_get_AllowContextMenu(This,pbAllowContextMenu) \
  1738. (This)->lpVtbl -> get_AllowContextMenu(This,pbAllowContextMenu)
  1739. #define IAxWinAmbientDispatchEx_put_AllowShowUI(This,bAllowShowUI) \
  1740. (This)->lpVtbl -> put_AllowShowUI(This,bAllowShowUI)
  1741. #define IAxWinAmbientDispatchEx_get_AllowShowUI(This,pbAllowShowUI) \
  1742. (This)->lpVtbl -> get_AllowShowUI(This,pbAllowShowUI)
  1743. #define IAxWinAmbientDispatchEx_put_OptionKeyPath(This,bstrOptionKeyPath) \
  1744. (This)->lpVtbl -> put_OptionKeyPath(This,bstrOptionKeyPath)
  1745. #define IAxWinAmbientDispatchEx_get_OptionKeyPath(This,pbstrOptionKeyPath) \
  1746. (This)->lpVtbl -> get_OptionKeyPath(This,pbstrOptionKeyPath)
  1747. #define IAxWinAmbientDispatchEx_SetAmbientDispatch(This,pDispatch) \
  1748. (This)->lpVtbl -> SetAmbientDispatch(This,pDispatch)
  1749. #endif /* COBJMACROS */
  1750. #endif /* C style interface */
  1751. /* [id] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatchEx_SetAmbientDispatch_Proxy(
  1752. IAxWinAmbientDispatchEx * This,
  1753. /* [in] */ IDispatch *pDispatch);
  1754. void __RPC_STUB IAxWinAmbientDispatchEx_SetAmbientDispatch_Stub(
  1755. IRpcStubBuffer *This,
  1756. IRpcChannelBuffer *_pRpcChannelBuffer,
  1757. PRPC_MESSAGE _pRpcMessage,
  1758. DWORD *_pdwStubPhase);
  1759. #endif /* __IAxWinAmbientDispatchEx_INTERFACE_DEFINED__ */
  1760. #ifndef __IInternalConnection_INTERFACE_DEFINED__
  1761. #define __IInternalConnection_INTERFACE_DEFINED__
  1762. /* interface IInternalConnection */
  1763. /* [object][unique][helpstring][uuid] */
  1764. EXTERN_C const IID IID_IInternalConnection;
  1765. #if defined(__cplusplus) && !defined(CINTERFACE)
  1766. MIDL_INTERFACE("72AD0770-6A9F-11d1-BCEC-0060088F444E")
  1767. IInternalConnection : public IUnknown
  1768. {
  1769. public:
  1770. virtual HRESULT STDMETHODCALLTYPE AddConnection( void) = 0;
  1771. virtual HRESULT STDMETHODCALLTYPE ReleaseConnection( void) = 0;
  1772. };
  1773. #else /* C style interface */
  1774. typedef struct IInternalConnectionVtbl
  1775. {
  1776. BEGIN_INTERFACE
  1777. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1778. IInternalConnection * This,
  1779. /* [in] */ REFIID riid,
  1780. /* [iid_is][out] */ void **ppvObject);
  1781. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1782. IInternalConnection * This);
  1783. ULONG ( STDMETHODCALLTYPE *Release )(
  1784. IInternalConnection * This);
  1785. HRESULT ( STDMETHODCALLTYPE *AddConnection )(
  1786. IInternalConnection * This);
  1787. HRESULT ( STDMETHODCALLTYPE *ReleaseConnection )(
  1788. IInternalConnection * This);
  1789. END_INTERFACE
  1790. } IInternalConnectionVtbl;
  1791. interface IInternalConnection
  1792. {
  1793. CONST_VTBL struct IInternalConnectionVtbl *lpVtbl;
  1794. };
  1795. #ifdef COBJMACROS
  1796. #define IInternalConnection_QueryInterface(This,riid,ppvObject) \
  1797. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1798. #define IInternalConnection_AddRef(This) \
  1799. (This)->lpVtbl -> AddRef(This)
  1800. #define IInternalConnection_Release(This) \
  1801. (This)->lpVtbl -> Release(This)
  1802. #define IInternalConnection_AddConnection(This) \
  1803. (This)->lpVtbl -> AddConnection(This)
  1804. #define IInternalConnection_ReleaseConnection(This) \
  1805. (This)->lpVtbl -> ReleaseConnection(This)
  1806. #endif /* COBJMACROS */
  1807. #endif /* C style interface */
  1808. HRESULT STDMETHODCALLTYPE IInternalConnection_AddConnection_Proxy(
  1809. IInternalConnection * This);
  1810. void __RPC_STUB IInternalConnection_AddConnection_Stub(
  1811. IRpcStubBuffer *This,
  1812. IRpcChannelBuffer *_pRpcChannelBuffer,
  1813. PRPC_MESSAGE _pRpcMessage,
  1814. DWORD *_pdwStubPhase);
  1815. HRESULT STDMETHODCALLTYPE IInternalConnection_ReleaseConnection_Proxy(
  1816. IInternalConnection * This);
  1817. void __RPC_STUB IInternalConnection_ReleaseConnection_Stub(
  1818. IRpcStubBuffer *This,
  1819. IRpcChannelBuffer *_pRpcChannelBuffer,
  1820. PRPC_MESSAGE _pRpcMessage,
  1821. DWORD *_pdwStubPhase);
  1822. #endif /* __IInternalConnection_INTERFACE_DEFINED__ */
  1823. /* interface __MIDL_itf_atliface_0257 */
  1824. /* [local] */
  1825. namespace ATL
  1826. {
  1827. #ifdef __cplusplus
  1828. #include <atldef.h>
  1829. #else
  1830. #define ATLAPI EXTERN_C HRESULT __declspec(dllimport) __stdcall
  1831. #define ATLAPI_(x) EXTERN_C __declspec(dllimport) x __stdcall
  1832. #define ATLINLINE
  1833. #endif // __cplusplus
  1834. ATLAPI_(INT_PTR) AtlAxDialogBoxW(HINSTANCE hInstance, LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1835. ATLAPI_(INT_PTR) AtlAxDialogBoxA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1836. #ifdef UNICODE
  1837. #define AtlAxDialogBox AtlAxDialogBoxW
  1838. #else
  1839. #define AtlAxDialogBox AtlAxDialogBoxA
  1840. #endif
  1841. ATLAPI_(HWND) AtlAxCreateDialogW(HINSTANCE hInstance, LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1842. ATLAPI_(HWND) AtlAxCreateDialogA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1843. #ifdef UNICODE
  1844. #define AtlAxCreateDialog AtlAxCreateDialogW
  1845. #else
  1846. #define AtlAxCreateDialog AtlAxCreateDialogA
  1847. #endif
  1848. ATLAPI AtlAxCreateControl(LPCOLESTR lpszName, HWND hWnd, IStream* pStream, IUnknown** ppUnkContainer);
  1849. #ifdef __cplusplus
  1850. ATLAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd, IStream* pStream,
  1851. IUnknown** ppUnkContainer, IUnknown** ppUnkControl,
  1852. REFIID iidSink=IID_NULL, IUnknown* punkSink=NULL);
  1853. ATLAPI AtlAxCreateControlLic(LPCOLESTR lpszName, HWND hWnd, IStream* pStream, IUnknown** ppUnkContainer, BSTR bstrLic = NULL);
  1854. ATLAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd, IStream* pStream,
  1855. IUnknown** ppUnkContainer, IUnknown** ppUnkControl,
  1856. REFIID iidSink=IID_NULL, IUnknown* punkSink=NULL, BSTR bstrLic = NULL);
  1857. #else
  1858. ATLAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd, IStream* pStream,
  1859. IUnknown** ppUnkContainer, IUnknown** ppUnkControl,
  1860. REFIID iidSink, IUnknown* punkSink);
  1861. ATLAPI AtlAxCreateControlLic(LPCOLESTR lpszName, HWND hWnd, IStream* pStream, IUnknown** ppUnkContainer, BSTR bstrLic);
  1862. ATLAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd, IStream* pStream,
  1863. IUnknown** ppUnkContainer, IUnknown** ppUnkControl,
  1864. REFIID iidSink, IUnknown* punkSink, BSTR bstrLic);
  1865. #endif // __cplusplus
  1866. ATLAPI AtlAxAttachControl(IUnknown* pControl, HWND hWnd, IUnknown** ppUnkContainer);
  1867. ATLAPI_(BOOL) AtlAxWinInit();
  1868. ATLAPI AtlAxGetHost(HWND h, IUnknown** pp);
  1869. ATLAPI AtlAxGetControl(HWND h, IUnknown** pp);
  1870. }; //namespace ATL
  1871. extern RPC_IF_HANDLE __MIDL_itf_atliface_0257_v0_0_c_ifspec;
  1872. extern RPC_IF_HANDLE __MIDL_itf_atliface_0257_v0_0_s_ifspec;
  1873. #ifndef __IAccessibleProxy_INTERFACE_DEFINED__
  1874. #define __IAccessibleProxy_INTERFACE_DEFINED__
  1875. /* interface IAccessibleProxy */
  1876. /* [unique][helpstring][dual][uuid][object] */
  1877. EXTERN_C const IID IID_IAccessibleProxy;
  1878. #if defined(__cplusplus) && !defined(CINTERFACE)
  1879. MIDL_INTERFACE("7A7D9DCF-B7A1-4019-9031-258268846980")
  1880. IAccessibleProxy : public IUnknown
  1881. {
  1882. public:
  1883. virtual HRESULT STDMETHODCALLTYPE SetServer(
  1884. /* [in] */ IAccessible *pAccessible,
  1885. /* [in] */ IAccessibleServer *pServer) = 0;
  1886. };
  1887. #else /* C style interface */
  1888. typedef struct IAccessibleProxyVtbl
  1889. {
  1890. BEGIN_INTERFACE
  1891. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1892. IAccessibleProxy * This,
  1893. /* [in] */ REFIID riid,
  1894. /* [iid_is][out] */ void **ppvObject);
  1895. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1896. IAccessibleProxy * This);
  1897. ULONG ( STDMETHODCALLTYPE *Release )(
  1898. IAccessibleProxy * This);
  1899. HRESULT ( STDMETHODCALLTYPE *SetServer )(
  1900. IAccessibleProxy * This,
  1901. /* [in] */ IAccessible *pAccessible,
  1902. /* [in] */ IAccessibleServer *pServer);
  1903. END_INTERFACE
  1904. } IAccessibleProxyVtbl;
  1905. interface IAccessibleProxy
  1906. {
  1907. CONST_VTBL struct IAccessibleProxyVtbl *lpVtbl;
  1908. };
  1909. #ifdef COBJMACROS
  1910. #define IAccessibleProxy_QueryInterface(This,riid,ppvObject) \
  1911. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1912. #define IAccessibleProxy_AddRef(This) \
  1913. (This)->lpVtbl -> AddRef(This)
  1914. #define IAccessibleProxy_Release(This) \
  1915. (This)->lpVtbl -> Release(This)
  1916. #define IAccessibleProxy_SetServer(This,pAccessible,pServer) \
  1917. (This)->lpVtbl -> SetServer(This,pAccessible,pServer)
  1918. #endif /* COBJMACROS */
  1919. #endif /* C style interface */
  1920. HRESULT STDMETHODCALLTYPE IAccessibleProxy_SetServer_Proxy(
  1921. IAccessibleProxy * This,
  1922. /* [in] */ IAccessible *pAccessible,
  1923. /* [in] */ IAccessibleServer *pServer);
  1924. void __RPC_STUB IAccessibleProxy_SetServer_Stub(
  1925. IRpcStubBuffer *This,
  1926. IRpcChannelBuffer *_pRpcChannelBuffer,
  1927. PRPC_MESSAGE _pRpcMessage,
  1928. DWORD *_pdwStubPhase);
  1929. #endif /* __IAccessibleProxy_INTERFACE_DEFINED__ */
  1930. #ifndef __IAccessibleServer_INTERFACE_DEFINED__
  1931. #define __IAccessibleServer_INTERFACE_DEFINED__
  1932. /* interface IAccessibleServer */
  1933. /* [unique][helpstring][uuid][object] */
  1934. EXTERN_C const IID IID_IAccessibleServer;
  1935. #if defined(__cplusplus) && !defined(CINTERFACE)
  1936. MIDL_INTERFACE("52C8FB5E-D779-4e77-AE9F-F611FA7E9D7A")
  1937. IAccessibleServer : public IUnknown
  1938. {
  1939. public:
  1940. virtual HRESULT STDMETHODCALLTYPE SetProxy(
  1941. /* [in] */ IAccessibleProxy *pUnknown) = 0;
  1942. virtual HRESULT STDMETHODCALLTYPE GetHWND(
  1943. /* [out] */ HWND *phWnd) = 0;
  1944. virtual HRESULT STDMETHODCALLTYPE GetEnumVariant(
  1945. /* [out] */ IEnumVARIANT **ppEnumVariant) = 0;
  1946. };
  1947. #else /* C style interface */
  1948. typedef struct IAccessibleServerVtbl
  1949. {
  1950. BEGIN_INTERFACE
  1951. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1952. IAccessibleServer * This,
  1953. /* [in] */ REFIID riid,
  1954. /* [iid_is][out] */ void **ppvObject);
  1955. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1956. IAccessibleServer * This);
  1957. ULONG ( STDMETHODCALLTYPE *Release )(
  1958. IAccessibleServer * This);
  1959. HRESULT ( STDMETHODCALLTYPE *SetProxy )(
  1960. IAccessibleServer * This,
  1961. /* [in] */ IAccessibleProxy *pUnknown);
  1962. HRESULT ( STDMETHODCALLTYPE *GetHWND )(
  1963. IAccessibleServer * This,
  1964. /* [out] */ HWND *phWnd);
  1965. HRESULT ( STDMETHODCALLTYPE *GetEnumVariant )(
  1966. IAccessibleServer * This,
  1967. /* [out] */ IEnumVARIANT **ppEnumVariant);
  1968. END_INTERFACE
  1969. } IAccessibleServerVtbl;
  1970. interface IAccessibleServer
  1971. {
  1972. CONST_VTBL struct IAccessibleServerVtbl *lpVtbl;
  1973. };
  1974. #ifdef COBJMACROS
  1975. #define IAccessibleServer_QueryInterface(This,riid,ppvObject) \
  1976. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1977. #define IAccessibleServer_AddRef(This) \
  1978. (This)->lpVtbl -> AddRef(This)
  1979. #define IAccessibleServer_Release(This) \
  1980. (This)->lpVtbl -> Release(This)
  1981. #define IAccessibleServer_SetProxy(This,pUnknown) \
  1982. (This)->lpVtbl -> SetProxy(This,pUnknown)
  1983. #define IAccessibleServer_GetHWND(This,phWnd) \
  1984. (This)->lpVtbl -> GetHWND(This,phWnd)
  1985. #define IAccessibleServer_GetEnumVariant(This,ppEnumVariant) \
  1986. (This)->lpVtbl -> GetEnumVariant(This,ppEnumVariant)
  1987. #endif /* COBJMACROS */
  1988. #endif /* C style interface */
  1989. HRESULT STDMETHODCALLTYPE IAccessibleServer_SetProxy_Proxy(
  1990. IAccessibleServer * This,
  1991. /* [in] */ IAccessibleProxy *pUnknown);
  1992. void __RPC_STUB IAccessibleServer_SetProxy_Stub(
  1993. IRpcStubBuffer *This,
  1994. IRpcChannelBuffer *_pRpcChannelBuffer,
  1995. PRPC_MESSAGE _pRpcMessage,
  1996. DWORD *_pdwStubPhase);
  1997. HRESULT STDMETHODCALLTYPE IAccessibleServer_GetHWND_Proxy(
  1998. IAccessibleServer * This,
  1999. /* [out] */ HWND *phWnd);
  2000. void __RPC_STUB IAccessibleServer_GetHWND_Stub(
  2001. IRpcStubBuffer *This,
  2002. IRpcChannelBuffer *_pRpcChannelBuffer,
  2003. PRPC_MESSAGE _pRpcMessage,
  2004. DWORD *_pdwStubPhase);
  2005. HRESULT STDMETHODCALLTYPE IAccessibleServer_GetEnumVariant_Proxy(
  2006. IAccessibleServer * This,
  2007. /* [out] */ IEnumVARIANT **ppEnumVariant);
  2008. void __RPC_STUB IAccessibleServer_GetEnumVariant_Stub(
  2009. IRpcStubBuffer *This,
  2010. IRpcChannelBuffer *_pRpcChannelBuffer,
  2011. PRPC_MESSAGE _pRpcMessage,
  2012. DWORD *_pdwStubPhase);
  2013. #endif /* __IAccessibleServer_INTERFACE_DEFINED__ */
  2014. /* Additional Prototypes for ALL interfaces */
  2015. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  2016. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  2017. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  2018. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  2019. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  2020. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  2021. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  2022. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  2023. /* end of Additional Prototypes */
  2024. #ifdef __cplusplus
  2025. }
  2026. #endif
  2027. #endif