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.

2058 lines
72 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 5.02.0198 */
  4. /* at Thu Sep 10 21:38:47 1998
  5. */
  6. /* Compiler settings for atliface.idl:
  7. Os (OptLev=s), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  8. error checks: allocation ref bounds_check enum stub_data
  9. */
  10. //@@MIDL_FILE_HEADING( )
  11. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  12. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  13. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  14. #endif
  15. #include "rpc.h"
  16. #include "rpcndr.h"
  17. #ifndef __RPCNDR_H_VERSION__
  18. #error this stub requires an updated version of <rpcndr.h>
  19. #endif // __RPCNDR_H_VERSION__
  20. #ifndef COM_NO_WINDOWS_H
  21. #include "windows.h"
  22. #include "ole2.h"
  23. #endif /*COM_NO_WINDOWS_H*/
  24. #ifndef __atliface_h__
  25. #define __atliface_h__
  26. #ifdef __cplusplus
  27. extern "C"{
  28. #endif
  29. /* Forward Declarations */
  30. #ifndef __IRegistrar_FWD_DEFINED__
  31. #define __IRegistrar_FWD_DEFINED__
  32. typedef interface IRegistrar IRegistrar;
  33. #endif /* __IRegistrar_FWD_DEFINED__ */
  34. #ifndef __IDocHostUIHandlerDispatch_FWD_DEFINED__
  35. #define __IDocHostUIHandlerDispatch_FWD_DEFINED__
  36. typedef interface IDocHostUIHandlerDispatch IDocHostUIHandlerDispatch;
  37. #endif /* __IDocHostUIHandlerDispatch_FWD_DEFINED__ */
  38. #ifndef __IAxWinHostWindow_FWD_DEFINED__
  39. #define __IAxWinHostWindow_FWD_DEFINED__
  40. typedef interface IAxWinHostWindow IAxWinHostWindow;
  41. #endif /* __IAxWinHostWindow_FWD_DEFINED__ */
  42. #ifndef __IAxWinAmbientDispatch_FWD_DEFINED__
  43. #define __IAxWinAmbientDispatch_FWD_DEFINED__
  44. typedef interface IAxWinAmbientDispatch IAxWinAmbientDispatch;
  45. #endif /* __IAxWinAmbientDispatch_FWD_DEFINED__ */
  46. #ifndef __IInternalConnection_FWD_DEFINED__
  47. #define __IInternalConnection_FWD_DEFINED__
  48. typedef interface IInternalConnection IInternalConnection;
  49. #endif /* __IInternalConnection_FWD_DEFINED__ */
  50. /* header files for imported files */
  51. #include "oaidl.h"
  52. #include "ocidl.h"
  53. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  54. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  55. /* interface __MIDL_itf_atliface_0000 */
  56. /* [local] */
  57. EXTERN_C const CLSID CLSID_Registrar;
  58. extern RPC_IF_HANDLE __MIDL_itf_atliface_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_atliface_0000_v0_0_s_ifspec;
  60. #ifndef __IRegistrar_INTERFACE_DEFINED__
  61. #define __IRegistrar_INTERFACE_DEFINED__
  62. /* interface IRegistrar */
  63. /* [unique][helpstring][uuid][object] */
  64. EXTERN_C const IID IID_IRegistrar;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66. MIDL_INTERFACE("44EC053B-400F-11D0-9DCD-00A0C90391D3")
  67. IRegistrar : public IUnknown
  68. {
  69. public:
  70. virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddReplacement(
  71. /* [in] */ LPCOLESTR key,
  72. /* [in] */ LPCOLESTR item) = 0;
  73. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ClearReplacements( void) = 0;
  74. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResourceRegisterSz(
  75. /* [in] */ LPCOLESTR resFileName,
  76. /* [in] */ LPCOLESTR szID,
  77. /* [in] */ LPCOLESTR szType) = 0;
  78. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResourceUnregisterSz(
  79. /* [in] */ LPCOLESTR resFileName,
  80. /* [in] */ LPCOLESTR szID,
  81. /* [in] */ LPCOLESTR szType) = 0;
  82. virtual /* [id] */ HRESULT STDMETHODCALLTYPE FileRegister(
  83. /* [in] */ LPCOLESTR fileName) = 0;
  84. virtual /* [id] */ HRESULT STDMETHODCALLTYPE FileUnregister(
  85. /* [in] */ LPCOLESTR fileName) = 0;
  86. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StringRegister(
  87. /* [in] */ LPCOLESTR data) = 0;
  88. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StringUnregister(
  89. /* [in] */ LPCOLESTR data) = 0;
  90. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResourceRegister(
  91. /* [in] */ LPCOLESTR resFileName,
  92. /* [in] */ UINT nID,
  93. /* [in] */ LPCOLESTR szType) = 0;
  94. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResourceUnregister(
  95. /* [in] */ LPCOLESTR resFileName,
  96. /* [in] */ UINT nID,
  97. /* [in] */ LPCOLESTR szType) = 0;
  98. };
  99. #else /* C style interface */
  100. typedef struct IRegistrarVtbl
  101. {
  102. BEGIN_INTERFACE
  103. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  104. IRegistrar __RPC_FAR * This,
  105. /* [in] */ REFIID riid,
  106. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  107. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  108. IRegistrar __RPC_FAR * This);
  109. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  110. IRegistrar __RPC_FAR * This);
  111. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddReplacement )(
  112. IRegistrar __RPC_FAR * This,
  113. /* [in] */ LPCOLESTR key,
  114. /* [in] */ LPCOLESTR item);
  115. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ClearReplacements )(
  116. IRegistrar __RPC_FAR * This);
  117. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResourceRegisterSz )(
  118. IRegistrar __RPC_FAR * This,
  119. /* [in] */ LPCOLESTR resFileName,
  120. /* [in] */ LPCOLESTR szID,
  121. /* [in] */ LPCOLESTR szType);
  122. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResourceUnregisterSz )(
  123. IRegistrar __RPC_FAR * This,
  124. /* [in] */ LPCOLESTR resFileName,
  125. /* [in] */ LPCOLESTR szID,
  126. /* [in] */ LPCOLESTR szType);
  127. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FileRegister )(
  128. IRegistrar __RPC_FAR * This,
  129. /* [in] */ LPCOLESTR fileName);
  130. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FileUnregister )(
  131. IRegistrar __RPC_FAR * This,
  132. /* [in] */ LPCOLESTR fileName);
  133. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StringRegister )(
  134. IRegistrar __RPC_FAR * This,
  135. /* [in] */ LPCOLESTR data);
  136. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StringUnregister )(
  137. IRegistrar __RPC_FAR * This,
  138. /* [in] */ LPCOLESTR data);
  139. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResourceRegister )(
  140. IRegistrar __RPC_FAR * This,
  141. /* [in] */ LPCOLESTR resFileName,
  142. /* [in] */ UINT nID,
  143. /* [in] */ LPCOLESTR szType);
  144. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResourceUnregister )(
  145. IRegistrar __RPC_FAR * This,
  146. /* [in] */ LPCOLESTR resFileName,
  147. /* [in] */ UINT nID,
  148. /* [in] */ LPCOLESTR szType);
  149. END_INTERFACE
  150. } IRegistrarVtbl;
  151. interface IRegistrar
  152. {
  153. CONST_VTBL struct IRegistrarVtbl __RPC_FAR *lpVtbl;
  154. };
  155. #ifdef COBJMACROS
  156. #define IRegistrar_QueryInterface(This,riid,ppvObject) \
  157. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  158. #define IRegistrar_AddRef(This) \
  159. (This)->lpVtbl -> AddRef(This)
  160. #define IRegistrar_Release(This) \
  161. (This)->lpVtbl -> Release(This)
  162. #define IRegistrar_AddReplacement(This,key,item) \
  163. (This)->lpVtbl -> AddReplacement(This,key,item)
  164. #define IRegistrar_ClearReplacements(This) \
  165. (This)->lpVtbl -> ClearReplacements(This)
  166. #define IRegistrar_ResourceRegisterSz(This,resFileName,szID,szType) \
  167. (This)->lpVtbl -> ResourceRegisterSz(This,resFileName,szID,szType)
  168. #define IRegistrar_ResourceUnregisterSz(This,resFileName,szID,szType) \
  169. (This)->lpVtbl -> ResourceUnregisterSz(This,resFileName,szID,szType)
  170. #define IRegistrar_FileRegister(This,fileName) \
  171. (This)->lpVtbl -> FileRegister(This,fileName)
  172. #define IRegistrar_FileUnregister(This,fileName) \
  173. (This)->lpVtbl -> FileUnregister(This,fileName)
  174. #define IRegistrar_StringRegister(This,data) \
  175. (This)->lpVtbl -> StringRegister(This,data)
  176. #define IRegistrar_StringUnregister(This,data) \
  177. (This)->lpVtbl -> StringUnregister(This,data)
  178. #define IRegistrar_ResourceRegister(This,resFileName,nID,szType) \
  179. (This)->lpVtbl -> ResourceRegister(This,resFileName,nID,szType)
  180. #define IRegistrar_ResourceUnregister(This,resFileName,nID,szType) \
  181. (This)->lpVtbl -> ResourceUnregister(This,resFileName,nID,szType)
  182. #endif /* COBJMACROS */
  183. #endif /* C style interface */
  184. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_AddReplacement_Proxy(
  185. IRegistrar __RPC_FAR * This,
  186. /* [in] */ LPCOLESTR key,
  187. /* [in] */ LPCOLESTR item);
  188. void __RPC_STUB IRegistrar_AddReplacement_Stub(
  189. IRpcStubBuffer *This,
  190. IRpcChannelBuffer *_pRpcChannelBuffer,
  191. PRPC_MESSAGE _pRpcMessage,
  192. DWORD *_pdwStubPhase);
  193. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_ClearReplacements_Proxy(
  194. IRegistrar __RPC_FAR * This);
  195. void __RPC_STUB IRegistrar_ClearReplacements_Stub(
  196. IRpcStubBuffer *This,
  197. IRpcChannelBuffer *_pRpcChannelBuffer,
  198. PRPC_MESSAGE _pRpcMessage,
  199. DWORD *_pdwStubPhase);
  200. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_ResourceRegisterSz_Proxy(
  201. IRegistrar __RPC_FAR * This,
  202. /* [in] */ LPCOLESTR resFileName,
  203. /* [in] */ LPCOLESTR szID,
  204. /* [in] */ LPCOLESTR szType);
  205. void __RPC_STUB IRegistrar_ResourceRegisterSz_Stub(
  206. IRpcStubBuffer *This,
  207. IRpcChannelBuffer *_pRpcChannelBuffer,
  208. PRPC_MESSAGE _pRpcMessage,
  209. DWORD *_pdwStubPhase);
  210. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_ResourceUnregisterSz_Proxy(
  211. IRegistrar __RPC_FAR * This,
  212. /* [in] */ LPCOLESTR resFileName,
  213. /* [in] */ LPCOLESTR szID,
  214. /* [in] */ LPCOLESTR szType);
  215. void __RPC_STUB IRegistrar_ResourceUnregisterSz_Stub(
  216. IRpcStubBuffer *This,
  217. IRpcChannelBuffer *_pRpcChannelBuffer,
  218. PRPC_MESSAGE _pRpcMessage,
  219. DWORD *_pdwStubPhase);
  220. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_FileRegister_Proxy(
  221. IRegistrar __RPC_FAR * This,
  222. /* [in] */ LPCOLESTR fileName);
  223. void __RPC_STUB IRegistrar_FileRegister_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_FileUnregister_Proxy(
  229. IRegistrar __RPC_FAR * This,
  230. /* [in] */ LPCOLESTR fileName);
  231. void __RPC_STUB IRegistrar_FileUnregister_Stub(
  232. IRpcStubBuffer *This,
  233. IRpcChannelBuffer *_pRpcChannelBuffer,
  234. PRPC_MESSAGE _pRpcMessage,
  235. DWORD *_pdwStubPhase);
  236. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_StringRegister_Proxy(
  237. IRegistrar __RPC_FAR * This,
  238. /* [in] */ LPCOLESTR data);
  239. void __RPC_STUB IRegistrar_StringRegister_Stub(
  240. IRpcStubBuffer *This,
  241. IRpcChannelBuffer *_pRpcChannelBuffer,
  242. PRPC_MESSAGE _pRpcMessage,
  243. DWORD *_pdwStubPhase);
  244. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_StringUnregister_Proxy(
  245. IRegistrar __RPC_FAR * This,
  246. /* [in] */ LPCOLESTR data);
  247. void __RPC_STUB IRegistrar_StringUnregister_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_ResourceRegister_Proxy(
  253. IRegistrar __RPC_FAR * This,
  254. /* [in] */ LPCOLESTR resFileName,
  255. /* [in] */ UINT nID,
  256. /* [in] */ LPCOLESTR szType);
  257. void __RPC_STUB IRegistrar_ResourceRegister_Stub(
  258. IRpcStubBuffer *This,
  259. IRpcChannelBuffer *_pRpcChannelBuffer,
  260. PRPC_MESSAGE _pRpcMessage,
  261. DWORD *_pdwStubPhase);
  262. /* [id] */ HRESULT STDMETHODCALLTYPE IRegistrar_ResourceUnregister_Proxy(
  263. IRegistrar __RPC_FAR * This,
  264. /* [in] */ LPCOLESTR resFileName,
  265. /* [in] */ UINT nID,
  266. /* [in] */ LPCOLESTR szType);
  267. void __RPC_STUB IRegistrar_ResourceUnregister_Stub(
  268. IRpcStubBuffer *This,
  269. IRpcChannelBuffer *_pRpcChannelBuffer,
  270. PRPC_MESSAGE _pRpcMessage,
  271. DWORD *_pdwStubPhase);
  272. #endif /* __IRegistrar_INTERFACE_DEFINED__ */
  273. #ifndef __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__
  274. #define __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__
  275. /* interface IDocHostUIHandlerDispatch */
  276. /* [object][unique][helpstring][uuid] */
  277. typedef
  278. enum tagDOCHOSTUIDBLCLKDispatch
  279. { docHostUIDblClkDEFAULT = 0,
  280. docHostUIDblClkSHOWPROPERTIES = 1,
  281. docHostUIDblClkSHOWCODE = 2
  282. } DOCHOSTUIDBLCLKDispatch;
  283. typedef
  284. enum tagDocHostUIFlagDispatch
  285. { docHostUIFlagDIALOG = 1,
  286. docHostUIFlagDISABLE_HELP_MENU = 2,
  287. docHostUIFlagNO3DBORDER = 4,
  288. docHostUIFlagSCROLL_NO = 8,
  289. docHostUIFlagDISABLE_SCRIPT_INACTIVE = 16,
  290. docHostUIFlagOPENNEWWIN = 32,
  291. docHostUIFlagDISABLE_OFFSCREEN = 64,
  292. docHostUIFlagFLAT_SCROLLBAR = 128,
  293. docHostUIFlagDIV_BLOCKDEFAULT = 256,
  294. docHostUIFlagACTIVATE_CLIENTHIT_ONLY = 512
  295. } DocHostUIFlagDispatch;
  296. EXTERN_C const IID IID_IDocHostUIHandlerDispatch;
  297. #if defined(__cplusplus) && !defined(CINTERFACE)
  298. MIDL_INTERFACE("425B5AF0-65F1-11d1-9611-0000F81E0D0D")
  299. IDocHostUIHandlerDispatch : public IDispatch
  300. {
  301. public:
  302. virtual HRESULT STDMETHODCALLTYPE ShowContextMenu(
  303. /* [in] */ DWORD dwID,
  304. /* [in] */ DWORD x,
  305. /* [in] */ DWORD y,
  306. /* [in] */ IUnknown __RPC_FAR *pcmdtReserved,
  307. /* [in] */ IDispatch __RPC_FAR *pdispReserved,
  308. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal) = 0;
  309. virtual HRESULT STDMETHODCALLTYPE GetHostInfo(
  310. /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  311. /* [out][in] */ DWORD __RPC_FAR *pdwDoubleClick) = 0;
  312. virtual HRESULT STDMETHODCALLTYPE ShowUI(
  313. /* [in] */ DWORD dwID,
  314. /* [in] */ IUnknown __RPC_FAR *pActiveObject,
  315. /* [in] */ IUnknown __RPC_FAR *pCommandTarget,
  316. /* [in] */ IUnknown __RPC_FAR *pFrame,
  317. /* [in] */ IUnknown __RPC_FAR *pDoc,
  318. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal) = 0;
  319. virtual HRESULT STDMETHODCALLTYPE HideUI( void) = 0;
  320. virtual HRESULT STDMETHODCALLTYPE UpdateUI( void) = 0;
  321. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  322. /* [in] */ VARIANT_BOOL fEnable) = 0;
  323. virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
  324. /* [in] */ VARIANT_BOOL fActivate) = 0;
  325. virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
  326. /* [in] */ VARIANT_BOOL fActivate) = 0;
  327. virtual HRESULT STDMETHODCALLTYPE ResizeBorder(
  328. /* [in] */ long left,
  329. /* [in] */ long top,
  330. /* [in] */ long right,
  331. /* [in] */ long bottom,
  332. /* [in] */ IUnknown __RPC_FAR *pUIWindow,
  333. /* [in] */ VARIANT_BOOL fFrameWindow) = 0;
  334. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  335. /* [in] */ DWORD hWnd,
  336. /* [in] */ DWORD nMessage,
  337. /* [in] */ DWORD wParam,
  338. /* [in] */ DWORD lParam,
  339. /* [in] */ BSTR bstrGuidCmdGroup,
  340. /* [in] */ DWORD nCmdID,
  341. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal) = 0;
  342. virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath(
  343. /* [out] */ BSTR __RPC_FAR *pbstrKey,
  344. /* [in] */ DWORD dw) = 0;
  345. virtual HRESULT STDMETHODCALLTYPE GetDropTarget(
  346. /* [in] */ IUnknown __RPC_FAR *pDropTarget,
  347. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDropTarget) = 0;
  348. virtual HRESULT STDMETHODCALLTYPE GetExternal(
  349. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispatch) = 0;
  350. virtual HRESULT STDMETHODCALLTYPE TranslateUrl(
  351. /* [in] */ DWORD dwTranslate,
  352. /* [in] */ BSTR bstrURLIn,
  353. /* [out] */ BSTR __RPC_FAR *pbstrURLOut) = 0;
  354. virtual HRESULT STDMETHODCALLTYPE FilterDataObject(
  355. /* [in] */ IUnknown __RPC_FAR *pDO,
  356. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDORet) = 0;
  357. };
  358. #else /* C style interface */
  359. typedef struct IDocHostUIHandlerDispatchVtbl
  360. {
  361. BEGIN_INTERFACE
  362. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  363. IDocHostUIHandlerDispatch __RPC_FAR * This,
  364. /* [in] */ REFIID riid,
  365. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  366. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  367. IDocHostUIHandlerDispatch __RPC_FAR * This);
  368. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  369. IDocHostUIHandlerDispatch __RPC_FAR * This);
  370. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  371. IDocHostUIHandlerDispatch __RPC_FAR * This,
  372. /* [out] */ UINT __RPC_FAR *pctinfo);
  373. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  374. IDocHostUIHandlerDispatch __RPC_FAR * This,
  375. /* [in] */ UINT iTInfo,
  376. /* [in] */ LCID lcid,
  377. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  378. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  379. IDocHostUIHandlerDispatch __RPC_FAR * This,
  380. /* [in] */ REFIID riid,
  381. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  382. /* [in] */ UINT cNames,
  383. /* [in] */ LCID lcid,
  384. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  385. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  386. IDocHostUIHandlerDispatch __RPC_FAR * This,
  387. /* [in] */ DISPID dispIdMember,
  388. /* [in] */ REFIID riid,
  389. /* [in] */ LCID lcid,
  390. /* [in] */ WORD wFlags,
  391. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  392. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  393. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  394. /* [out] */ UINT __RPC_FAR *puArgErr);
  395. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowContextMenu )(
  396. IDocHostUIHandlerDispatch __RPC_FAR * This,
  397. /* [in] */ DWORD dwID,
  398. /* [in] */ DWORD x,
  399. /* [in] */ DWORD y,
  400. /* [in] */ IUnknown __RPC_FAR *pcmdtReserved,
  401. /* [in] */ IDispatch __RPC_FAR *pdispReserved,
  402. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal);
  403. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHostInfo )(
  404. IDocHostUIHandlerDispatch __RPC_FAR * This,
  405. /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  406. /* [out][in] */ DWORD __RPC_FAR *pdwDoubleClick);
  407. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowUI )(
  408. IDocHostUIHandlerDispatch __RPC_FAR * This,
  409. /* [in] */ DWORD dwID,
  410. /* [in] */ IUnknown __RPC_FAR *pActiveObject,
  411. /* [in] */ IUnknown __RPC_FAR *pCommandTarget,
  412. /* [in] */ IUnknown __RPC_FAR *pFrame,
  413. /* [in] */ IUnknown __RPC_FAR *pDoc,
  414. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal);
  415. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HideUI )(
  416. IDocHostUIHandlerDispatch __RPC_FAR * This);
  417. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateUI )(
  418. IDocHostUIHandlerDispatch __RPC_FAR * This);
  419. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnableModeless )(
  420. IDocHostUIHandlerDispatch __RPC_FAR * This,
  421. /* [in] */ VARIANT_BOOL fEnable);
  422. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDocWindowActivate )(
  423. IDocHostUIHandlerDispatch __RPC_FAR * This,
  424. /* [in] */ VARIANT_BOOL fActivate);
  425. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnFrameWindowActivate )(
  426. IDocHostUIHandlerDispatch __RPC_FAR * This,
  427. /* [in] */ VARIANT_BOOL fActivate);
  428. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResizeBorder )(
  429. IDocHostUIHandlerDispatch __RPC_FAR * This,
  430. /* [in] */ long left,
  431. /* [in] */ long top,
  432. /* [in] */ long right,
  433. /* [in] */ long bottom,
  434. /* [in] */ IUnknown __RPC_FAR *pUIWindow,
  435. /* [in] */ VARIANT_BOOL fFrameWindow);
  436. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateAccelerator )(
  437. IDocHostUIHandlerDispatch __RPC_FAR * This,
  438. /* [in] */ DWORD hWnd,
  439. /* [in] */ DWORD nMessage,
  440. /* [in] */ DWORD wParam,
  441. /* [in] */ DWORD lParam,
  442. /* [in] */ BSTR bstrGuidCmdGroup,
  443. /* [in] */ DWORD nCmdID,
  444. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal);
  445. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOptionKeyPath )(
  446. IDocHostUIHandlerDispatch __RPC_FAR * This,
  447. /* [out] */ BSTR __RPC_FAR *pbstrKey,
  448. /* [in] */ DWORD dw);
  449. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDropTarget )(
  450. IDocHostUIHandlerDispatch __RPC_FAR * This,
  451. /* [in] */ IUnknown __RPC_FAR *pDropTarget,
  452. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDropTarget);
  453. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExternal )(
  454. IDocHostUIHandlerDispatch __RPC_FAR * This,
  455. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispatch);
  456. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateUrl )(
  457. IDocHostUIHandlerDispatch __RPC_FAR * This,
  458. /* [in] */ DWORD dwTranslate,
  459. /* [in] */ BSTR bstrURLIn,
  460. /* [out] */ BSTR __RPC_FAR *pbstrURLOut);
  461. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FilterDataObject )(
  462. IDocHostUIHandlerDispatch __RPC_FAR * This,
  463. /* [in] */ IUnknown __RPC_FAR *pDO,
  464. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDORet);
  465. END_INTERFACE
  466. } IDocHostUIHandlerDispatchVtbl;
  467. interface IDocHostUIHandlerDispatch
  468. {
  469. CONST_VTBL struct IDocHostUIHandlerDispatchVtbl __RPC_FAR *lpVtbl;
  470. };
  471. #ifdef COBJMACROS
  472. #define IDocHostUIHandlerDispatch_QueryInterface(This,riid,ppvObject) \
  473. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  474. #define IDocHostUIHandlerDispatch_AddRef(This) \
  475. (This)->lpVtbl -> AddRef(This)
  476. #define IDocHostUIHandlerDispatch_Release(This) \
  477. (This)->lpVtbl -> Release(This)
  478. #define IDocHostUIHandlerDispatch_GetTypeInfoCount(This,pctinfo) \
  479. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  480. #define IDocHostUIHandlerDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  481. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  482. #define IDocHostUIHandlerDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  483. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  484. #define IDocHostUIHandlerDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  485. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  486. #define IDocHostUIHandlerDispatch_ShowContextMenu(This,dwID,x,y,pcmdtReserved,pdispReserved,dwRetVal) \
  487. (This)->lpVtbl -> ShowContextMenu(This,dwID,x,y,pcmdtReserved,pdispReserved,dwRetVal)
  488. #define IDocHostUIHandlerDispatch_GetHostInfo(This,pdwFlags,pdwDoubleClick) \
  489. (This)->lpVtbl -> GetHostInfo(This,pdwFlags,pdwDoubleClick)
  490. #define IDocHostUIHandlerDispatch_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc,dwRetVal) \
  491. (This)->lpVtbl -> ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc,dwRetVal)
  492. #define IDocHostUIHandlerDispatch_HideUI(This) \
  493. (This)->lpVtbl -> HideUI(This)
  494. #define IDocHostUIHandlerDispatch_UpdateUI(This) \
  495. (This)->lpVtbl -> UpdateUI(This)
  496. #define IDocHostUIHandlerDispatch_EnableModeless(This,fEnable) \
  497. (This)->lpVtbl -> EnableModeless(This,fEnable)
  498. #define IDocHostUIHandlerDispatch_OnDocWindowActivate(This,fActivate) \
  499. (This)->lpVtbl -> OnDocWindowActivate(This,fActivate)
  500. #define IDocHostUIHandlerDispatch_OnFrameWindowActivate(This,fActivate) \
  501. (This)->lpVtbl -> OnFrameWindowActivate(This,fActivate)
  502. #define IDocHostUIHandlerDispatch_ResizeBorder(This,left,top,right,bottom,pUIWindow,fFrameWindow) \
  503. (This)->lpVtbl -> ResizeBorder(This,left,top,right,bottom,pUIWindow,fFrameWindow)
  504. #define IDocHostUIHandlerDispatch_TranslateAccelerator(This,hWnd,nMessage,wParam,lParam,bstrGuidCmdGroup,nCmdID,dwRetVal) \
  505. (This)->lpVtbl -> TranslateAccelerator(This,hWnd,nMessage,wParam,lParam,bstrGuidCmdGroup,nCmdID,dwRetVal)
  506. #define IDocHostUIHandlerDispatch_GetOptionKeyPath(This,pbstrKey,dw) \
  507. (This)->lpVtbl -> GetOptionKeyPath(This,pbstrKey,dw)
  508. #define IDocHostUIHandlerDispatch_GetDropTarget(This,pDropTarget,ppDropTarget) \
  509. (This)->lpVtbl -> GetDropTarget(This,pDropTarget,ppDropTarget)
  510. #define IDocHostUIHandlerDispatch_GetExternal(This,ppDispatch) \
  511. (This)->lpVtbl -> GetExternal(This,ppDispatch)
  512. #define IDocHostUIHandlerDispatch_TranslateUrl(This,dwTranslate,bstrURLIn,pbstrURLOut) \
  513. (This)->lpVtbl -> TranslateUrl(This,dwTranslate,bstrURLIn,pbstrURLOut)
  514. #define IDocHostUIHandlerDispatch_FilterDataObject(This,pDO,ppDORet) \
  515. (This)->lpVtbl -> FilterDataObject(This,pDO,ppDORet)
  516. #endif /* COBJMACROS */
  517. #endif /* C style interface */
  518. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_ShowContextMenu_Proxy(
  519. IDocHostUIHandlerDispatch __RPC_FAR * This,
  520. /* [in] */ DWORD dwID,
  521. /* [in] */ DWORD x,
  522. /* [in] */ DWORD y,
  523. /* [in] */ IUnknown __RPC_FAR *pcmdtReserved,
  524. /* [in] */ IDispatch __RPC_FAR *pdispReserved,
  525. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal);
  526. void __RPC_STUB IDocHostUIHandlerDispatch_ShowContextMenu_Stub(
  527. IRpcStubBuffer *This,
  528. IRpcChannelBuffer *_pRpcChannelBuffer,
  529. PRPC_MESSAGE _pRpcMessage,
  530. DWORD *_pdwStubPhase);
  531. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetHostInfo_Proxy(
  532. IDocHostUIHandlerDispatch __RPC_FAR * This,
  533. /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  534. /* [out][in] */ DWORD __RPC_FAR *pdwDoubleClick);
  535. void __RPC_STUB IDocHostUIHandlerDispatch_GetHostInfo_Stub(
  536. IRpcStubBuffer *This,
  537. IRpcChannelBuffer *_pRpcChannelBuffer,
  538. PRPC_MESSAGE _pRpcMessage,
  539. DWORD *_pdwStubPhase);
  540. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_ShowUI_Proxy(
  541. IDocHostUIHandlerDispatch __RPC_FAR * This,
  542. /* [in] */ DWORD dwID,
  543. /* [in] */ IUnknown __RPC_FAR *pActiveObject,
  544. /* [in] */ IUnknown __RPC_FAR *pCommandTarget,
  545. /* [in] */ IUnknown __RPC_FAR *pFrame,
  546. /* [in] */ IUnknown __RPC_FAR *pDoc,
  547. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal);
  548. void __RPC_STUB IDocHostUIHandlerDispatch_ShowUI_Stub(
  549. IRpcStubBuffer *This,
  550. IRpcChannelBuffer *_pRpcChannelBuffer,
  551. PRPC_MESSAGE _pRpcMessage,
  552. DWORD *_pdwStubPhase);
  553. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_HideUI_Proxy(
  554. IDocHostUIHandlerDispatch __RPC_FAR * This);
  555. void __RPC_STUB IDocHostUIHandlerDispatch_HideUI_Stub(
  556. IRpcStubBuffer *This,
  557. IRpcChannelBuffer *_pRpcChannelBuffer,
  558. PRPC_MESSAGE _pRpcMessage,
  559. DWORD *_pdwStubPhase);
  560. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_UpdateUI_Proxy(
  561. IDocHostUIHandlerDispatch __RPC_FAR * This);
  562. void __RPC_STUB IDocHostUIHandlerDispatch_UpdateUI_Stub(
  563. IRpcStubBuffer *This,
  564. IRpcChannelBuffer *_pRpcChannelBuffer,
  565. PRPC_MESSAGE _pRpcMessage,
  566. DWORD *_pdwStubPhase);
  567. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_EnableModeless_Proxy(
  568. IDocHostUIHandlerDispatch __RPC_FAR * This,
  569. /* [in] */ VARIANT_BOOL fEnable);
  570. void __RPC_STUB IDocHostUIHandlerDispatch_EnableModeless_Stub(
  571. IRpcStubBuffer *This,
  572. IRpcChannelBuffer *_pRpcChannelBuffer,
  573. PRPC_MESSAGE _pRpcMessage,
  574. DWORD *_pdwStubPhase);
  575. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_OnDocWindowActivate_Proxy(
  576. IDocHostUIHandlerDispatch __RPC_FAR * This,
  577. /* [in] */ VARIANT_BOOL fActivate);
  578. void __RPC_STUB IDocHostUIHandlerDispatch_OnDocWindowActivate_Stub(
  579. IRpcStubBuffer *This,
  580. IRpcChannelBuffer *_pRpcChannelBuffer,
  581. PRPC_MESSAGE _pRpcMessage,
  582. DWORD *_pdwStubPhase);
  583. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_OnFrameWindowActivate_Proxy(
  584. IDocHostUIHandlerDispatch __RPC_FAR * This,
  585. /* [in] */ VARIANT_BOOL fActivate);
  586. void __RPC_STUB IDocHostUIHandlerDispatch_OnFrameWindowActivate_Stub(
  587. IRpcStubBuffer *This,
  588. IRpcChannelBuffer *_pRpcChannelBuffer,
  589. PRPC_MESSAGE _pRpcMessage,
  590. DWORD *_pdwStubPhase);
  591. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_ResizeBorder_Proxy(
  592. IDocHostUIHandlerDispatch __RPC_FAR * This,
  593. /* [in] */ long left,
  594. /* [in] */ long top,
  595. /* [in] */ long right,
  596. /* [in] */ long bottom,
  597. /* [in] */ IUnknown __RPC_FAR *pUIWindow,
  598. /* [in] */ VARIANT_BOOL fFrameWindow);
  599. void __RPC_STUB IDocHostUIHandlerDispatch_ResizeBorder_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_TranslateAccelerator_Proxy(
  605. IDocHostUIHandlerDispatch __RPC_FAR * This,
  606. /* [in] */ DWORD hWnd,
  607. /* [in] */ DWORD nMessage,
  608. /* [in] */ DWORD wParam,
  609. /* [in] */ DWORD lParam,
  610. /* [in] */ BSTR bstrGuidCmdGroup,
  611. /* [in] */ DWORD nCmdID,
  612. /* [retval][out] */ HRESULT __RPC_FAR *dwRetVal);
  613. void __RPC_STUB IDocHostUIHandlerDispatch_TranslateAccelerator_Stub(
  614. IRpcStubBuffer *This,
  615. IRpcChannelBuffer *_pRpcChannelBuffer,
  616. PRPC_MESSAGE _pRpcMessage,
  617. DWORD *_pdwStubPhase);
  618. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetOptionKeyPath_Proxy(
  619. IDocHostUIHandlerDispatch __RPC_FAR * This,
  620. /* [out] */ BSTR __RPC_FAR *pbstrKey,
  621. /* [in] */ DWORD dw);
  622. void __RPC_STUB IDocHostUIHandlerDispatch_GetOptionKeyPath_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetDropTarget_Proxy(
  628. IDocHostUIHandlerDispatch __RPC_FAR * This,
  629. /* [in] */ IUnknown __RPC_FAR *pDropTarget,
  630. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDropTarget);
  631. void __RPC_STUB IDocHostUIHandlerDispatch_GetDropTarget_Stub(
  632. IRpcStubBuffer *This,
  633. IRpcChannelBuffer *_pRpcChannelBuffer,
  634. PRPC_MESSAGE _pRpcMessage,
  635. DWORD *_pdwStubPhase);
  636. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_GetExternal_Proxy(
  637. IDocHostUIHandlerDispatch __RPC_FAR * This,
  638. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispatch);
  639. void __RPC_STUB IDocHostUIHandlerDispatch_GetExternal_Stub(
  640. IRpcStubBuffer *This,
  641. IRpcChannelBuffer *_pRpcChannelBuffer,
  642. PRPC_MESSAGE _pRpcMessage,
  643. DWORD *_pdwStubPhase);
  644. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_TranslateUrl_Proxy(
  645. IDocHostUIHandlerDispatch __RPC_FAR * This,
  646. /* [in] */ DWORD dwTranslate,
  647. /* [in] */ BSTR bstrURLIn,
  648. /* [out] */ BSTR __RPC_FAR *pbstrURLOut);
  649. void __RPC_STUB IDocHostUIHandlerDispatch_TranslateUrl_Stub(
  650. IRpcStubBuffer *This,
  651. IRpcChannelBuffer *_pRpcChannelBuffer,
  652. PRPC_MESSAGE _pRpcMessage,
  653. DWORD *_pdwStubPhase);
  654. HRESULT STDMETHODCALLTYPE IDocHostUIHandlerDispatch_FilterDataObject_Proxy(
  655. IDocHostUIHandlerDispatch __RPC_FAR * This,
  656. /* [in] */ IUnknown __RPC_FAR *pDO,
  657. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDORet);
  658. void __RPC_STUB IDocHostUIHandlerDispatch_FilterDataObject_Stub(
  659. IRpcStubBuffer *This,
  660. IRpcChannelBuffer *_pRpcChannelBuffer,
  661. PRPC_MESSAGE _pRpcMessage,
  662. DWORD *_pdwStubPhase);
  663. #endif /* __IDocHostUIHandlerDispatch_INTERFACE_DEFINED__ */
  664. #ifndef __IAxWinHostWindow_INTERFACE_DEFINED__
  665. #define __IAxWinHostWindow_INTERFACE_DEFINED__
  666. /* interface IAxWinHostWindow */
  667. /* [object][unique][helpstring][uuid] */
  668. EXTERN_C const IID IID_IAxWinHostWindow;
  669. #if defined(__cplusplus) && !defined(CINTERFACE)
  670. MIDL_INTERFACE("B6EA2050-048A-11d1-82B9-00C04FB9942E")
  671. IAxWinHostWindow : public IUnknown
  672. {
  673. public:
  674. virtual HRESULT STDMETHODCALLTYPE CreateControl(
  675. /* [in] */ LPCOLESTR lpTricsData,
  676. /* [in] */ HWND hWnd,
  677. /* [in] */ IStream __RPC_FAR *pStream) = 0;
  678. virtual HRESULT STDMETHODCALLTYPE CreateControlEx(
  679. /* [in] */ LPCOLESTR lpTricsData,
  680. /* [in] */ HWND hWnd,
  681. /* [in] */ IStream __RPC_FAR *pStream,
  682. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  683. /* [in] */ REFIID riidAdvise,
  684. /* [in] */ IUnknown __RPC_FAR *punkAdvise) = 0;
  685. virtual HRESULT STDMETHODCALLTYPE AttachControl(
  686. /* [in] */ IUnknown __RPC_FAR *pUnkControl,
  687. /* [in] */ HWND hWnd) = 0;
  688. virtual HRESULT STDMETHODCALLTYPE QueryControl(
  689. /* [in] */ REFIID riid,
  690. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  691. virtual HRESULT STDMETHODCALLTYPE SetExternalDispatch(
  692. /* [in] */ IDispatch __RPC_FAR *pDisp) = 0;
  693. virtual HRESULT STDMETHODCALLTYPE SetExternalUIHandler(
  694. /* [in] */ IDocHostUIHandlerDispatch __RPC_FAR *pDisp) = 0;
  695. };
  696. #else /* C style interface */
  697. typedef struct IAxWinHostWindowVtbl
  698. {
  699. BEGIN_INTERFACE
  700. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  701. IAxWinHostWindow __RPC_FAR * This,
  702. /* [in] */ REFIID riid,
  703. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  704. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  705. IAxWinHostWindow __RPC_FAR * This);
  706. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  707. IAxWinHostWindow __RPC_FAR * This);
  708. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateControl )(
  709. IAxWinHostWindow __RPC_FAR * This,
  710. /* [in] */ LPCOLESTR lpTricsData,
  711. /* [in] */ HWND hWnd,
  712. /* [in] */ IStream __RPC_FAR *pStream);
  713. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateControlEx )(
  714. IAxWinHostWindow __RPC_FAR * This,
  715. /* [in] */ LPCOLESTR lpTricsData,
  716. /* [in] */ HWND hWnd,
  717. /* [in] */ IStream __RPC_FAR *pStream,
  718. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  719. /* [in] */ REFIID riidAdvise,
  720. /* [in] */ IUnknown __RPC_FAR *punkAdvise);
  721. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachControl )(
  722. IAxWinHostWindow __RPC_FAR * This,
  723. /* [in] */ IUnknown __RPC_FAR *pUnkControl,
  724. /* [in] */ HWND hWnd);
  725. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryControl )(
  726. IAxWinHostWindow __RPC_FAR * This,
  727. /* [in] */ REFIID riid,
  728. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  729. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetExternalDispatch )(
  730. IAxWinHostWindow __RPC_FAR * This,
  731. /* [in] */ IDispatch __RPC_FAR *pDisp);
  732. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetExternalUIHandler )(
  733. IAxWinHostWindow __RPC_FAR * This,
  734. /* [in] */ IDocHostUIHandlerDispatch __RPC_FAR *pDisp);
  735. END_INTERFACE
  736. } IAxWinHostWindowVtbl;
  737. interface IAxWinHostWindow
  738. {
  739. CONST_VTBL struct IAxWinHostWindowVtbl __RPC_FAR *lpVtbl;
  740. };
  741. #ifdef COBJMACROS
  742. #define IAxWinHostWindow_QueryInterface(This,riid,ppvObject) \
  743. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  744. #define IAxWinHostWindow_AddRef(This) \
  745. (This)->lpVtbl -> AddRef(This)
  746. #define IAxWinHostWindow_Release(This) \
  747. (This)->lpVtbl -> Release(This)
  748. #define IAxWinHostWindow_CreateControl(This,lpTricsData,hWnd,pStream) \
  749. (This)->lpVtbl -> CreateControl(This,lpTricsData,hWnd,pStream)
  750. #define IAxWinHostWindow_CreateControlEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise) \
  751. (This)->lpVtbl -> CreateControlEx(This,lpTricsData,hWnd,pStream,ppUnk,riidAdvise,punkAdvise)
  752. #define IAxWinHostWindow_AttachControl(This,pUnkControl,hWnd) \
  753. (This)->lpVtbl -> AttachControl(This,pUnkControl,hWnd)
  754. #define IAxWinHostWindow_QueryControl(This,riid,ppvObject) \
  755. (This)->lpVtbl -> QueryControl(This,riid,ppvObject)
  756. #define IAxWinHostWindow_SetExternalDispatch(This,pDisp) \
  757. (This)->lpVtbl -> SetExternalDispatch(This,pDisp)
  758. #define IAxWinHostWindow_SetExternalUIHandler(This,pDisp) \
  759. (This)->lpVtbl -> SetExternalUIHandler(This,pDisp)
  760. #endif /* COBJMACROS */
  761. #endif /* C style interface */
  762. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_CreateControl_Proxy(
  763. IAxWinHostWindow __RPC_FAR * This,
  764. /* [in] */ LPCOLESTR lpTricsData,
  765. /* [in] */ HWND hWnd,
  766. /* [in] */ IStream __RPC_FAR *pStream);
  767. void __RPC_STUB IAxWinHostWindow_CreateControl_Stub(
  768. IRpcStubBuffer *This,
  769. IRpcChannelBuffer *_pRpcChannelBuffer,
  770. PRPC_MESSAGE _pRpcMessage,
  771. DWORD *_pdwStubPhase);
  772. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_CreateControlEx_Proxy(
  773. IAxWinHostWindow __RPC_FAR * This,
  774. /* [in] */ LPCOLESTR lpTricsData,
  775. /* [in] */ HWND hWnd,
  776. /* [in] */ IStream __RPC_FAR *pStream,
  777. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  778. /* [in] */ REFIID riidAdvise,
  779. /* [in] */ IUnknown __RPC_FAR *punkAdvise);
  780. void __RPC_STUB IAxWinHostWindow_CreateControlEx_Stub(
  781. IRpcStubBuffer *This,
  782. IRpcChannelBuffer *_pRpcChannelBuffer,
  783. PRPC_MESSAGE _pRpcMessage,
  784. DWORD *_pdwStubPhase);
  785. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_AttachControl_Proxy(
  786. IAxWinHostWindow __RPC_FAR * This,
  787. /* [in] */ IUnknown __RPC_FAR *pUnkControl,
  788. /* [in] */ HWND hWnd);
  789. void __RPC_STUB IAxWinHostWindow_AttachControl_Stub(
  790. IRpcStubBuffer *This,
  791. IRpcChannelBuffer *_pRpcChannelBuffer,
  792. PRPC_MESSAGE _pRpcMessage,
  793. DWORD *_pdwStubPhase);
  794. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_QueryControl_Proxy(
  795. IAxWinHostWindow __RPC_FAR * This,
  796. /* [in] */ REFIID riid,
  797. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  798. void __RPC_STUB IAxWinHostWindow_QueryControl_Stub(
  799. IRpcStubBuffer *This,
  800. IRpcChannelBuffer *_pRpcChannelBuffer,
  801. PRPC_MESSAGE _pRpcMessage,
  802. DWORD *_pdwStubPhase);
  803. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_SetExternalDispatch_Proxy(
  804. IAxWinHostWindow __RPC_FAR * This,
  805. /* [in] */ IDispatch __RPC_FAR *pDisp);
  806. void __RPC_STUB IAxWinHostWindow_SetExternalDispatch_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. HRESULT STDMETHODCALLTYPE IAxWinHostWindow_SetExternalUIHandler_Proxy(
  812. IAxWinHostWindow __RPC_FAR * This,
  813. /* [in] */ IDocHostUIHandlerDispatch __RPC_FAR *pDisp);
  814. void __RPC_STUB IAxWinHostWindow_SetExternalUIHandler_Stub(
  815. IRpcStubBuffer *This,
  816. IRpcChannelBuffer *_pRpcChannelBuffer,
  817. PRPC_MESSAGE _pRpcMessage,
  818. DWORD *_pdwStubPhase);
  819. #endif /* __IAxWinHostWindow_INTERFACE_DEFINED__ */
  820. #ifndef __IAxWinAmbientDispatch_INTERFACE_DEFINED__
  821. #define __IAxWinAmbientDispatch_INTERFACE_DEFINED__
  822. /* interface IAxWinAmbientDispatch */
  823. /* [unique][helpstring][uuid][dual][object] */
  824. EXTERN_C const IID IID_IAxWinAmbientDispatch;
  825. #if defined(__cplusplus) && !defined(CINTERFACE)
  826. MIDL_INTERFACE("B6EA2051-048A-11d1-82B9-00C04FB9942E")
  827. IAxWinAmbientDispatch : public IDispatch
  828. {
  829. public:
  830. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowWindowlessActivation(
  831. /* [in] */ VARIANT_BOOL bCanWindowlessActivate) = 0;
  832. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowWindowlessActivation(
  833. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbCanWindowlessActivate) = 0;
  834. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_BackColor(
  835. /* [in] */ OLE_COLOR clrBackground) = 0;
  836. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BackColor(
  837. /* [retval][out] */ OLE_COLOR __RPC_FAR *pclrBackground) = 0;
  838. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ForeColor(
  839. /* [in] */ OLE_COLOR clrForeground) = 0;
  840. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ForeColor(
  841. /* [retval][out] */ OLE_COLOR __RPC_FAR *pclrForeground) = 0;
  842. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocaleID(
  843. /* [in] */ LCID lcidLocaleID) = 0;
  844. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocaleID(
  845. /* [retval][out] */ LCID __RPC_FAR *plcidLocaleID) = 0;
  846. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_UserMode(
  847. /* [in] */ VARIANT_BOOL bUserMode) = 0;
  848. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_UserMode(
  849. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbUserMode) = 0;
  850. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DisplayAsDefault(
  851. /* [in] */ VARIANT_BOOL bDisplayAsDefault) = 0;
  852. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayAsDefault(
  853. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbDisplayAsDefault) = 0;
  854. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Font(
  855. /* [in] */ IFontDisp __RPC_FAR *pFont) = 0;
  856. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Font(
  857. /* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *pFont) = 0;
  858. virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_MessageReflect(
  859. /* [in] */ VARIANT_BOOL bMsgReflect) = 0;
  860. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MessageReflect(
  861. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbMsgReflect) = 0;
  862. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ShowGrabHandles(
  863. VARIANT_BOOL __RPC_FAR *pbShowGrabHandles) = 0;
  864. virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ShowHatching(
  865. VARIANT_BOOL __RPC_FAR *pbShowHatching) = 0;
  866. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DocHostFlags(
  867. /* [in] */ DWORD dwDocHostFlags) = 0;
  868. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DocHostFlags(
  869. /* [retval][out] */ DWORD __RPC_FAR *pdwDocHostFlags) = 0;
  870. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DocHostDoubleClickFlags(
  871. /* [in] */ DWORD dwDocHostDoubleClickFlags) = 0;
  872. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DocHostDoubleClickFlags(
  873. /* [retval][out] */ DWORD __RPC_FAR *pdwDocHostDoubleClickFlags) = 0;
  874. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowContextMenu(
  875. /* [in] */ VARIANT_BOOL bAllowContextMenu) = 0;
  876. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowContextMenu(
  877. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbAllowContextMenu) = 0;
  878. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowShowUI(
  879. /* [in] */ VARIANT_BOOL bAllowShowUI) = 0;
  880. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowShowUI(
  881. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbAllowShowUI) = 0;
  882. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_OptionKeyPath(
  883. /* [in] */ BSTR bstrOptionKeyPath) = 0;
  884. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_OptionKeyPath(
  885. /* [retval][out] */ BSTR __RPC_FAR *pbstrOptionKeyPath) = 0;
  886. };
  887. #else /* C style interface */
  888. typedef struct IAxWinAmbientDispatchVtbl
  889. {
  890. BEGIN_INTERFACE
  891. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  892. IAxWinAmbientDispatch __RPC_FAR * This,
  893. /* [in] */ REFIID riid,
  894. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  895. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  896. IAxWinAmbientDispatch __RPC_FAR * This);
  897. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  898. IAxWinAmbientDispatch __RPC_FAR * This);
  899. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  900. IAxWinAmbientDispatch __RPC_FAR * This,
  901. /* [out] */ UINT __RPC_FAR *pctinfo);
  902. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  903. IAxWinAmbientDispatch __RPC_FAR * This,
  904. /* [in] */ UINT iTInfo,
  905. /* [in] */ LCID lcid,
  906. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  907. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  908. IAxWinAmbientDispatch __RPC_FAR * This,
  909. /* [in] */ REFIID riid,
  910. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  911. /* [in] */ UINT cNames,
  912. /* [in] */ LCID lcid,
  913. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  914. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  915. IAxWinAmbientDispatch __RPC_FAR * This,
  916. /* [in] */ DISPID dispIdMember,
  917. /* [in] */ REFIID riid,
  918. /* [in] */ LCID lcid,
  919. /* [in] */ WORD wFlags,
  920. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  921. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  922. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  923. /* [out] */ UINT __RPC_FAR *puArgErr);
  924. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AllowWindowlessActivation )(
  925. IAxWinAmbientDispatch __RPC_FAR * This,
  926. /* [in] */ VARIANT_BOOL bCanWindowlessActivate);
  927. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AllowWindowlessActivation )(
  928. IAxWinAmbientDispatch __RPC_FAR * This,
  929. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbCanWindowlessActivate);
  930. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_BackColor )(
  931. IAxWinAmbientDispatch __RPC_FAR * This,
  932. /* [in] */ OLE_COLOR clrBackground);
  933. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_BackColor )(
  934. IAxWinAmbientDispatch __RPC_FAR * This,
  935. /* [retval][out] */ OLE_COLOR __RPC_FAR *pclrBackground);
  936. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ForeColor )(
  937. IAxWinAmbientDispatch __RPC_FAR * This,
  938. /* [in] */ OLE_COLOR clrForeground);
  939. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ForeColor )(
  940. IAxWinAmbientDispatch __RPC_FAR * This,
  941. /* [retval][out] */ OLE_COLOR __RPC_FAR *pclrForeground);
  942. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocaleID )(
  943. IAxWinAmbientDispatch __RPC_FAR * This,
  944. /* [in] */ LCID lcidLocaleID);
  945. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocaleID )(
  946. IAxWinAmbientDispatch __RPC_FAR * This,
  947. /* [retval][out] */ LCID __RPC_FAR *plcidLocaleID);
  948. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_UserMode )(
  949. IAxWinAmbientDispatch __RPC_FAR * This,
  950. /* [in] */ VARIANT_BOOL bUserMode);
  951. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_UserMode )(
  952. IAxWinAmbientDispatch __RPC_FAR * This,
  953. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbUserMode);
  954. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DisplayAsDefault )(
  955. IAxWinAmbientDispatch __RPC_FAR * This,
  956. /* [in] */ VARIANT_BOOL bDisplayAsDefault);
  957. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DisplayAsDefault )(
  958. IAxWinAmbientDispatch __RPC_FAR * This,
  959. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbDisplayAsDefault);
  960. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Font )(
  961. IAxWinAmbientDispatch __RPC_FAR * This,
  962. /* [in] */ IFontDisp __RPC_FAR *pFont);
  963. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Font )(
  964. IAxWinAmbientDispatch __RPC_FAR * This,
  965. /* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *pFont);
  966. /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessageReflect )(
  967. IAxWinAmbientDispatch __RPC_FAR * This,
  968. /* [in] */ VARIANT_BOOL bMsgReflect);
  969. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MessageReflect )(
  970. IAxWinAmbientDispatch __RPC_FAR * This,
  971. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbMsgReflect);
  972. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ShowGrabHandles )(
  973. IAxWinAmbientDispatch __RPC_FAR * This,
  974. VARIANT_BOOL __RPC_FAR *pbShowGrabHandles);
  975. /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ShowHatching )(
  976. IAxWinAmbientDispatch __RPC_FAR * This,
  977. VARIANT_BOOL __RPC_FAR *pbShowHatching);
  978. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DocHostFlags )(
  979. IAxWinAmbientDispatch __RPC_FAR * This,
  980. /* [in] */ DWORD dwDocHostFlags);
  981. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DocHostFlags )(
  982. IAxWinAmbientDispatch __RPC_FAR * This,
  983. /* [retval][out] */ DWORD __RPC_FAR *pdwDocHostFlags);
  984. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DocHostDoubleClickFlags )(
  985. IAxWinAmbientDispatch __RPC_FAR * This,
  986. /* [in] */ DWORD dwDocHostDoubleClickFlags);
  987. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DocHostDoubleClickFlags )(
  988. IAxWinAmbientDispatch __RPC_FAR * This,
  989. /* [retval][out] */ DWORD __RPC_FAR *pdwDocHostDoubleClickFlags);
  990. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AllowContextMenu )(
  991. IAxWinAmbientDispatch __RPC_FAR * This,
  992. /* [in] */ VARIANT_BOOL bAllowContextMenu);
  993. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AllowContextMenu )(
  994. IAxWinAmbientDispatch __RPC_FAR * This,
  995. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbAllowContextMenu);
  996. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AllowShowUI )(
  997. IAxWinAmbientDispatch __RPC_FAR * This,
  998. /* [in] */ VARIANT_BOOL bAllowShowUI);
  999. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AllowShowUI )(
  1000. IAxWinAmbientDispatch __RPC_FAR * This,
  1001. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbAllowShowUI);
  1002. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_OptionKeyPath )(
  1003. IAxWinAmbientDispatch __RPC_FAR * This,
  1004. /* [in] */ BSTR bstrOptionKeyPath);
  1005. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_OptionKeyPath )(
  1006. IAxWinAmbientDispatch __RPC_FAR * This,
  1007. /* [retval][out] */ BSTR __RPC_FAR *pbstrOptionKeyPath);
  1008. END_INTERFACE
  1009. } IAxWinAmbientDispatchVtbl;
  1010. interface IAxWinAmbientDispatch
  1011. {
  1012. CONST_VTBL struct IAxWinAmbientDispatchVtbl __RPC_FAR *lpVtbl;
  1013. };
  1014. #ifdef COBJMACROS
  1015. #define IAxWinAmbientDispatch_QueryInterface(This,riid,ppvObject) \
  1016. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1017. #define IAxWinAmbientDispatch_AddRef(This) \
  1018. (This)->lpVtbl -> AddRef(This)
  1019. #define IAxWinAmbientDispatch_Release(This) \
  1020. (This)->lpVtbl -> Release(This)
  1021. #define IAxWinAmbientDispatch_GetTypeInfoCount(This,pctinfo) \
  1022. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1023. #define IAxWinAmbientDispatch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1024. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1025. #define IAxWinAmbientDispatch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1026. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1027. #define IAxWinAmbientDispatch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1028. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1029. #define IAxWinAmbientDispatch_put_AllowWindowlessActivation(This,bCanWindowlessActivate) \
  1030. (This)->lpVtbl -> put_AllowWindowlessActivation(This,bCanWindowlessActivate)
  1031. #define IAxWinAmbientDispatch_get_AllowWindowlessActivation(This,pbCanWindowlessActivate) \
  1032. (This)->lpVtbl -> get_AllowWindowlessActivation(This,pbCanWindowlessActivate)
  1033. #define IAxWinAmbientDispatch_put_BackColor(This,clrBackground) \
  1034. (This)->lpVtbl -> put_BackColor(This,clrBackground)
  1035. #define IAxWinAmbientDispatch_get_BackColor(This,pclrBackground) \
  1036. (This)->lpVtbl -> get_BackColor(This,pclrBackground)
  1037. #define IAxWinAmbientDispatch_put_ForeColor(This,clrForeground) \
  1038. (This)->lpVtbl -> put_ForeColor(This,clrForeground)
  1039. #define IAxWinAmbientDispatch_get_ForeColor(This,pclrForeground) \
  1040. (This)->lpVtbl -> get_ForeColor(This,pclrForeground)
  1041. #define IAxWinAmbientDispatch_put_LocaleID(This,lcidLocaleID) \
  1042. (This)->lpVtbl -> put_LocaleID(This,lcidLocaleID)
  1043. #define IAxWinAmbientDispatch_get_LocaleID(This,plcidLocaleID) \
  1044. (This)->lpVtbl -> get_LocaleID(This,plcidLocaleID)
  1045. #define IAxWinAmbientDispatch_put_UserMode(This,bUserMode) \
  1046. (This)->lpVtbl -> put_UserMode(This,bUserMode)
  1047. #define IAxWinAmbientDispatch_get_UserMode(This,pbUserMode) \
  1048. (This)->lpVtbl -> get_UserMode(This,pbUserMode)
  1049. #define IAxWinAmbientDispatch_put_DisplayAsDefault(This,bDisplayAsDefault) \
  1050. (This)->lpVtbl -> put_DisplayAsDefault(This,bDisplayAsDefault)
  1051. #define IAxWinAmbientDispatch_get_DisplayAsDefault(This,pbDisplayAsDefault) \
  1052. (This)->lpVtbl -> get_DisplayAsDefault(This,pbDisplayAsDefault)
  1053. #define IAxWinAmbientDispatch_put_Font(This,pFont) \
  1054. (This)->lpVtbl -> put_Font(This,pFont)
  1055. #define IAxWinAmbientDispatch_get_Font(This,pFont) \
  1056. (This)->lpVtbl -> get_Font(This,pFont)
  1057. #define IAxWinAmbientDispatch_put_MessageReflect(This,bMsgReflect) \
  1058. (This)->lpVtbl -> put_MessageReflect(This,bMsgReflect)
  1059. #define IAxWinAmbientDispatch_get_MessageReflect(This,pbMsgReflect) \
  1060. (This)->lpVtbl -> get_MessageReflect(This,pbMsgReflect)
  1061. #define IAxWinAmbientDispatch_get_ShowGrabHandles(This,pbShowGrabHandles) \
  1062. (This)->lpVtbl -> get_ShowGrabHandles(This,pbShowGrabHandles)
  1063. #define IAxWinAmbientDispatch_get_ShowHatching(This,pbShowHatching) \
  1064. (This)->lpVtbl -> get_ShowHatching(This,pbShowHatching)
  1065. #define IAxWinAmbientDispatch_put_DocHostFlags(This,dwDocHostFlags) \
  1066. (This)->lpVtbl -> put_DocHostFlags(This,dwDocHostFlags)
  1067. #define IAxWinAmbientDispatch_get_DocHostFlags(This,pdwDocHostFlags) \
  1068. (This)->lpVtbl -> get_DocHostFlags(This,pdwDocHostFlags)
  1069. #define IAxWinAmbientDispatch_put_DocHostDoubleClickFlags(This,dwDocHostDoubleClickFlags) \
  1070. (This)->lpVtbl -> put_DocHostDoubleClickFlags(This,dwDocHostDoubleClickFlags)
  1071. #define IAxWinAmbientDispatch_get_DocHostDoubleClickFlags(This,pdwDocHostDoubleClickFlags) \
  1072. (This)->lpVtbl -> get_DocHostDoubleClickFlags(This,pdwDocHostDoubleClickFlags)
  1073. #define IAxWinAmbientDispatch_put_AllowContextMenu(This,bAllowContextMenu) \
  1074. (This)->lpVtbl -> put_AllowContextMenu(This,bAllowContextMenu)
  1075. #define IAxWinAmbientDispatch_get_AllowContextMenu(This,pbAllowContextMenu) \
  1076. (This)->lpVtbl -> get_AllowContextMenu(This,pbAllowContextMenu)
  1077. #define IAxWinAmbientDispatch_put_AllowShowUI(This,bAllowShowUI) \
  1078. (This)->lpVtbl -> put_AllowShowUI(This,bAllowShowUI)
  1079. #define IAxWinAmbientDispatch_get_AllowShowUI(This,pbAllowShowUI) \
  1080. (This)->lpVtbl -> get_AllowShowUI(This,pbAllowShowUI)
  1081. #define IAxWinAmbientDispatch_put_OptionKeyPath(This,bstrOptionKeyPath) \
  1082. (This)->lpVtbl -> put_OptionKeyPath(This,bstrOptionKeyPath)
  1083. #define IAxWinAmbientDispatch_get_OptionKeyPath(This,pbstrOptionKeyPath) \
  1084. (This)->lpVtbl -> get_OptionKeyPath(This,pbstrOptionKeyPath)
  1085. #endif /* COBJMACROS */
  1086. #endif /* C style interface */
  1087. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_AllowWindowlessActivation_Proxy(
  1088. IAxWinAmbientDispatch __RPC_FAR * This,
  1089. /* [in] */ VARIANT_BOOL bCanWindowlessActivate);
  1090. void __RPC_STUB IAxWinAmbientDispatch_put_AllowWindowlessActivation_Stub(
  1091. IRpcStubBuffer *This,
  1092. IRpcChannelBuffer *_pRpcChannelBuffer,
  1093. PRPC_MESSAGE _pRpcMessage,
  1094. DWORD *_pdwStubPhase);
  1095. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_AllowWindowlessActivation_Proxy(
  1096. IAxWinAmbientDispatch __RPC_FAR * This,
  1097. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbCanWindowlessActivate);
  1098. void __RPC_STUB IAxWinAmbientDispatch_get_AllowWindowlessActivation_Stub(
  1099. IRpcStubBuffer *This,
  1100. IRpcChannelBuffer *_pRpcChannelBuffer,
  1101. PRPC_MESSAGE _pRpcMessage,
  1102. DWORD *_pdwStubPhase);
  1103. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_BackColor_Proxy(
  1104. IAxWinAmbientDispatch __RPC_FAR * This,
  1105. /* [in] */ OLE_COLOR clrBackground);
  1106. void __RPC_STUB IAxWinAmbientDispatch_put_BackColor_Stub(
  1107. IRpcStubBuffer *This,
  1108. IRpcChannelBuffer *_pRpcChannelBuffer,
  1109. PRPC_MESSAGE _pRpcMessage,
  1110. DWORD *_pdwStubPhase);
  1111. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_BackColor_Proxy(
  1112. IAxWinAmbientDispatch __RPC_FAR * This,
  1113. /* [retval][out] */ OLE_COLOR __RPC_FAR *pclrBackground);
  1114. void __RPC_STUB IAxWinAmbientDispatch_get_BackColor_Stub(
  1115. IRpcStubBuffer *This,
  1116. IRpcChannelBuffer *_pRpcChannelBuffer,
  1117. PRPC_MESSAGE _pRpcMessage,
  1118. DWORD *_pdwStubPhase);
  1119. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_ForeColor_Proxy(
  1120. IAxWinAmbientDispatch __RPC_FAR * This,
  1121. /* [in] */ OLE_COLOR clrForeground);
  1122. void __RPC_STUB IAxWinAmbientDispatch_put_ForeColor_Stub(
  1123. IRpcStubBuffer *This,
  1124. IRpcChannelBuffer *_pRpcChannelBuffer,
  1125. PRPC_MESSAGE _pRpcMessage,
  1126. DWORD *_pdwStubPhase);
  1127. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_ForeColor_Proxy(
  1128. IAxWinAmbientDispatch __RPC_FAR * This,
  1129. /* [retval][out] */ OLE_COLOR __RPC_FAR *pclrForeground);
  1130. void __RPC_STUB IAxWinAmbientDispatch_get_ForeColor_Stub(
  1131. IRpcStubBuffer *This,
  1132. IRpcChannelBuffer *_pRpcChannelBuffer,
  1133. PRPC_MESSAGE _pRpcMessage,
  1134. DWORD *_pdwStubPhase);
  1135. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_LocaleID_Proxy(
  1136. IAxWinAmbientDispatch __RPC_FAR * This,
  1137. /* [in] */ LCID lcidLocaleID);
  1138. void __RPC_STUB IAxWinAmbientDispatch_put_LocaleID_Stub(
  1139. IRpcStubBuffer *This,
  1140. IRpcChannelBuffer *_pRpcChannelBuffer,
  1141. PRPC_MESSAGE _pRpcMessage,
  1142. DWORD *_pdwStubPhase);
  1143. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_LocaleID_Proxy(
  1144. IAxWinAmbientDispatch __RPC_FAR * This,
  1145. /* [retval][out] */ LCID __RPC_FAR *plcidLocaleID);
  1146. void __RPC_STUB IAxWinAmbientDispatch_get_LocaleID_Stub(
  1147. IRpcStubBuffer *This,
  1148. IRpcChannelBuffer *_pRpcChannelBuffer,
  1149. PRPC_MESSAGE _pRpcMessage,
  1150. DWORD *_pdwStubPhase);
  1151. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_UserMode_Proxy(
  1152. IAxWinAmbientDispatch __RPC_FAR * This,
  1153. /* [in] */ VARIANT_BOOL bUserMode);
  1154. void __RPC_STUB IAxWinAmbientDispatch_put_UserMode_Stub(
  1155. IRpcStubBuffer *This,
  1156. IRpcChannelBuffer *_pRpcChannelBuffer,
  1157. PRPC_MESSAGE _pRpcMessage,
  1158. DWORD *_pdwStubPhase);
  1159. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_UserMode_Proxy(
  1160. IAxWinAmbientDispatch __RPC_FAR * This,
  1161. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbUserMode);
  1162. void __RPC_STUB IAxWinAmbientDispatch_get_UserMode_Stub(
  1163. IRpcStubBuffer *This,
  1164. IRpcChannelBuffer *_pRpcChannelBuffer,
  1165. PRPC_MESSAGE _pRpcMessage,
  1166. DWORD *_pdwStubPhase);
  1167. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_DisplayAsDefault_Proxy(
  1168. IAxWinAmbientDispatch __RPC_FAR * This,
  1169. /* [in] */ VARIANT_BOOL bDisplayAsDefault);
  1170. void __RPC_STUB IAxWinAmbientDispatch_put_DisplayAsDefault_Stub(
  1171. IRpcStubBuffer *This,
  1172. IRpcChannelBuffer *_pRpcChannelBuffer,
  1173. PRPC_MESSAGE _pRpcMessage,
  1174. DWORD *_pdwStubPhase);
  1175. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_DisplayAsDefault_Proxy(
  1176. IAxWinAmbientDispatch __RPC_FAR * This,
  1177. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbDisplayAsDefault);
  1178. void __RPC_STUB IAxWinAmbientDispatch_get_DisplayAsDefault_Stub(
  1179. IRpcStubBuffer *This,
  1180. IRpcChannelBuffer *_pRpcChannelBuffer,
  1181. PRPC_MESSAGE _pRpcMessage,
  1182. DWORD *_pdwStubPhase);
  1183. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_Font_Proxy(
  1184. IAxWinAmbientDispatch __RPC_FAR * This,
  1185. /* [in] */ IFontDisp __RPC_FAR *pFont);
  1186. void __RPC_STUB IAxWinAmbientDispatch_put_Font_Stub(
  1187. IRpcStubBuffer *This,
  1188. IRpcChannelBuffer *_pRpcChannelBuffer,
  1189. PRPC_MESSAGE _pRpcMessage,
  1190. DWORD *_pdwStubPhase);
  1191. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_Font_Proxy(
  1192. IAxWinAmbientDispatch __RPC_FAR * This,
  1193. /* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *pFont);
  1194. void __RPC_STUB IAxWinAmbientDispatch_get_Font_Stub(
  1195. IRpcStubBuffer *This,
  1196. IRpcChannelBuffer *_pRpcChannelBuffer,
  1197. PRPC_MESSAGE _pRpcMessage,
  1198. DWORD *_pdwStubPhase);
  1199. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_MessageReflect_Proxy(
  1200. IAxWinAmbientDispatch __RPC_FAR * This,
  1201. /* [in] */ VARIANT_BOOL bMsgReflect);
  1202. void __RPC_STUB IAxWinAmbientDispatch_put_MessageReflect_Stub(
  1203. IRpcStubBuffer *This,
  1204. IRpcChannelBuffer *_pRpcChannelBuffer,
  1205. PRPC_MESSAGE _pRpcMessage,
  1206. DWORD *_pdwStubPhase);
  1207. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_MessageReflect_Proxy(
  1208. IAxWinAmbientDispatch __RPC_FAR * This,
  1209. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbMsgReflect);
  1210. void __RPC_STUB IAxWinAmbientDispatch_get_MessageReflect_Stub(
  1211. IRpcStubBuffer *This,
  1212. IRpcChannelBuffer *_pRpcChannelBuffer,
  1213. PRPC_MESSAGE _pRpcMessage,
  1214. DWORD *_pdwStubPhase);
  1215. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_ShowGrabHandles_Proxy(
  1216. IAxWinAmbientDispatch __RPC_FAR * This,
  1217. VARIANT_BOOL __RPC_FAR *pbShowGrabHandles);
  1218. void __RPC_STUB IAxWinAmbientDispatch_get_ShowGrabHandles_Stub(
  1219. IRpcStubBuffer *This,
  1220. IRpcChannelBuffer *_pRpcChannelBuffer,
  1221. PRPC_MESSAGE _pRpcMessage,
  1222. DWORD *_pdwStubPhase);
  1223. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_ShowHatching_Proxy(
  1224. IAxWinAmbientDispatch __RPC_FAR * This,
  1225. VARIANT_BOOL __RPC_FAR *pbShowHatching);
  1226. void __RPC_STUB IAxWinAmbientDispatch_get_ShowHatching_Stub(
  1227. IRpcStubBuffer *This,
  1228. IRpcChannelBuffer *_pRpcChannelBuffer,
  1229. PRPC_MESSAGE _pRpcMessage,
  1230. DWORD *_pdwStubPhase);
  1231. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_DocHostFlags_Proxy(
  1232. IAxWinAmbientDispatch __RPC_FAR * This,
  1233. /* [in] */ DWORD dwDocHostFlags);
  1234. void __RPC_STUB IAxWinAmbientDispatch_put_DocHostFlags_Stub(
  1235. IRpcStubBuffer *This,
  1236. IRpcChannelBuffer *_pRpcChannelBuffer,
  1237. PRPC_MESSAGE _pRpcMessage,
  1238. DWORD *_pdwStubPhase);
  1239. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_DocHostFlags_Proxy(
  1240. IAxWinAmbientDispatch __RPC_FAR * This,
  1241. /* [retval][out] */ DWORD __RPC_FAR *pdwDocHostFlags);
  1242. void __RPC_STUB IAxWinAmbientDispatch_get_DocHostFlags_Stub(
  1243. IRpcStubBuffer *This,
  1244. IRpcChannelBuffer *_pRpcChannelBuffer,
  1245. PRPC_MESSAGE _pRpcMessage,
  1246. DWORD *_pdwStubPhase);
  1247. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_DocHostDoubleClickFlags_Proxy(
  1248. IAxWinAmbientDispatch __RPC_FAR * This,
  1249. /* [in] */ DWORD dwDocHostDoubleClickFlags);
  1250. void __RPC_STUB IAxWinAmbientDispatch_put_DocHostDoubleClickFlags_Stub(
  1251. IRpcStubBuffer *This,
  1252. IRpcChannelBuffer *_pRpcChannelBuffer,
  1253. PRPC_MESSAGE _pRpcMessage,
  1254. DWORD *_pdwStubPhase);
  1255. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_DocHostDoubleClickFlags_Proxy(
  1256. IAxWinAmbientDispatch __RPC_FAR * This,
  1257. /* [retval][out] */ DWORD __RPC_FAR *pdwDocHostDoubleClickFlags);
  1258. void __RPC_STUB IAxWinAmbientDispatch_get_DocHostDoubleClickFlags_Stub(
  1259. IRpcStubBuffer *This,
  1260. IRpcChannelBuffer *_pRpcChannelBuffer,
  1261. PRPC_MESSAGE _pRpcMessage,
  1262. DWORD *_pdwStubPhase);
  1263. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_AllowContextMenu_Proxy(
  1264. IAxWinAmbientDispatch __RPC_FAR * This,
  1265. /* [in] */ VARIANT_BOOL bAllowContextMenu);
  1266. void __RPC_STUB IAxWinAmbientDispatch_put_AllowContextMenu_Stub(
  1267. IRpcStubBuffer *This,
  1268. IRpcChannelBuffer *_pRpcChannelBuffer,
  1269. PRPC_MESSAGE _pRpcMessage,
  1270. DWORD *_pdwStubPhase);
  1271. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_AllowContextMenu_Proxy(
  1272. IAxWinAmbientDispatch __RPC_FAR * This,
  1273. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbAllowContextMenu);
  1274. void __RPC_STUB IAxWinAmbientDispatch_get_AllowContextMenu_Stub(
  1275. IRpcStubBuffer *This,
  1276. IRpcChannelBuffer *_pRpcChannelBuffer,
  1277. PRPC_MESSAGE _pRpcMessage,
  1278. DWORD *_pdwStubPhase);
  1279. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_AllowShowUI_Proxy(
  1280. IAxWinAmbientDispatch __RPC_FAR * This,
  1281. /* [in] */ VARIANT_BOOL bAllowShowUI);
  1282. void __RPC_STUB IAxWinAmbientDispatch_put_AllowShowUI_Stub(
  1283. IRpcStubBuffer *This,
  1284. IRpcChannelBuffer *_pRpcChannelBuffer,
  1285. PRPC_MESSAGE _pRpcMessage,
  1286. DWORD *_pdwStubPhase);
  1287. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_AllowShowUI_Proxy(
  1288. IAxWinAmbientDispatch __RPC_FAR * This,
  1289. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbAllowShowUI);
  1290. void __RPC_STUB IAxWinAmbientDispatch_get_AllowShowUI_Stub(
  1291. IRpcStubBuffer *This,
  1292. IRpcChannelBuffer *_pRpcChannelBuffer,
  1293. PRPC_MESSAGE _pRpcMessage,
  1294. DWORD *_pdwStubPhase);
  1295. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_put_OptionKeyPath_Proxy(
  1296. IAxWinAmbientDispatch __RPC_FAR * This,
  1297. /* [in] */ BSTR bstrOptionKeyPath);
  1298. void __RPC_STUB IAxWinAmbientDispatch_put_OptionKeyPath_Stub(
  1299. IRpcStubBuffer *This,
  1300. IRpcChannelBuffer *_pRpcChannelBuffer,
  1301. PRPC_MESSAGE _pRpcMessage,
  1302. DWORD *_pdwStubPhase);
  1303. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IAxWinAmbientDispatch_get_OptionKeyPath_Proxy(
  1304. IAxWinAmbientDispatch __RPC_FAR * This,
  1305. /* [retval][out] */ BSTR __RPC_FAR *pbstrOptionKeyPath);
  1306. void __RPC_STUB IAxWinAmbientDispatch_get_OptionKeyPath_Stub(
  1307. IRpcStubBuffer *This,
  1308. IRpcChannelBuffer *_pRpcChannelBuffer,
  1309. PRPC_MESSAGE _pRpcMessage,
  1310. DWORD *_pdwStubPhase);
  1311. #endif /* __IAxWinAmbientDispatch_INTERFACE_DEFINED__ */
  1312. #ifndef __IInternalConnection_INTERFACE_DEFINED__
  1313. #define __IInternalConnection_INTERFACE_DEFINED__
  1314. /* interface IInternalConnection */
  1315. /* [object][unique][helpstring][uuid] */
  1316. EXTERN_C const IID IID_IInternalConnection;
  1317. #if defined(__cplusplus) && !defined(CINTERFACE)
  1318. MIDL_INTERFACE("72AD0770-6A9F-11d1-BCEC-0060088F444E")
  1319. IInternalConnection : public IUnknown
  1320. {
  1321. public:
  1322. virtual HRESULT STDMETHODCALLTYPE AddConnection( void) = 0;
  1323. virtual HRESULT STDMETHODCALLTYPE ReleaseConnection( void) = 0;
  1324. };
  1325. #else /* C style interface */
  1326. typedef struct IInternalConnectionVtbl
  1327. {
  1328. BEGIN_INTERFACE
  1329. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1330. IInternalConnection __RPC_FAR * This,
  1331. /* [in] */ REFIID riid,
  1332. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1333. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1334. IInternalConnection __RPC_FAR * This);
  1335. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1336. IInternalConnection __RPC_FAR * This);
  1337. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddConnection )(
  1338. IInternalConnection __RPC_FAR * This);
  1339. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseConnection )(
  1340. IInternalConnection __RPC_FAR * This);
  1341. END_INTERFACE
  1342. } IInternalConnectionVtbl;
  1343. interface IInternalConnection
  1344. {
  1345. CONST_VTBL struct IInternalConnectionVtbl __RPC_FAR *lpVtbl;
  1346. };
  1347. #ifdef COBJMACROS
  1348. #define IInternalConnection_QueryInterface(This,riid,ppvObject) \
  1349. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1350. #define IInternalConnection_AddRef(This) \
  1351. (This)->lpVtbl -> AddRef(This)
  1352. #define IInternalConnection_Release(This) \
  1353. (This)->lpVtbl -> Release(This)
  1354. #define IInternalConnection_AddConnection(This) \
  1355. (This)->lpVtbl -> AddConnection(This)
  1356. #define IInternalConnection_ReleaseConnection(This) \
  1357. (This)->lpVtbl -> ReleaseConnection(This)
  1358. #endif /* COBJMACROS */
  1359. #endif /* C style interface */
  1360. HRESULT STDMETHODCALLTYPE IInternalConnection_AddConnection_Proxy(
  1361. IInternalConnection __RPC_FAR * This);
  1362. void __RPC_STUB IInternalConnection_AddConnection_Stub(
  1363. IRpcStubBuffer *This,
  1364. IRpcChannelBuffer *_pRpcChannelBuffer,
  1365. PRPC_MESSAGE _pRpcMessage,
  1366. DWORD *_pdwStubPhase);
  1367. HRESULT STDMETHODCALLTYPE IInternalConnection_ReleaseConnection_Proxy(
  1368. IInternalConnection __RPC_FAR * This);
  1369. void __RPC_STUB IInternalConnection_ReleaseConnection_Stub(
  1370. IRpcStubBuffer *This,
  1371. IRpcChannelBuffer *_pRpcChannelBuffer,
  1372. PRPC_MESSAGE _pRpcMessage,
  1373. DWORD *_pdwStubPhase);
  1374. #endif /* __IInternalConnection_INTERFACE_DEFINED__ */
  1375. /* interface __MIDL_itf_atliface_0236 */
  1376. /* [local] */
  1377. #ifndef _ATL_DLL_IMPL
  1378. namespace ATL
  1379. {
  1380. #endif
  1381. ATLAPI_(INT_PTR) AtlAxDialogBoxW(HINSTANCE hInstance, LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1382. ATLAPI_(INT_PTR) AtlAxDialogBoxA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1383. #ifdef UNICODE
  1384. #define AtlAxDialogBox AtlAxDialogBoxW
  1385. #else
  1386. #define AtlAxDialogBox AtlAxDialogBoxA
  1387. #endif
  1388. ATLAPI_(HWND) AtlAxCreateDialogW(HINSTANCE hInstance, LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1389. ATLAPI_(HWND) AtlAxCreateDialogA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogProc, LPARAM dwInitParam);
  1390. #ifdef UNICODE
  1391. #define AtlAxCreateDialog AtlAxCreateDialogW
  1392. #else
  1393. #define AtlAxCreateDialog AtlAxCreateDialogA
  1394. #endif
  1395. ATLAPI AtlAxCreateControl(LPCOLESTR lpszName, HWND hWnd, IStream* pStream, IUnknown** ppUnkContainer);
  1396. ATLAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd, IStream* pStream,
  1397. IUnknown** ppUnkContainer, IUnknown** ppUnkControl,
  1398. REFIID iidSink=IID_NULL, IUnknown* punkSink=NULL);
  1399. ATLAPI AtlAxAttachControl(IUnknown* pControl, HWND hWnd, IUnknown** ppUnkContainer);
  1400. ATLAPI_(BOOL) AtlAxWinInit();
  1401. ATLAPI AtlAxGetHost(HWND h, IUnknown** pp);
  1402. ATLAPI AtlAxGetControl(HWND h, IUnknown** pp);
  1403. #ifndef _ATL_DLL_IMPL
  1404. }; //namespace ATL
  1405. #endif //_ATL_DLL_IMPL
  1406. extern RPC_IF_HANDLE __MIDL_itf_atliface_0236_v0_0_c_ifspec;
  1407. extern RPC_IF_HANDLE __MIDL_itf_atliface_0236_v0_0_s_ifspec;
  1408. /* Additional Prototypes for ALL interfaces */
  1409. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  1410. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  1411. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  1412. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  1413. unsigned long __RPC_USER HWND_UserSize( unsigned long __RPC_FAR *, unsigned long , HWND __RPC_FAR * );
  1414. unsigned char __RPC_FAR * __RPC_USER HWND_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  1415. unsigned char __RPC_FAR * __RPC_USER HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  1416. void __RPC_USER HWND_UserFree( unsigned long __RPC_FAR *, HWND __RPC_FAR * );
  1417. /* end of Additional Prototypes */
  1418. #ifdef __cplusplus
  1419. }
  1420. #endif
  1421. #endif