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.

2181 lines
57 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 2.00.0102 */
  3. /* at Wed Mar 27 07:31:34 1996
  4. */
  5. //@@MIDL_FILE_HEADING( )
  6. #ifndef COM_NO_WINDOWS_H
  7. #include "windows.h"
  8. #include "ole2.h"
  9. #endif /*COM_NO_WINDOWS_H*/
  10. #ifndef __ocx96_h__
  11. #define __ocx96_h__
  12. #ifdef __cplusplus
  13. extern "C"{
  14. #endif
  15. /* Forward Declarations */
  16. typedef interface IAdviseSinkEx IAdviseSinkEx;
  17. typedef interface IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless;
  18. typedef interface IOleInPlaceSiteEx IOleInPlaceSiteEx;
  19. typedef interface IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless;
  20. typedef interface IViewObjectEx IViewObjectEx;
  21. typedef interface IOleUndoUnit IOleUndoUnit;
  22. typedef interface IOleParentUndoUnit IOleParentUndoUnit;
  23. typedef interface IEnumOleUndoUnits IEnumOleUndoUnits;
  24. typedef interface IOleUndoManager IOleUndoManager;
  25. typedef interface IQuickActivate IQuickActivate;
  26. typedef interface IPointerInactive IPointerInactive;
  27. /* header files for imported files */
  28. #ifndef _MAC
  29. #include "oaidl.h"
  30. #endif
  31. #include "olectl.h"
  32. #ifndef _MAC
  33. #include "datapath.h"
  34. #else
  35. #define IBindHost IUnknown
  36. #endif
  37. /****************************************
  38. * Generated header for interface: __MIDL__intf_0000
  39. * at Wed Mar 27 07:31:34 1996
  40. * using MIDL 2.00.0102
  41. ****************************************/
  42. /* [local] */
  43. #define OLEMISC_IGNOREACTIVATEWHENVISIBLE 0x00080000
  44. #define OLEMISC_SUPPORTSMULTILEVELUNDO 0x00200000
  45. /****************************************
  46. * Generated header for interface: IAdviseSinkEx
  47. * at Wed Mar 27 07:31:34 1996
  48. * using MIDL 2.00.0102
  49. ****************************************/
  50. /* [uuid][unique][object][local] */
  51. /* size is 4 */
  52. typedef IAdviseSinkEx *LPADVISESINKEX;
  53. EXTERN_C const IID IID_IAdviseSinkEx;
  54. #if defined(__cplusplus) && !defined(CINTERFACE)
  55. interface IAdviseSinkEx : public IAdviseSink
  56. {
  57. public:
  58. virtual void __stdcall OnViewStatusChange(
  59. /* [in] */ DWORD dwViewStatus) = 0;
  60. };
  61. #else /* C style interface */
  62. typedef struct IAdviseSinkExVtbl
  63. {
  64. HRESULT ( __stdcall *QueryInterface )(
  65. IAdviseSinkEx * This,
  66. /* [in] */ REFIID riid,
  67. /* [out] */ void **ppvObject);
  68. ULONG ( __stdcall *AddRef )(
  69. IAdviseSinkEx * This);
  70. ULONG ( __stdcall *Release )(
  71. IAdviseSinkEx * This);
  72. /* [local] */ void ( __stdcall *OnDataChange )(
  73. IAdviseSinkEx * This,
  74. /* [unique][in] */ FORMATETC *pFormatetc,
  75. /* [unique][in] */ STGMEDIUM *pStgmed);
  76. /* [local] */ void ( __stdcall *OnViewChange )(
  77. IAdviseSinkEx * This,
  78. /* [in] */ DWORD dwAspect,
  79. /* [in] */ LONG lindex);
  80. /* [local] */ void ( __stdcall *OnRename )(
  81. IAdviseSinkEx * This,
  82. /* [in] */ IMoniker *pmk);
  83. /* [local] */ void ( __stdcall *OnSave )(
  84. IAdviseSinkEx * This);
  85. /* [local] */ void ( __stdcall *OnClose )(
  86. IAdviseSinkEx * This);
  87. void ( __stdcall *OnViewStatusChange )(
  88. IAdviseSinkEx * This,
  89. /* [in] */ DWORD dwViewStatus);
  90. } IAdviseSinkExVtbl;
  91. interface IAdviseSinkEx
  92. {
  93. CONST_VTBL struct IAdviseSinkExVtbl *lpVtbl;
  94. };
  95. #ifdef COBJMACROS
  96. #define IAdviseSinkEx_QueryInterface(This,riid,ppvObject) \
  97. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  98. #define IAdviseSinkEx_AddRef(This) \
  99. (This)->lpVtbl -> AddRef(This)
  100. #define IAdviseSinkEx_Release(This) \
  101. (This)->lpVtbl -> Release(This)
  102. #define IAdviseSinkEx_OnDataChange(This,pFormatetc,pStgmed) \
  103. (This)->lpVtbl -> OnDataChange(This,pFormatetc,pStgmed)
  104. #define IAdviseSinkEx_OnViewChange(This,dwAspect,lindex) \
  105. (This)->lpVtbl -> OnViewChange(This,dwAspect,lindex)
  106. #define IAdviseSinkEx_OnRename(This,pmk) \
  107. (This)->lpVtbl -> OnRename(This,pmk)
  108. #define IAdviseSinkEx_OnSave(This) \
  109. (This)->lpVtbl -> OnSave(This)
  110. #define IAdviseSinkEx_OnClose(This) \
  111. (This)->lpVtbl -> OnClose(This)
  112. #define IAdviseSinkEx_OnViewStatusChange(This,dwViewStatus) \
  113. (This)->lpVtbl -> OnViewStatusChange(This,dwViewStatus)
  114. #endif /* COBJMACROS */
  115. #endif /* C style interface */
  116. void __stdcall IAdviseSinkEx_OnViewStatusChange_Proxy(
  117. IAdviseSinkEx * This,
  118. /* [in] */ DWORD dwViewStatus);
  119. /****************************************
  120. * Generated header for interface: __MIDL__intf_0087
  121. * at Wed Mar 27 07:31:34 1996
  122. * using MIDL 2.00.0102
  123. ****************************************/
  124. /* [local] */
  125. typedef IAdviseSinkEx * LPADVISESINKEX;
  126. /****************************************
  127. * Generated header for interface: IOleInPlaceObjectWindowless
  128. * at Wed Mar 27 07:31:34 1996
  129. * using MIDL 2.00.0102
  130. ****************************************/
  131. /* [uuid][unique][object][local] */
  132. /* size is 4 */
  133. typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS;
  134. EXTERN_C const IID IID_IOleInPlaceObjectWindowless;
  135. #if defined(__cplusplus) && !defined(CINTERFACE)
  136. interface IOleInPlaceObjectWindowless : public IOleInPlaceObject
  137. {
  138. public:
  139. virtual HRESULT __stdcall OnWindowMessage(
  140. /* [in] */ UINT msg,
  141. /* [in] */ WPARAM wParam,
  142. /* [in] */ LPARAM lparam,
  143. /* [out] */ LRESULT *plResult) = 0;
  144. virtual HRESULT __stdcall GetDropTarget(
  145. /* [out] */ IDropTarget **ppDropTarget) = 0;
  146. };
  147. #else /* C style interface */
  148. typedef struct IOleInPlaceObjectWindowlessVtbl
  149. {
  150. HRESULT ( __stdcall *QueryInterface )(
  151. IOleInPlaceObjectWindowless * This,
  152. /* [in] */ REFIID riid,
  153. /* [out] */ void **ppvObject);
  154. ULONG ( __stdcall *AddRef )(
  155. IOleInPlaceObjectWindowless * This);
  156. ULONG ( __stdcall *Release )(
  157. IOleInPlaceObjectWindowless * This);
  158. /* [input_sync] */ HRESULT ( __stdcall *GetWindow )(
  159. IOleInPlaceObjectWindowless * This,
  160. /* [out] */ HWND *phwnd);
  161. HRESULT ( __stdcall *ContextSensitiveHelp )(
  162. IOleInPlaceObjectWindowless * This,
  163. /* [in] */ BOOL fEnterMode);
  164. HRESULT ( __stdcall *InPlaceDeactivate )(
  165. IOleInPlaceObjectWindowless * This);
  166. HRESULT ( __stdcall *UIDeactivate )(
  167. IOleInPlaceObjectWindowless * This);
  168. /* [input_sync] */ HRESULT ( __stdcall *SetObjectRects )(
  169. IOleInPlaceObjectWindowless * This,
  170. /* [in] */ LPCRECT lprcPosRect,
  171. /* [in] */ LPCRECT lprcClipRect);
  172. HRESULT ( __stdcall *ReactivateAndUndo )(
  173. IOleInPlaceObjectWindowless * This);
  174. HRESULT ( __stdcall *OnWindowMessage )(
  175. IOleInPlaceObjectWindowless * This,
  176. /* [in] */ UINT msg,
  177. /* [in] */ WPARAM wParam,
  178. /* [in] */ LPARAM lparam,
  179. /* [out] */ LRESULT *plResult);
  180. HRESULT ( __stdcall *GetDropTarget )(
  181. IOleInPlaceObjectWindowless * This,
  182. /* [out] */ IDropTarget **ppDropTarget);
  183. } IOleInPlaceObjectWindowlessVtbl;
  184. interface IOleInPlaceObjectWindowless
  185. {
  186. CONST_VTBL struct IOleInPlaceObjectWindowlessVtbl *lpVtbl;
  187. };
  188. #ifdef COBJMACROS
  189. #define IOleInPlaceObjectWindowless_QueryInterface(This,riid,ppvObject) \
  190. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  191. #define IOleInPlaceObjectWindowless_AddRef(This) \
  192. (This)->lpVtbl -> AddRef(This)
  193. #define IOleInPlaceObjectWindowless_Release(This) \
  194. (This)->lpVtbl -> Release(This)
  195. #define IOleInPlaceObjectWindowless_GetWindow(This,phwnd) \
  196. (This)->lpVtbl -> GetWindow(This,phwnd)
  197. #define IOleInPlaceObjectWindowless_ContextSensitiveHelp(This,fEnterMode) \
  198. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  199. #define IOleInPlaceObjectWindowless_InPlaceDeactivate(This) \
  200. (This)->lpVtbl -> InPlaceDeactivate(This)
  201. #define IOleInPlaceObjectWindowless_UIDeactivate(This) \
  202. (This)->lpVtbl -> UIDeactivate(This)
  203. #define IOleInPlaceObjectWindowless_SetObjectRects(This,lprcPosRect,lprcClipRect) \
  204. (This)->lpVtbl -> SetObjectRects(This,lprcPosRect,lprcClipRect)
  205. #define IOleInPlaceObjectWindowless_ReactivateAndUndo(This) \
  206. (This)->lpVtbl -> ReactivateAndUndo(This)
  207. #define IOleInPlaceObjectWindowless_OnWindowMessage(This,msg,wParam,lparam,plResult) \
  208. (This)->lpVtbl -> OnWindowMessage(This,msg,wParam,lparam,plResult)
  209. #define IOleInPlaceObjectWindowless_GetDropTarget(This,ppDropTarget) \
  210. (This)->lpVtbl -> GetDropTarget(This,ppDropTarget)
  211. #endif /* COBJMACROS */
  212. #endif /* C style interface */
  213. /****************************************
  214. * Generated header for interface: __MIDL__intf_0088
  215. * at Wed Mar 27 07:31:34 1996
  216. * using MIDL 2.00.0102
  217. ****************************************/
  218. /* [local] */
  219. typedef IOleInPlaceObjectWindowless * LPOLEINPLACEOBJECTWINDOWLESS;
  220. /****************************************
  221. * Generated header for interface: IOleInPlaceSiteEx
  222. * at Wed Mar 27 07:31:34 1996
  223. * using MIDL 2.00.0102
  224. ****************************************/
  225. /* [uuid][unique][object][local] */
  226. /* size is 2 */
  227. typedef
  228. enum _ACTIVATEFLAGS
  229. { ACTIVATE_WINDOWLESS = 1
  230. } ACTIVATEFLAGS;
  231. EXTERN_C const IID IID_IOleInPlaceSiteEx;
  232. #if defined(__cplusplus) && !defined(CINTERFACE)
  233. interface IOleInPlaceSiteEx : public IOleInPlaceSite
  234. {
  235. public:
  236. virtual HRESULT __stdcall OnInPlaceActivateEx(
  237. /* [out] */ BOOL *pfNoRedraw,
  238. /* [in] */ DWORD dwFlags) = 0;
  239. virtual HRESULT __stdcall OnInPlaceDeactivateEx(
  240. /* [in] */ BOOL fNoRedraw) = 0;
  241. virtual HRESULT __stdcall RequestUIActivate( void) = 0;
  242. };
  243. #else /* C style interface */
  244. typedef struct IOleInPlaceSiteExVtbl
  245. {
  246. HRESULT ( __stdcall *QueryInterface )(
  247. IOleInPlaceSiteEx * This,
  248. /* [in] */ REFIID riid,
  249. /* [out] */ void **ppvObject);
  250. ULONG ( __stdcall *AddRef )(
  251. IOleInPlaceSiteEx * This);
  252. ULONG ( __stdcall *Release )(
  253. IOleInPlaceSiteEx * This);
  254. /* [input_sync] */ HRESULT ( __stdcall *GetWindow )(
  255. IOleInPlaceSiteEx * This,
  256. /* [out] */ HWND *phwnd);
  257. HRESULT ( __stdcall *ContextSensitiveHelp )(
  258. IOleInPlaceSiteEx * This,
  259. /* [in] */ BOOL fEnterMode);
  260. HRESULT ( __stdcall *CanInPlaceActivate )(
  261. IOleInPlaceSiteEx * This);
  262. HRESULT ( __stdcall *OnInPlaceActivate )(
  263. IOleInPlaceSiteEx * This);
  264. HRESULT ( __stdcall *OnUIActivate )(
  265. IOleInPlaceSiteEx * This);
  266. HRESULT ( __stdcall *GetWindowContext )(
  267. IOleInPlaceSiteEx * This,
  268. /* [out] */ IOleInPlaceFrame **ppFrame,
  269. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  270. /* [out] */ LPRECT lprcPosRect,
  271. /* [out] */ LPRECT lprcClipRect,
  272. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  273. HRESULT ( __stdcall *Scroll )(
  274. IOleInPlaceSiteEx * This,
  275. /* [in] */ SIZE scrollExtant);
  276. HRESULT ( __stdcall *OnUIDeactivate )(
  277. IOleInPlaceSiteEx * This,
  278. /* [in] */ BOOL fUndoable);
  279. HRESULT ( __stdcall *OnInPlaceDeactivate )(
  280. IOleInPlaceSiteEx * This);
  281. HRESULT ( __stdcall *DiscardUndoState )(
  282. IOleInPlaceSiteEx * This);
  283. HRESULT ( __stdcall *DeactivateAndUndo )(
  284. IOleInPlaceSiteEx * This);
  285. HRESULT ( __stdcall *OnPosRectChange )(
  286. IOleInPlaceSiteEx * This,
  287. /* [in] */ LPCRECT lprcPosRect);
  288. HRESULT ( __stdcall *OnInPlaceActivateEx )(
  289. IOleInPlaceSiteEx * This,
  290. /* [out] */ BOOL *pfNoRedraw,
  291. /* [in] */ DWORD dwFlags);
  292. HRESULT ( __stdcall *OnInPlaceDeactivateEx )(
  293. IOleInPlaceSiteEx * This,
  294. /* [in] */ BOOL fNoRedraw);
  295. HRESULT ( __stdcall *RequestUIActivate )(
  296. IOleInPlaceSiteEx * This);
  297. } IOleInPlaceSiteExVtbl;
  298. interface IOleInPlaceSiteEx
  299. {
  300. CONST_VTBL struct IOleInPlaceSiteExVtbl *lpVtbl;
  301. };
  302. #ifdef COBJMACROS
  303. #define IOleInPlaceSiteEx_QueryInterface(This,riid,ppvObject) \
  304. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  305. #define IOleInPlaceSiteEx_AddRef(This) \
  306. (This)->lpVtbl -> AddRef(This)
  307. #define IOleInPlaceSiteEx_Release(This) \
  308. (This)->lpVtbl -> Release(This)
  309. #define IOleInPlaceSiteEx_GetWindow(This,phwnd) \
  310. (This)->lpVtbl -> GetWindow(This,phwnd)
  311. #define IOleInPlaceSiteEx_ContextSensitiveHelp(This,fEnterMode) \
  312. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  313. #define IOleInPlaceSiteEx_CanInPlaceActivate(This) \
  314. (This)->lpVtbl -> CanInPlaceActivate(This)
  315. #define IOleInPlaceSiteEx_OnInPlaceActivate(This) \
  316. (This)->lpVtbl -> OnInPlaceActivate(This)
  317. #define IOleInPlaceSiteEx_OnUIActivate(This) \
  318. (This)->lpVtbl -> OnUIActivate(This)
  319. #define IOleInPlaceSiteEx_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) \
  320. (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  321. #define IOleInPlaceSiteEx_Scroll(This,scrollExtant) \
  322. (This)->lpVtbl -> Scroll(This,scrollExtant)
  323. #define IOleInPlaceSiteEx_OnUIDeactivate(This,fUndoable) \
  324. (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  325. #define IOleInPlaceSiteEx_OnInPlaceDeactivate(This) \
  326. (This)->lpVtbl -> OnInPlaceDeactivate(This)
  327. #define IOleInPlaceSiteEx_DiscardUndoState(This) \
  328. (This)->lpVtbl -> DiscardUndoState(This)
  329. #define IOleInPlaceSiteEx_DeactivateAndUndo(This) \
  330. (This)->lpVtbl -> DeactivateAndUndo(This)
  331. #define IOleInPlaceSiteEx_OnPosRectChange(This,lprcPosRect) \
  332. (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  333. #define IOleInPlaceSiteEx_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) \
  334. (This)->lpVtbl -> OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
  335. #define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(This,fNoRedraw) \
  336. (This)->lpVtbl -> OnInPlaceDeactivateEx(This,fNoRedraw)
  337. #define IOleInPlaceSiteEx_RequestUIActivate(This) \
  338. (This)->lpVtbl -> RequestUIActivate(This)
  339. #endif /* COBJMACROS */
  340. #endif /* C style interface */
  341. /****************************************
  342. * Generated header for interface: __MIDL__intf_0089
  343. * at Wed Mar 27 07:31:34 1996
  344. * using MIDL 2.00.0102
  345. ****************************************/
  346. /* [local] */
  347. typedef IOleInPlaceSiteEx * LPOLEINPLACESITEEX;
  348. /****************************************
  349. * Generated header for interface: IOleInPlaceSiteWindowless
  350. * at Wed Mar 27 07:31:34 1996
  351. * using MIDL 2.00.0102
  352. ****************************************/
  353. /* [uuid][unique][object][local] */
  354. /* size is 4 */
  355. typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS;
  356. #define OLEDC_NODRAW 1
  357. #define OLEDC_PAINTBKGND 2
  358. #define OLEDC_OFFSCREEN 4
  359. EXTERN_C const IID IID_IOleInPlaceSiteWindowless;
  360. #if defined(__cplusplus) && !defined(CINTERFACE)
  361. interface IOleInPlaceSiteWindowless : public IOleInPlaceSiteEx
  362. {
  363. public:
  364. virtual HRESULT __stdcall CanWindowlessActivate( void) = 0;
  365. virtual HRESULT __stdcall GetCapture( void) = 0;
  366. virtual HRESULT __stdcall SetCapture(
  367. /* [in] */ BOOL fCapture) = 0;
  368. virtual HRESULT __stdcall GetFocus( void) = 0;
  369. virtual HRESULT __stdcall SetFocus(
  370. /* [in] */ BOOL fFocus) = 0;
  371. virtual HRESULT __stdcall GetDC(
  372. /* [in] */ LPCRECT prc,
  373. /* [in] */ DWORD grfFlags,
  374. /* [out] */ HDC *phDC) = 0;
  375. virtual HRESULT __stdcall ReleaseDC(
  376. /* [in] */ HDC hDC) = 0;
  377. virtual HRESULT __stdcall InvalidateRect(
  378. /* [in] */ LPCRECT prc,
  379. /* [in] */ BOOL fErase) = 0;
  380. virtual HRESULT __stdcall InvalidateRgn(
  381. /* [in] */ HRGN hrgn,
  382. /* [in] */ BOOL fErase) = 0;
  383. virtual HRESULT __stdcall ScrollRect(
  384. /* [in] */ int dx,
  385. /* [in] */ int dy,
  386. /* [in] */ LPCRECT prcScroll,
  387. /* [in] */ LPCRECT prcClip) = 0;
  388. virtual HRESULT __stdcall AdjustRect(
  389. /* [out][in] */ LPRECT prc) = 0;
  390. virtual HRESULT __stdcall OnDefWindowMessage(
  391. /* [in] */ UINT msg,
  392. /* [in] */ WPARAM wParam,
  393. /* [in] */ LPARAM lParam,
  394. /* [out] */ LRESULT *plResult) = 0;
  395. };
  396. #else /* C style interface */
  397. typedef struct IOleInPlaceSiteWindowlessVtbl
  398. {
  399. HRESULT ( __stdcall *QueryInterface )(
  400. IOleInPlaceSiteWindowless * This,
  401. /* [in] */ REFIID riid,
  402. /* [out] */ void **ppvObject);
  403. ULONG ( __stdcall *AddRef )(
  404. IOleInPlaceSiteWindowless * This);
  405. ULONG ( __stdcall *Release )(
  406. IOleInPlaceSiteWindowless * This);
  407. /* [input_sync] */ HRESULT ( __stdcall *GetWindow )(
  408. IOleInPlaceSiteWindowless * This,
  409. /* [out] */ HWND *phwnd);
  410. HRESULT ( __stdcall *ContextSensitiveHelp )(
  411. IOleInPlaceSiteWindowless * This,
  412. /* [in] */ BOOL fEnterMode);
  413. HRESULT ( __stdcall *CanInPlaceActivate )(
  414. IOleInPlaceSiteWindowless * This);
  415. HRESULT ( __stdcall *OnInPlaceActivate )(
  416. IOleInPlaceSiteWindowless * This);
  417. HRESULT ( __stdcall *OnUIActivate )(
  418. IOleInPlaceSiteWindowless * This);
  419. HRESULT ( __stdcall *GetWindowContext )(
  420. IOleInPlaceSiteWindowless * This,
  421. /* [out] */ IOleInPlaceFrame **ppFrame,
  422. /* [out] */ IOleInPlaceUIWindow **ppDoc,
  423. /* [out] */ LPRECT lprcPosRect,
  424. /* [out] */ LPRECT lprcClipRect,
  425. /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
  426. HRESULT ( __stdcall *Scroll )(
  427. IOleInPlaceSiteWindowless * This,
  428. /* [in] */ SIZE scrollExtant);
  429. HRESULT ( __stdcall *OnUIDeactivate )(
  430. IOleInPlaceSiteWindowless * This,
  431. /* [in] */ BOOL fUndoable);
  432. HRESULT ( __stdcall *OnInPlaceDeactivate )(
  433. IOleInPlaceSiteWindowless * This);
  434. HRESULT ( __stdcall *DiscardUndoState )(
  435. IOleInPlaceSiteWindowless * This);
  436. HRESULT ( __stdcall *DeactivateAndUndo )(
  437. IOleInPlaceSiteWindowless * This);
  438. HRESULT ( __stdcall *OnPosRectChange )(
  439. IOleInPlaceSiteWindowless * This,
  440. /* [in] */ LPCRECT lprcPosRect);
  441. HRESULT ( __stdcall *OnInPlaceActivateEx )(
  442. IOleInPlaceSiteWindowless * This,
  443. /* [out] */ BOOL *pfNoRedraw,
  444. /* [in] */ DWORD dwFlags);
  445. HRESULT ( __stdcall *OnInPlaceDeactivateEx )(
  446. IOleInPlaceSiteWindowless * This,
  447. /* [in] */ BOOL fNoRedraw);
  448. HRESULT ( __stdcall *RequestUIActivate )(
  449. IOleInPlaceSiteWindowless * This);
  450. HRESULT ( __stdcall *CanWindowlessActivate )(
  451. IOleInPlaceSiteWindowless * This);
  452. HRESULT ( __stdcall *GetCapture )(
  453. IOleInPlaceSiteWindowless * This);
  454. HRESULT ( __stdcall *SetCapture )(
  455. IOleInPlaceSiteWindowless * This,
  456. /* [in] */ BOOL fCapture);
  457. HRESULT ( __stdcall *GetFocus )(
  458. IOleInPlaceSiteWindowless * This);
  459. HRESULT ( __stdcall *SetFocus )(
  460. IOleInPlaceSiteWindowless * This,
  461. /* [in] */ BOOL fFocus);
  462. HRESULT ( __stdcall *GetDC )(
  463. IOleInPlaceSiteWindowless * This,
  464. /* [in] */ LPCRECT prc,
  465. /* [in] */ DWORD grfFlags,
  466. /* [out] */ HDC *phDC);
  467. HRESULT ( __stdcall *ReleaseDC )(
  468. IOleInPlaceSiteWindowless * This,
  469. /* [in] */ HDC hDC);
  470. HRESULT ( __stdcall *InvalidateRect )(
  471. IOleInPlaceSiteWindowless * This,
  472. /* [in] */ LPCRECT prc,
  473. /* [in] */ BOOL fErase);
  474. HRESULT ( __stdcall *InvalidateRgn )(
  475. IOleInPlaceSiteWindowless * This,
  476. /* [in] */ HRGN hrgn,
  477. /* [in] */ BOOL fErase);
  478. HRESULT ( __stdcall *ScrollRect )(
  479. IOleInPlaceSiteWindowless * This,
  480. /* [in] */ int dx,
  481. /* [in] */ int dy,
  482. /* [in] */ LPCRECT prcScroll,
  483. /* [in] */ LPCRECT prcClip);
  484. HRESULT ( __stdcall *AdjustRect )(
  485. IOleInPlaceSiteWindowless * This,
  486. /* [out][in] */ LPRECT prc);
  487. HRESULT ( __stdcall *OnDefWindowMessage )(
  488. IOleInPlaceSiteWindowless * This,
  489. /* [in] */ UINT msg,
  490. /* [in] */ WPARAM wParam,
  491. /* [in] */ LPARAM lParam,
  492. /* [out] */ LRESULT *plResult);
  493. } IOleInPlaceSiteWindowlessVtbl;
  494. interface IOleInPlaceSiteWindowless
  495. {
  496. CONST_VTBL struct IOleInPlaceSiteWindowlessVtbl *lpVtbl;
  497. };
  498. #ifdef COBJMACROS
  499. #define IOleInPlaceSiteWindowless_QueryInterface(This,riid,ppvObject) \
  500. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  501. #define IOleInPlaceSiteWindowless_AddRef(This) \
  502. (This)->lpVtbl -> AddRef(This)
  503. #define IOleInPlaceSiteWindowless_Release(This) \
  504. (This)->lpVtbl -> Release(This)
  505. #define IOleInPlaceSiteWindowless_GetWindow(This,phwnd) \
  506. (This)->lpVtbl -> GetWindow(This,phwnd)
  507. #define IOleInPlaceSiteWindowless_ContextSensitiveHelp(This,fEnterMode) \
  508. (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
  509. #define IOleInPlaceSiteWindowless_CanInPlaceActivate(This) \
  510. (This)->lpVtbl -> CanInPlaceActivate(This)
  511. #define IOleInPlaceSiteWindowless_OnInPlaceActivate(This) \
  512. (This)->lpVtbl -> OnInPlaceActivate(This)
  513. #define IOleInPlaceSiteWindowless_OnUIActivate(This) \
  514. (This)->lpVtbl -> OnUIActivate(This)
  515. #define IOleInPlaceSiteWindowless_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) \
  516. (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
  517. #define IOleInPlaceSiteWindowless_Scroll(This,scrollExtant) \
  518. (This)->lpVtbl -> Scroll(This,scrollExtant)
  519. #define IOleInPlaceSiteWindowless_OnUIDeactivate(This,fUndoable) \
  520. (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
  521. #define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(This) \
  522. (This)->lpVtbl -> OnInPlaceDeactivate(This)
  523. #define IOleInPlaceSiteWindowless_DiscardUndoState(This) \
  524. (This)->lpVtbl -> DiscardUndoState(This)
  525. #define IOleInPlaceSiteWindowless_DeactivateAndUndo(This) \
  526. (This)->lpVtbl -> DeactivateAndUndo(This)
  527. #define IOleInPlaceSiteWindowless_OnPosRectChange(This,lprcPosRect) \
  528. (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
  529. #define IOleInPlaceSiteWindowless_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) \
  530. (This)->lpVtbl -> OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
  531. #define IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(This,fNoRedraw) \
  532. (This)->lpVtbl -> OnInPlaceDeactivateEx(This,fNoRedraw)
  533. #define IOleInPlaceSiteWindowless_RequestUIActivate(This) \
  534. (This)->lpVtbl -> RequestUIActivate(This)
  535. #define IOleInPlaceSiteWindowless_CanWindowlessActivate(This) \
  536. (This)->lpVtbl -> CanWindowlessActivate(This)
  537. #define IOleInPlaceSiteWindowless_GetCapture(This) \
  538. (This)->lpVtbl -> GetCapture(This)
  539. #define IOleInPlaceSiteWindowless_SetCapture(This,fCapture) \
  540. (This)->lpVtbl -> SetCapture(This,fCapture)
  541. #define IOleInPlaceSiteWindowless_GetFocus(This) \
  542. (This)->lpVtbl -> GetFocus(This)
  543. #define IOleInPlaceSiteWindowless_SetFocus(This,fFocus) \
  544. (This)->lpVtbl -> SetFocus(This,fFocus)
  545. #define IOleInPlaceSiteWindowless_GetDC(This,prc,grfFlags,phDC) \
  546. (This)->lpVtbl -> GetDC(This,prc,grfFlags,phDC)
  547. #define IOleInPlaceSiteWindowless_ReleaseDC(This,hDC) \
  548. (This)->lpVtbl -> ReleaseDC(This,hDC)
  549. #define IOleInPlaceSiteWindowless_InvalidateRect(This,prc,fErase) \
  550. (This)->lpVtbl -> InvalidateRect(This,prc,fErase)
  551. #define IOleInPlaceSiteWindowless_InvalidateRgn(This,hrgn,fErase) \
  552. (This)->lpVtbl -> InvalidateRgn(This,hrgn,fErase)
  553. #define IOleInPlaceSiteWindowless_ScrollRect(This,dx,dy,prcScroll,prcClip) \
  554. (This)->lpVtbl -> ScrollRect(This,dx,dy,prcScroll,prcClip)
  555. #define IOleInPlaceSiteWindowless_AdjustRect(This,prc) \
  556. (This)->lpVtbl -> AdjustRect(This,prc)
  557. #define IOleInPlaceSiteWindowless_OnDefWindowMessage(This,msg,wParam,lParam,plResult) \
  558. (This)->lpVtbl -> OnDefWindowMessage(This,msg,wParam,lParam,plResult)
  559. #endif /* COBJMACROS */
  560. #endif /* C style interface */
  561. /****************************************
  562. * Generated header for interface: __MIDL__intf_0090
  563. * at Wed Mar 27 07:31:34 1996
  564. * using MIDL 2.00.0102
  565. ****************************************/
  566. /* [local] */
  567. typedef IOleInPlaceSiteWindowless * LPOLEINPLACESITEWINDOWLESS;
  568. /****************************************
  569. * Generated header for interface: IViewObjectEx
  570. * at Wed Mar 27 07:31:34 1996
  571. * using MIDL 2.00.0102
  572. ****************************************/
  573. /* [uuid][unique][object][local] */
  574. /* size is 4 */
  575. typedef IViewObjectEx *LPVIEWOBJECTEX;
  576. /* size is 2 */
  577. typedef
  578. enum _VIEWSTATUS
  579. { VIEWSTATUS_OPAQUE = 1,
  580. VIEWSTATUS_SOLIDBKGND = 2,
  581. VIEWSTATUS_DVASPECTOPAQUE = 4,
  582. VIEWSTATUS_DVASPECTTRANSPARENT = 8
  583. } VIEWSTATUS;
  584. /* size is 2 */
  585. typedef
  586. enum _HITRESULT
  587. { HITRESULT_OUTSIDE = 0,
  588. HITRESULT_TRANSPARENT = 1,
  589. HITRESULT_CLOSE = 2,
  590. HITRESULT_HIT = 3
  591. } HITRESULT;
  592. /* size is 2 */
  593. typedef
  594. enum _DVASPECT2
  595. { DVASPECT_OPAQUE = 16,
  596. DVASPECT_TRANSPARENT = 32
  597. } DVASPECT2;
  598. /* size is 16 */
  599. typedef struct tagExtentInfo
  600. {
  601. UINT cb;
  602. DWORD dwExtentMode;
  603. SIZEL sizelProposed;
  604. } DVEXTENTINFO;
  605. /* size is 2 */
  606. typedef
  607. enum tagExtentMode
  608. { DVEXTENT_CONTENT = 0,
  609. DVEXTENT_INTEGRAL = DVEXTENT_CONTENT + 1
  610. } DVEXTENTMODE;
  611. /* size is 2 */
  612. typedef
  613. enum tagAspectInfoFlag
  614. { DVASPECTINFOFLAG_CANOPTIMIZE = 1
  615. } DVASPECTINFOFLAG;
  616. /* size is 8 */
  617. typedef struct tagAspectInfo
  618. {
  619. UINT cb;
  620. DWORD dwFlags;
  621. } DVASPECTINFO;
  622. EXTERN_C const IID IID_IViewObjectEx;
  623. #if defined(__cplusplus) && !defined(CINTERFACE)
  624. interface IViewObjectEx : public IViewObject2
  625. {
  626. public:
  627. virtual HRESULT __stdcall GetRect(
  628. /* [in] */ DWORD dwAspect,
  629. /* [out] */ LPRECTL pRect) = 0;
  630. virtual HRESULT __stdcall GetViewStatus(
  631. /* [out] */ DWORD *pdwStatus) = 0;
  632. virtual HRESULT __stdcall QueryHitPoint(
  633. /* [in] */ DWORD dwAspect,
  634. /* [in] */ LPCRECT pRectBounds,
  635. /* [in] */ POINT ptlLoc,
  636. /* [in] */ LONG lCloseHint,
  637. /* [out] */ DWORD *pHitResult) = 0;
  638. virtual HRESULT __stdcall QueryHitRect(
  639. /* [in] */ DWORD dwAspect,
  640. /* [in] */ LPCRECT pRectBounds,
  641. /* [in] */ LPCRECT prcLoc,
  642. /* [in] */ LONG lCloseHint,
  643. /* [out] */ DWORD *pHitResult) = 0;
  644. virtual HRESULT __stdcall GetNaturalExtent(
  645. /* [in] */ DWORD dwAspect,
  646. /* [in] */ LONG lindex,
  647. /* [in] */ DVTARGETDEVICE *ptd,
  648. /* [in] */ HDC hicTargetDev,
  649. /* [in] */ DVEXTENTINFO *pExtentInfo,
  650. /* [out] */ LPSIZEL psizel) = 0;
  651. };
  652. #else /* C style interface */
  653. typedef struct IViewObjectExVtbl
  654. {
  655. HRESULT ( __stdcall *QueryInterface )(
  656. IViewObjectEx * This,
  657. /* [in] */ REFIID riid,
  658. /* [out] */ void **ppvObject);
  659. ULONG ( __stdcall *AddRef )(
  660. IViewObjectEx * This);
  661. ULONG ( __stdcall *Release )(
  662. IViewObjectEx * This);
  663. HRESULT ( __stdcall *Draw )(
  664. IViewObjectEx * This,
  665. /* [in] */ DWORD dwDrawAspect,
  666. /* [in] */ LONG lindex,
  667. /* [unique][in] */ void *pvAspect,
  668. /* [unique][in] */ DVTARGETDEVICE *ptd,
  669. /* [in] */ HDC hdcTargetDev,
  670. /* [in] */ HDC hdcDraw,
  671. /* [in] */ LPCRECTL lprcBounds,
  672. /* [in] */ LPCRECTL lprcWBounds,
  673. /* [in] */ BOOL ( __stdcall __stdcall *pfnContinue )(
  674. DWORD dwContinue),
  675. /* [in] */ DWORD dwContinue);
  676. HRESULT ( __stdcall *GetColorSet )(
  677. IViewObjectEx * This,
  678. /* [in] */ DWORD dwDrawAspect,
  679. /* [in] */ LONG lindex,
  680. /* [unique][in] */ void *pvAspect,
  681. /* [in] */ DVTARGETDEVICE *ptd,
  682. /* [in] */ HDC hicTargetDev,
  683. /* [out] */ LOGPALETTE **ppColorSet);
  684. HRESULT ( __stdcall *Freeze )(
  685. IViewObjectEx * This,
  686. /* [in] */ DWORD dwDrawAspect,
  687. /* [in] */ LONG lindex,
  688. /* [unique][in] */ void *pvAspect,
  689. /* [out] */ DWORD *pdwFreeze);
  690. HRESULT ( __stdcall *Unfreeze )(
  691. IViewObjectEx * This,
  692. /* [in] */ DWORD dwFreeze);
  693. HRESULT ( __stdcall *SetAdvise )(
  694. IViewObjectEx * This,
  695. /* [in] */ DWORD aspects,
  696. /* [in] */ DWORD advf,
  697. /* [unique][in] */ IAdviseSink *pAdvSink);
  698. HRESULT ( __stdcall *GetAdvise )(
  699. IViewObjectEx * This,
  700. /* [out] */ DWORD *pAspects,
  701. /* [out] */ DWORD *pAdvf,
  702. /* [out] */ IAdviseSink **ppAdvSink);
  703. HRESULT ( __stdcall *GetExtent )(
  704. IViewObjectEx * This,
  705. /* [in] */ DWORD dwDrawAspect,
  706. /* [in] */ LONG lindex,
  707. /* [in] */ DVTARGETDEVICE *ptd,
  708. /* [out] */ LPSIZEL lpsizel);
  709. HRESULT ( __stdcall *GetRect )(
  710. IViewObjectEx * This,
  711. /* [in] */ DWORD dwAspect,
  712. /* [out] */ LPRECTL pRect);
  713. HRESULT ( __stdcall *GetViewStatus )(
  714. IViewObjectEx * This,
  715. /* [out] */ DWORD *pdwStatus);
  716. HRESULT ( __stdcall *QueryHitPoint )(
  717. IViewObjectEx * This,
  718. /* [in] */ DWORD dwAspect,
  719. /* [in] */ LPCRECT pRectBounds,
  720. /* [in] */ POINT ptlLoc,
  721. /* [in] */ LONG lCloseHint,
  722. /* [out] */ DWORD *pHitResult);
  723. HRESULT ( __stdcall *QueryHitRect )(
  724. IViewObjectEx * This,
  725. /* [in] */ DWORD dwAspect,
  726. /* [in] */ LPCRECT pRectBounds,
  727. /* [in] */ LPCRECT prcLoc,
  728. /* [in] */ LONG lCloseHint,
  729. /* [out] */ DWORD *pHitResult);
  730. HRESULT ( __stdcall *GetNaturalExtent )(
  731. IViewObjectEx * This,
  732. /* [in] */ DWORD dwAspect,
  733. /* [in] */ LONG lindex,
  734. /* [in] */ DVTARGETDEVICE *ptd,
  735. /* [in] */ HDC hicTargetDev,
  736. /* [in] */ DVEXTENTINFO *pExtentInfo,
  737. /* [out] */ LPSIZEL psizel);
  738. } IViewObjectExVtbl;
  739. interface IViewObjectEx
  740. {
  741. CONST_VTBL struct IViewObjectExVtbl *lpVtbl;
  742. };
  743. #ifdef COBJMACROS
  744. #define IViewObjectEx_QueryInterface(This,riid,ppvObject) \
  745. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  746. #define IViewObjectEx_AddRef(This) \
  747. (This)->lpVtbl -> AddRef(This)
  748. #define IViewObjectEx_Release(This) \
  749. (This)->lpVtbl -> Release(This)
  750. #define IViewObjectEx_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) \
  751. (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
  752. #define IViewObjectEx_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) \
  753. (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
  754. #define IViewObjectEx_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) \
  755. (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
  756. #define IViewObjectEx_Unfreeze(This,dwFreeze) \
  757. (This)->lpVtbl -> Unfreeze(This,dwFreeze)
  758. #define IViewObjectEx_SetAdvise(This,aspects,advf,pAdvSink) \
  759. (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
  760. #define IViewObjectEx_GetAdvise(This,pAspects,pAdvf,ppAdvSink) \
  761. (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
  762. #define IViewObjectEx_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) \
  763. (This)->lpVtbl -> GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
  764. #define IViewObjectEx_GetRect(This,dwAspect,pRect) \
  765. (This)->lpVtbl -> GetRect(This,dwAspect,pRect)
  766. #define IViewObjectEx_GetViewStatus(This,pdwStatus) \
  767. (This)->lpVtbl -> GetViewStatus(This,pdwStatus)
  768. #define IViewObjectEx_QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult) \
  769. (This)->lpVtbl -> QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult)
  770. #define IViewObjectEx_QueryHitRect(This,dwAspect,pRectBounds,prcLoc,lCloseHint,pHitResult) \
  771. (This)->lpVtbl -> QueryHitRect(This,dwAspect,pRectBounds,prcLoc,lCloseHint,pHitResult)
  772. #define IViewObjectEx_GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,psizel) \
  773. (This)->lpVtbl -> GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,psizel)
  774. #endif /* COBJMACROS */
  775. #endif /* C style interface */
  776. /****************************************
  777. * Generated header for interface: __MIDL__intf_0091
  778. * at Wed Mar 27 07:31:34 1996
  779. * using MIDL 2.00.0102
  780. ****************************************/
  781. /* [local] */
  782. typedef IViewObjectEx * LPVIEWOBJECTEX;
  783. /* size is 0 */
  784. #define UAS_NORMAL 0
  785. #define UAS_BLOCKED 1
  786. #define UAS_NOPARENTENABLE 2
  787. #define UAS_MASK 0x03
  788. /****************************************
  789. * Generated header for interface: IOleUndoUnit
  790. * at Wed Mar 27 07:31:34 1996
  791. * using MIDL 2.00.0102
  792. ****************************************/
  793. /* [uuid][unique][object] */
  794. EXTERN_C const IID IID_IOleUndoUnit;
  795. #if defined(__cplusplus) && !defined(CINTERFACE)
  796. interface IOleUndoUnit : public IUnknown
  797. {
  798. public:
  799. virtual HRESULT __stdcall Do(
  800. /* [in] */ IOleUndoManager *pUndoManager) = 0;
  801. virtual HRESULT __stdcall GetDescription(
  802. /* [out] */ BSTR *pbstr) = 0;
  803. virtual HRESULT __stdcall GetUnitType(
  804. /* [out] */ CLSID *pclsid,
  805. /* [out] */ LONG *plID) = 0;
  806. virtual HRESULT __stdcall OnNextAdd( void) = 0;
  807. };
  808. #else /* C style interface */
  809. typedef struct IOleUndoUnitVtbl
  810. {
  811. HRESULT ( __stdcall *QueryInterface )(
  812. IOleUndoUnit * This,
  813. /* [in] */ REFIID riid,
  814. /* [out] */ void **ppvObject);
  815. ULONG ( __stdcall *AddRef )(
  816. IOleUndoUnit * This);
  817. ULONG ( __stdcall *Release )(
  818. IOleUndoUnit * This);
  819. HRESULT ( __stdcall *Do )(
  820. IOleUndoUnit * This,
  821. /* [in] */ IOleUndoManager *pUndoManager);
  822. HRESULT ( __stdcall *GetDescription )(
  823. IOleUndoUnit * This,
  824. /* [out] */ BSTR *pbstr);
  825. HRESULT ( __stdcall *GetUnitType )(
  826. IOleUndoUnit * This,
  827. /* [out] */ CLSID *pclsid,
  828. /* [out] */ LONG *plID);
  829. HRESULT ( __stdcall *OnNextAdd )(
  830. IOleUndoUnit * This);
  831. } IOleUndoUnitVtbl;
  832. interface IOleUndoUnit
  833. {
  834. CONST_VTBL struct IOleUndoUnitVtbl *lpVtbl;
  835. };
  836. #ifdef COBJMACROS
  837. #define IOleUndoUnit_QueryInterface(This,riid,ppvObject) \
  838. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  839. #define IOleUndoUnit_AddRef(This) \
  840. (This)->lpVtbl -> AddRef(This)
  841. #define IOleUndoUnit_Release(This) \
  842. (This)->lpVtbl -> Release(This)
  843. #define IOleUndoUnit_Do(This,pUndoManager) \
  844. (This)->lpVtbl -> Do(This,pUndoManager)
  845. #define IOleUndoUnit_GetDescription(This,pbstr) \
  846. (This)->lpVtbl -> GetDescription(This,pbstr)
  847. #define IOleUndoUnit_GetUnitType(This,pclsid,plID) \
  848. (This)->lpVtbl -> GetUnitType(This,pclsid,plID)
  849. #define IOleUndoUnit_OnNextAdd(This) \
  850. (This)->lpVtbl -> OnNextAdd(This)
  851. #endif /* COBJMACROS */
  852. #endif /* C style interface */
  853. /****************************************
  854. * Generated header for interface: __MIDL__intf_0092
  855. * at Wed Mar 27 07:31:34 1996
  856. * using MIDL 2.00.0102
  857. ****************************************/
  858. /* [local] */
  859. typedef IOleUndoUnit * LPOLEUNDOUNIT;
  860. /****************************************
  861. * Generated header for interface: IOleParentUndoUnit
  862. * at Wed Mar 27 07:31:34 1996
  863. * using MIDL 2.00.0102
  864. ****************************************/
  865. /* [uuid][unique][object] */
  866. EXTERN_C const IID IID_IOleParentUndoUnit;
  867. #if defined(__cplusplus) && !defined(CINTERFACE)
  868. interface IOleParentUndoUnit : public IOleUndoUnit
  869. {
  870. public:
  871. virtual HRESULT __stdcall Open(
  872. /* [in] */ IOleParentUndoUnit *pPUU) = 0;
  873. virtual HRESULT __stdcall Close(
  874. /* [in] */ IOleParentUndoUnit *pPUU,
  875. /* [in] */ BOOL fCommit) = 0;
  876. virtual HRESULT __stdcall Add(
  877. /* [in] */ IOleUndoUnit *pUU) = 0;
  878. virtual HRESULT __stdcall FindUnit(
  879. /* [in] */ IOleUndoUnit *pUU) = 0;
  880. virtual HRESULT __stdcall GetParentState(
  881. /* [out] */ DWORD *pdwState) = 0;
  882. };
  883. #else /* C style interface */
  884. typedef struct IOleParentUndoUnitVtbl
  885. {
  886. HRESULT ( __stdcall *QueryInterface )(
  887. IOleParentUndoUnit * This,
  888. /* [in] */ REFIID riid,
  889. /* [out] */ void **ppvObject);
  890. ULONG ( __stdcall *AddRef )(
  891. IOleParentUndoUnit * This);
  892. ULONG ( __stdcall *Release )(
  893. IOleParentUndoUnit * This);
  894. HRESULT ( __stdcall *Do )(
  895. IOleParentUndoUnit * This,
  896. /* [in] */ IOleUndoManager *pUndoManager);
  897. HRESULT ( __stdcall *GetDescription )(
  898. IOleParentUndoUnit * This,
  899. /* [out] */ BSTR *pbstr);
  900. HRESULT ( __stdcall *GetUnitType )(
  901. IOleParentUndoUnit * This,
  902. /* [out] */ CLSID *pclsid,
  903. /* [out] */ LONG *plID);
  904. HRESULT ( __stdcall *OnNextAdd )(
  905. IOleParentUndoUnit * This);
  906. HRESULT ( __stdcall *Open )(
  907. IOleParentUndoUnit * This,
  908. /* [in] */ IOleParentUndoUnit *pPUU);
  909. HRESULT ( __stdcall *Close )(
  910. IOleParentUndoUnit * This,
  911. /* [in] */ IOleParentUndoUnit *pPUU,
  912. /* [in] */ BOOL fCommit);
  913. HRESULT ( __stdcall *Add )(
  914. IOleParentUndoUnit * This,
  915. /* [in] */ IOleUndoUnit *pUU);
  916. HRESULT ( __stdcall *FindUnit )(
  917. IOleParentUndoUnit * This,
  918. /* [in] */ IOleUndoUnit *pUU);
  919. HRESULT ( __stdcall *GetParentState )(
  920. IOleParentUndoUnit * This,
  921. /* [out] */ DWORD *pdwState);
  922. } IOleParentUndoUnitVtbl;
  923. interface IOleParentUndoUnit
  924. {
  925. CONST_VTBL struct IOleParentUndoUnitVtbl *lpVtbl;
  926. };
  927. #ifdef COBJMACROS
  928. #define IOleParentUndoUnit_QueryInterface(This,riid,ppvObject) \
  929. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  930. #define IOleParentUndoUnit_AddRef(This) \
  931. (This)->lpVtbl -> AddRef(This)
  932. #define IOleParentUndoUnit_Release(This) \
  933. (This)->lpVtbl -> Release(This)
  934. #define IOleParentUndoUnit_Do(This,pUndoManager) \
  935. (This)->lpVtbl -> Do(This,pUndoManager)
  936. #define IOleParentUndoUnit_GetDescription(This,pbstr) \
  937. (This)->lpVtbl -> GetDescription(This,pbstr)
  938. #define IOleParentUndoUnit_GetUnitType(This,pclsid,plID) \
  939. (This)->lpVtbl -> GetUnitType(This,pclsid,plID)
  940. #define IOleParentUndoUnit_OnNextAdd(This) \
  941. (This)->lpVtbl -> OnNextAdd(This)
  942. #define IOleParentUndoUnit_Open(This,pPUU) \
  943. (This)->lpVtbl -> Open(This,pPUU)
  944. #define IOleParentUndoUnit_Close(This,pPUU,fCommit) \
  945. (This)->lpVtbl -> Close(This,pPUU,fCommit)
  946. #define IOleParentUndoUnit_Add(This,pUU) \
  947. (This)->lpVtbl -> Add(This,pUU)
  948. #define IOleParentUndoUnit_FindUnit(This,pUU) \
  949. (This)->lpVtbl -> FindUnit(This,pUU)
  950. #define IOleParentUndoUnit_GetParentState(This,pdwState) \
  951. (This)->lpVtbl -> GetParentState(This,pdwState)
  952. #endif /* COBJMACROS */
  953. #endif /* C style interface */
  954. /****************************************
  955. * Generated header for interface: __MIDL__intf_0093
  956. * at Wed Mar 27 07:31:34 1996
  957. * using MIDL 2.00.0102
  958. ****************************************/
  959. /* [local] */
  960. typedef IOleParentUndoUnit * LPOLEPARENTUNDOUNIT;
  961. /****************************************
  962. * Generated header for interface: IEnumOleUndoUnits
  963. * at Wed Mar 27 07:31:34 1996
  964. * using MIDL 2.00.0102
  965. ****************************************/
  966. /* [uuid][unique][object] */
  967. EXTERN_C const IID IID_IEnumOleUndoUnits;
  968. #if defined(__cplusplus) && !defined(CINTERFACE)
  969. interface IEnumOleUndoUnits : public IUnknown
  970. {
  971. public:
  972. virtual HRESULT __stdcall Next(
  973. /* [in] */ ULONG celt,
  974. /* [out][length_is][size_is][out] */ IOleUndoUnit **rgelt,
  975. /* [out][in] */ ULONG *pceltFetched) = 0;
  976. virtual HRESULT __stdcall Skip(
  977. /* [in] */ ULONG celt) = 0;
  978. virtual HRESULT __stdcall Reset( void) = 0;
  979. virtual HRESULT __stdcall Clone(
  980. /* [out] */ IEnumOleUndoUnits **ppenum) = 0;
  981. };
  982. #else /* C style interface */
  983. typedef struct IEnumOleUndoUnitsVtbl
  984. {
  985. HRESULT ( __stdcall *QueryInterface )(
  986. IEnumOleUndoUnits * This,
  987. /* [in] */ REFIID riid,
  988. /* [out] */ void **ppvObject);
  989. ULONG ( __stdcall *AddRef )(
  990. IEnumOleUndoUnits * This);
  991. ULONG ( __stdcall *Release )(
  992. IEnumOleUndoUnits * This);
  993. HRESULT ( __stdcall *Next )(
  994. IEnumOleUndoUnits * This,
  995. /* [in] */ ULONG celt,
  996. /* [out][length_is][size_is][out] */ IOleUndoUnit **rgelt,
  997. /* [out][in] */ ULONG *pceltFetched);
  998. HRESULT ( __stdcall *Skip )(
  999. IEnumOleUndoUnits * This,
  1000. /* [in] */ ULONG celt);
  1001. HRESULT ( __stdcall *Reset )(
  1002. IEnumOleUndoUnits * This);
  1003. HRESULT ( __stdcall *Clone )(
  1004. IEnumOleUndoUnits * This,
  1005. /* [out] */ IEnumOleUndoUnits **ppenum);
  1006. } IEnumOleUndoUnitsVtbl;
  1007. interface IEnumOleUndoUnits
  1008. {
  1009. CONST_VTBL struct IEnumOleUndoUnitsVtbl *lpVtbl;
  1010. };
  1011. #ifdef COBJMACROS
  1012. #define IEnumOleUndoUnits_QueryInterface(This,riid,ppvObject) \
  1013. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1014. #define IEnumOleUndoUnits_AddRef(This) \
  1015. (This)->lpVtbl -> AddRef(This)
  1016. #define IEnumOleUndoUnits_Release(This) \
  1017. (This)->lpVtbl -> Release(This)
  1018. #define IEnumOleUndoUnits_Next(This,celt,rgelt,pceltFetched) \
  1019. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1020. #define IEnumOleUndoUnits_Skip(This,celt) \
  1021. (This)->lpVtbl -> Skip(This,celt)
  1022. #define IEnumOleUndoUnits_Reset(This) \
  1023. (This)->lpVtbl -> Reset(This)
  1024. #define IEnumOleUndoUnits_Clone(This,ppenum) \
  1025. (This)->lpVtbl -> Clone(This,ppenum)
  1026. #endif /* COBJMACROS */
  1027. #endif /* C style interface */
  1028. /****************************************
  1029. * Generated header for interface: __MIDL__intf_0094
  1030. * at Wed Mar 27 07:31:34 1996
  1031. * using MIDL 2.00.0102
  1032. ****************************************/
  1033. /* [local] */
  1034. typedef IEnumOleUndoUnits * LPENUMOLEUNDOUNITS;
  1035. #define SID_SOleUndoManager IID_IOleUndoManager
  1036. /****************************************
  1037. * Generated header for interface: IOleUndoManager
  1038. * at Wed Mar 27 07:31:34 1996
  1039. * using MIDL 2.00.0102
  1040. ****************************************/
  1041. /* [uuid][unique][object] */
  1042. EXTERN_C const IID IID_IOleUndoManager;
  1043. #if defined(__cplusplus) && !defined(CINTERFACE)
  1044. interface IOleUndoManager : public IUnknown
  1045. {
  1046. public:
  1047. virtual HRESULT __stdcall Open(
  1048. /* [in] */ IOleParentUndoUnit *pPUU) = 0;
  1049. virtual HRESULT __stdcall Close(
  1050. /* [in] */ IOleParentUndoUnit *pPUU,
  1051. /* [in] */ BOOL fCommit) = 0;
  1052. virtual HRESULT __stdcall Add(
  1053. /* [in] */ IOleUndoUnit *pUU) = 0;
  1054. virtual HRESULT __stdcall GetOpenParentState(
  1055. /* [out] */ DWORD *pdwState) = 0;
  1056. virtual HRESULT __stdcall DiscardFrom(
  1057. /* [in] */ IOleUndoUnit *pUU) = 0;
  1058. virtual HRESULT __stdcall UndoTo(
  1059. /* [in] */ IOleUndoUnit *pUU) = 0;
  1060. virtual HRESULT __stdcall RedoTo(
  1061. /* [in] */ IOleUndoUnit *pUU) = 0;
  1062. virtual HRESULT __stdcall EnumUndoable(
  1063. /* [out] */ IEnumOleUndoUnits **ppEnum) = 0;
  1064. virtual HRESULT __stdcall EnumRedoable(
  1065. /* [out] */ IEnumOleUndoUnits **ppEnum) = 0;
  1066. virtual HRESULT __stdcall GetLastUndoDescription(
  1067. /* [out] */ BSTR *pbstr) = 0;
  1068. virtual HRESULT __stdcall GetLastRedoDescription(
  1069. /* [out] */ BSTR *pbstr) = 0;
  1070. virtual HRESULT __stdcall Enable(
  1071. /* [in] */ BOOL fEnable) = 0;
  1072. };
  1073. #else /* C style interface */
  1074. typedef struct IOleUndoManagerVtbl
  1075. {
  1076. HRESULT ( __stdcall *QueryInterface )(
  1077. IOleUndoManager * This,
  1078. /* [in] */ REFIID riid,
  1079. /* [out] */ void **ppvObject);
  1080. ULONG ( __stdcall *AddRef )(
  1081. IOleUndoManager * This);
  1082. ULONG ( __stdcall *Release )(
  1083. IOleUndoManager * This);
  1084. HRESULT ( __stdcall *Open )(
  1085. IOleUndoManager * This,
  1086. /* [in] */ IOleParentUndoUnit *pPUU);
  1087. HRESULT ( __stdcall *Close )(
  1088. IOleUndoManager * This,
  1089. /* [in] */ IOleParentUndoUnit *pPUU,
  1090. /* [in] */ BOOL fCommit);
  1091. HRESULT ( __stdcall *Add )(
  1092. IOleUndoManager * This,
  1093. /* [in] */ IOleUndoUnit *pUU);
  1094. HRESULT ( __stdcall *GetOpenParentState )(
  1095. IOleUndoManager * This,
  1096. /* [out] */ DWORD *pdwState);
  1097. HRESULT ( __stdcall *DiscardFrom )(
  1098. IOleUndoManager * This,
  1099. /* [in] */ IOleUndoUnit *pUU);
  1100. HRESULT ( __stdcall *UndoTo )(
  1101. IOleUndoManager * This,
  1102. /* [in] */ IOleUndoUnit *pUU);
  1103. HRESULT ( __stdcall *RedoTo )(
  1104. IOleUndoManager * This,
  1105. /* [in] */ IOleUndoUnit *pUU);
  1106. HRESULT ( __stdcall *EnumUndoable )(
  1107. IOleUndoManager * This,
  1108. /* [out] */ IEnumOleUndoUnits **ppEnum);
  1109. HRESULT ( __stdcall *EnumRedoable )(
  1110. IOleUndoManager * This,
  1111. /* [out] */ IEnumOleUndoUnits **ppEnum);
  1112. HRESULT ( __stdcall *GetLastUndoDescription )(
  1113. IOleUndoManager * This,
  1114. /* [out] */ BSTR *pbstr);
  1115. HRESULT ( __stdcall *GetLastRedoDescription )(
  1116. IOleUndoManager * This,
  1117. /* [out] */ BSTR *pbstr);
  1118. HRESULT ( __stdcall *Enable )(
  1119. IOleUndoManager * This,
  1120. /* [in] */ BOOL fEnable);
  1121. } IOleUndoManagerVtbl;
  1122. interface IOleUndoManager
  1123. {
  1124. CONST_VTBL struct IOleUndoManagerVtbl *lpVtbl;
  1125. };
  1126. #ifdef COBJMACROS
  1127. #define IOleUndoManager_QueryInterface(This,riid,ppvObject) \
  1128. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1129. #define IOleUndoManager_AddRef(This) \
  1130. (This)->lpVtbl -> AddRef(This)
  1131. #define IOleUndoManager_Release(This) \
  1132. (This)->lpVtbl -> Release(This)
  1133. #define IOleUndoManager_Open(This,pPUU) \
  1134. (This)->lpVtbl -> Open(This,pPUU)
  1135. #define IOleUndoManager_Close(This,pPUU,fCommit) \
  1136. (This)->lpVtbl -> Close(This,pPUU,fCommit)
  1137. #define IOleUndoManager_Add(This,pUU) \
  1138. (This)->lpVtbl -> Add(This,pUU)
  1139. #define IOleUndoManager_GetOpenParentState(This,pdwState) \
  1140. (This)->lpVtbl -> GetOpenParentState(This,pdwState)
  1141. #define IOleUndoManager_DiscardFrom(This,pUU) \
  1142. (This)->lpVtbl -> DiscardFrom(This,pUU)
  1143. #define IOleUndoManager_UndoTo(This,pUU) \
  1144. (This)->lpVtbl -> UndoTo(This,pUU)
  1145. #define IOleUndoManager_RedoTo(This,pUU) \
  1146. (This)->lpVtbl -> RedoTo(This,pUU)
  1147. #define IOleUndoManager_EnumUndoable(This,ppEnum) \
  1148. (This)->lpVtbl -> EnumUndoable(This,ppEnum)
  1149. #define IOleUndoManager_EnumRedoable(This,ppEnum) \
  1150. (This)->lpVtbl -> EnumRedoable(This,ppEnum)
  1151. #define IOleUndoManager_GetLastUndoDescription(This,pbstr) \
  1152. (This)->lpVtbl -> GetLastUndoDescription(This,pbstr)
  1153. #define IOleUndoManager_GetLastRedoDescription(This,pbstr) \
  1154. (This)->lpVtbl -> GetLastRedoDescription(This,pbstr)
  1155. #define IOleUndoManager_Enable(This,fEnable) \
  1156. (This)->lpVtbl -> Enable(This,fEnable)
  1157. #endif /* COBJMACROS */
  1158. #endif /* C style interface */
  1159. /****************************************
  1160. * Generated header for interface: __MIDL__intf_0095
  1161. * at Wed Mar 27 07:31:34 1996
  1162. * using MIDL 2.00.0102
  1163. ****************************************/
  1164. /* [local] */
  1165. typedef IOleUndoManager * LPOLEUNDOMANAGER;
  1166. #define QACONTAINER_SHOWHATCHING 0x0001
  1167. #define QACONTAINER_SHOWGRABHANDLES 0x0002
  1168. #define QACONTAINER_USERMODE 0x0004
  1169. #define QACONTAINER_DISPLAYASDEFAULT 0x0008
  1170. #define QACONTAINER_UIDEAD 0x0010
  1171. #define QACONTAINER_AUTOCLIP 0x0020
  1172. #define QACONTAINER_MESSAGEREFLECT 0x0040
  1173. #define QACONTAINER_SUPPORTSMNEMONICS 0x0080
  1174. /* size is 56 */
  1175. typedef struct _QACONTAINER
  1176. {
  1177. ULONG cbSize;
  1178. IOleClientSite *pClientSite;
  1179. IAdviseSinkEx *pAdviseSink;
  1180. IPropertyNotifySink *pPropertyNotifySink;
  1181. IUnknown *pUnkEventSink;
  1182. DWORD dwAmbientFlags;
  1183. OLE_COLOR colorFore;
  1184. OLE_COLOR colorBack;
  1185. IFont *pFont;
  1186. IOleUndoManager *pUndoMgr;
  1187. DWORD dwAppearance;
  1188. LONG lcid;
  1189. HPALETTE hpal;
  1190. IBindHost *pBindHost;
  1191. } QACONTAINER;
  1192. /* size is 24 */
  1193. typedef struct _QACONTROL
  1194. {
  1195. ULONG cbSize;
  1196. DWORD dwMiscStatus;
  1197. DWORD dwViewStatus;
  1198. DWORD dwEventCookie;
  1199. DWORD dwPropNotifyCookie;
  1200. DWORD dwPointerActivationPolicy;
  1201. } QACONTROL;
  1202. /****************************************
  1203. * Generated header for interface: IQuickActivate
  1204. * at Wed Mar 27 07:31:34 1996
  1205. * using MIDL 2.00.0102
  1206. ****************************************/
  1207. /* [uuid][unique][object][local] */
  1208. EXTERN_C const IID IID_IQuickActivate;
  1209. #if defined(__cplusplus) && !defined(CINTERFACE)
  1210. interface IQuickActivate : public IUnknown
  1211. {
  1212. public:
  1213. virtual HRESULT __stdcall QuickActivate(
  1214. /* [in] */ QACONTAINER *pqacontainer,
  1215. /* [out] */ QACONTROL *pqacontrol) = 0;
  1216. virtual HRESULT __stdcall SetContentExtent(
  1217. LPSIZEL lpsizel) = 0;
  1218. virtual HRESULT __stdcall GetContentExtent(
  1219. LPSIZEL lpsizel) = 0;
  1220. };
  1221. #else /* C style interface */
  1222. typedef struct IQuickActivateVtbl
  1223. {
  1224. HRESULT ( __stdcall *QueryInterface )(
  1225. IQuickActivate * This,
  1226. /* [in] */ REFIID riid,
  1227. /* [out] */ void **ppvObject);
  1228. ULONG ( __stdcall *AddRef )(
  1229. IQuickActivate * This);
  1230. ULONG ( __stdcall *Release )(
  1231. IQuickActivate * This);
  1232. HRESULT ( __stdcall *QuickActivate )(
  1233. IQuickActivate * This,
  1234. /* [in] */ QACONTAINER *pqacontainer,
  1235. /* [out] */ QACONTROL *pqacontrol);
  1236. HRESULT ( __stdcall *SetContentExtent )(
  1237. IQuickActivate * This,
  1238. LPSIZEL lpsizel);
  1239. HRESULT ( __stdcall *GetContentExtent )(
  1240. IQuickActivate * This,
  1241. LPSIZEL lpsizel);
  1242. } IQuickActivateVtbl;
  1243. interface IQuickActivate
  1244. {
  1245. CONST_VTBL struct IQuickActivateVtbl *lpVtbl;
  1246. };
  1247. #ifdef COBJMACROS
  1248. #define IQuickActivate_QueryInterface(This,riid,ppvObject) \
  1249. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1250. #define IQuickActivate_AddRef(This) \
  1251. (This)->lpVtbl -> AddRef(This)
  1252. #define IQuickActivate_Release(This) \
  1253. (This)->lpVtbl -> Release(This)
  1254. #define IQuickActivate_QuickActivate(This,pqacontainer,pqacontrol) \
  1255. (This)->lpVtbl -> QuickActivate(This,pqacontainer,pqacontrol)
  1256. #define IQuickActivate_SetContentExtent(This,lpsizel) \
  1257. (This)->lpVtbl -> SetContentExtent(This,lpsizel)
  1258. #define IQuickActivate_GetContentExtent(This,lpsizel) \
  1259. (This)->lpVtbl -> GetContentExtent(This,lpsizel)
  1260. #endif /* COBJMACROS */
  1261. #endif /* C style interface */
  1262. /****************************************
  1263. * Generated header for interface: __MIDL__intf_0096
  1264. * at Wed Mar 27 07:31:34 1996
  1265. * using MIDL 2.00.0102
  1266. ****************************************/
  1267. /* [local] */
  1268. typedef IQuickActivate * LPQUICKACTIVATE;
  1269. /* size is 2 */
  1270. typedef
  1271. enum _POINTERINACTIVE
  1272. { POINTERINACTIVE_ACTIVATEONENTRY = 1,
  1273. POINTERINACTIVE_DEACTIVATEONLEAVE = 2,
  1274. POINTERINACTIVE_ACTIVATEONDRAG = 4
  1275. } POINTERINACTIVE;
  1276. /****************************************
  1277. * Generated header for interface: IPointerInactive
  1278. * at Wed Mar 27 07:31:34 1996
  1279. * using MIDL 2.00.0102
  1280. ****************************************/
  1281. /* [uuid][unique][object][local] */
  1282. EXTERN_C const IID IID_IPointerInactive;
  1283. #if defined(__cplusplus) && !defined(CINTERFACE)
  1284. interface IPointerInactive : public IUnknown
  1285. {
  1286. public:
  1287. virtual HRESULT __stdcall GetActivationPolicy(
  1288. /* [out] */ DWORD *pdwPolicy) = 0;
  1289. virtual HRESULT __stdcall OnInactiveMouseMove(
  1290. /* [in] */ LPCRECT pRectBounds,
  1291. /* [in] */ long x,
  1292. /* [in] */ long y,
  1293. /* [in] */ DWORD grfKeyState) = 0;
  1294. virtual HRESULT __stdcall OnInactiveSetCursor(
  1295. /* [in] */ LPCRECT pRectBounds,
  1296. /* [in] */ long x,
  1297. /* [in] */ long y,
  1298. /* [in] */ DWORD dwMouseMsg,
  1299. /* [in] */ BOOL fSetAlways) = 0;
  1300. };
  1301. #else /* C style interface */
  1302. typedef struct IPointerInactiveVtbl
  1303. {
  1304. HRESULT ( __stdcall *QueryInterface )(
  1305. IPointerInactive * This,
  1306. /* [in] */ REFIID riid,
  1307. /* [out] */ void **ppvObject);
  1308. ULONG ( __stdcall *AddRef )(
  1309. IPointerInactive * This);
  1310. ULONG ( __stdcall *Release )(
  1311. IPointerInactive * This);
  1312. HRESULT ( __stdcall *GetActivationPolicy )(
  1313. IPointerInactive * This,
  1314. /* [out] */ DWORD *pdwPolicy);
  1315. HRESULT ( __stdcall *OnInactiveMouseMove )(
  1316. IPointerInactive * This,
  1317. /* [in] */ LPCRECT pRectBounds,
  1318. /* [in] */ long x,
  1319. /* [in] */ long y,
  1320. /* [in] */ DWORD grfKeyState);
  1321. HRESULT ( __stdcall *OnInactiveSetCursor )(
  1322. IPointerInactive * This,
  1323. /* [in] */ LPCRECT pRectBounds,
  1324. /* [in] */ long x,
  1325. /* [in] */ long y,
  1326. /* [in] */ DWORD dwMouseMsg,
  1327. /* [in] */ BOOL fSetAlways);
  1328. } IPointerInactiveVtbl;
  1329. interface IPointerInactive
  1330. {
  1331. CONST_VTBL struct IPointerInactiveVtbl *lpVtbl;
  1332. };
  1333. #ifdef COBJMACROS
  1334. #define IPointerInactive_QueryInterface(This,riid,ppvObject) \
  1335. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1336. #define IPointerInactive_AddRef(This) \
  1337. (This)->lpVtbl -> AddRef(This)
  1338. #define IPointerInactive_Release(This) \
  1339. (This)->lpVtbl -> Release(This)
  1340. #define IPointerInactive_GetActivationPolicy(This,pdwPolicy) \
  1341. (This)->lpVtbl -> GetActivationPolicy(This,pdwPolicy)
  1342. #define IPointerInactive_OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState) \
  1343. (This)->lpVtbl -> OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState)
  1344. #define IPointerInactive_OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways) \
  1345. (This)->lpVtbl -> OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways)
  1346. #endif /* COBJMACROS */
  1347. #endif /* C style interface */
  1348. /****************************************
  1349. * Generated header for interface: __MIDL__intf_0097
  1350. * at Wed Mar 27 07:31:34 1996
  1351. * using MIDL 2.00.0102
  1352. ****************************************/
  1353. /* [local] */
  1354. typedef IPointerInactive * LPPOINTERINACTIVE;
  1355. /* Additional Prototypes for ALL interfaces */
  1356. /* end of Additional Prototypes */
  1357. #ifdef __cplusplus
  1358. }
  1359. #endif
  1360. #endif