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

82 lines
2.8 KiB

  1. /*****************************************************************************\
  2. * *
  3. * olebind.h Data binding interfaces for OLE *
  4. * *
  5. * OLE Version 2.0 *
  6. * *
  7. * Copyright (c) 1992-1994, Microsoft Corp. All rights reserved. *
  8. * *
  9. \*****************************************************************************/
  10. #if !defined( _OLEBIND_H_ )
  11. #define _OLEBIND_H_
  12. #if !defined( INITGUID )
  13. #include <olectl.h>
  14. #endif
  15. DEFINE_GUID(IID_IBoundObject,
  16. 0x9BFBBC00,0xEFF1,0x101A,0x84,0xED,0x00,0xAA,0x00,0x34,0x1D,0x07);
  17. DEFINE_GUID(IID_IBoundObjectSite,
  18. 0x9BFBBC01,0xEFF1,0x101A,0x84,0xED,0x00,0xAA,0x00,0x34,0x1D,0x07);
  19. typedef interface IBoundObject FAR* LPBOUNDOBJECT;
  20. typedef interface IBoundObjectSite FAR* LPBOUNDOBJECTSITE;
  21. typedef interface ICursor FAR* LPCURSOR;
  22. typedef interface ICursor FAR* FAR* LPLPCURSOR;
  23. typedef interface ICursorMove FAR* LPCURSORMOVE;
  24. typedef interface ICursorScroll FAR* LPCURSORSCROLL;
  25. typedef interface ICursorFind FAR* LPCURSORFIND;
  26. typedef interface ICursorUpdateARow FAR* LPCURSORUPDATEAROW;
  27. //////////////////////////////////////////////////////////////////////////////
  28. //
  29. // IBoundObject interface
  30. //
  31. //////////////////////////////////////////////////////////////////////////////
  32. #undef INTERFACE
  33. #define INTERFACE IBoundObject
  34. DECLARE_INTERFACE_(IBoundObject, IUnknown)
  35. {
  36. //
  37. // IUnknown methods
  38. //
  39. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  40. STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  41. STDMETHOD_(ULONG,Release)(THIS) PURE;
  42. //
  43. // IBoundObject methods
  44. //
  45. STDMETHOD(OnSourceChanged)(THIS_ DISPID dispid, BOOL fBound, BOOL FAR* lpfOwnXferOut) PURE;
  46. STDMETHOD(IsDirty)(THIS_ DISPID dispid) PURE;
  47. };
  48. //////////////////////////////////////////////////////////////////////////////
  49. //
  50. // IBoundObjectSite interface
  51. //
  52. //////////////////////////////////////////////////////////////////////////////
  53. #undef INTERFACE
  54. #define INTERFACE IBoundObjectSite
  55. DECLARE_INTERFACE_(IBoundObjectSite, IUnknown)
  56. {
  57. //
  58. // IUnknown methods
  59. //
  60. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  61. STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  62. STDMETHOD_(ULONG,Release)(THIS) PURE;
  63. //
  64. // IBoundObjectSite methods
  65. //
  66. STDMETHOD(GetCursor)(THIS_ DISPID dispid, LPLPCURSOR ppCursor, LPVOID FAR* ppcidOut) PURE;
  67. };
  68. #endif // !defined( _OLEBIND_H_ )