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.

49 lines
1.2 KiB

  1. #ifndef _ITRKMNK_HXX_
  2. #define _ITRKMNK_HXX_
  3. // Flags for the CFileMoniker::EnableTracking routine.
  4. // Note that these flags must remain in the lower
  5. // 16 bits, as the upper 16 bits are used for Track Flags
  6. // (see the two macros which follow).
  7. #define OT_READTRACKINGINFO 0x0001L
  8. #define OT_DISABLETRACKING 0x0002L
  9. #define OT_ENABLESAVE 0x0004L
  10. #define OT_DISABLESAVE 0x0008L
  11. #define OT_ENABLEREDUCE 0x0010L
  12. #define OT_DISABLEREDUCE 0x0020L
  13. #ifdef _CAIRO_
  14. #define OT_MAKETRACKING 0x0040L
  15. #endif
  16. // The following two macros allow TRACK_* flags ("olecairo.h")
  17. // to be piggy-backed onto the above OT flags, and vice
  18. // versa.
  19. #ifdef _CAIRO_
  20. #define TRACK_2_OT_FLAGS( flags ) ( flags << 16 )
  21. #define OT_2_TRACK_FLAGS( flags ) ( flags >> 16 )
  22. #endif // _CAIRO_
  23. #define DEB_TRACK DEB_ITRACE
  24. class ITrackingMoniker : public IUnknown
  25. {
  26. public:
  27. virtual HRESULT __stdcall QueryInterface(
  28. /* [in] */ REFIID riid,
  29. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  30. virtual ULONG __stdcall AddRef( void) = 0;
  31. virtual ULONG __stdcall Release( void) = 0;
  32. virtual HRESULT __stdcall EnableTracking ( IMoniker *pmkLeft, ULONG ulFlags ) = 0;
  33. };
  34. #endif