rstwtn.idl 857 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //-----------------------------------------------------------------------------
  2. // File: rstwtn.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation
  5. //
  6. // Contents: OLE DB interface definition
  7. //
  8. // Comments:
  9. //
  10. //-----------------------------------------------------------------------------
  11. #include "idlmulti.h"
  12. //
  13. #if( OLEDBVER >= 0x0200 )
  14. REMOTED_INTERFACE(0c733a44-2a1c-11ce-ade5-00aa0044773d)
  15. #else
  16. LOCAL_INTERFACE(0c733a44-2a1c-11ce-ade5-00aa0044773d)
  17. #endif
  18. interface IRowsetWatchNotify : IUnknown {
  19. //
  20. // DBWATCHNOTIFY and related definitions
  21. //
  22. typedef DWORD DBWATCHNOTIFY;
  23. enum DBWATCHNOTIFYENUM {
  24. DBWATCHNOTIFY_ROWSCHANGED = 1,
  25. DBWATCHNOTIFY_QUERYDONE = 2,
  26. DBWATCHNOTIFY_QUERYREEXECUTED = 3
  27. };
  28. HRESULT OnChange(
  29. [in] IRowset * pRowset,
  30. [in] DBWATCHNOTIFY eChangeReason
  31. );
  32. }