summaryrefslogtreecommitdiffstats
path: root/private/ole32/ih/itrkmnk.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'private/ole32/ih/itrkmnk.hxx')
-rw-r--r--private/ole32/ih/itrkmnk.hxx49
1 files changed, 49 insertions, 0 deletions
diff --git a/private/ole32/ih/itrkmnk.hxx b/private/ole32/ih/itrkmnk.hxx
new file mode 100644
index 000000000..5c1422ed0
--- /dev/null
+++ b/private/ole32/ih/itrkmnk.hxx
@@ -0,0 +1,49 @@
+#ifndef _ITRKMNK_HXX_
+#define _ITRKMNK_HXX_
+
+
+// Flags for the CFileMoniker::EnableTracking routine.
+// Note that these flags must remain in the lower
+// 16 bits, as the upper 16 bits are used for Track Flags
+// (see the two macros which follow).
+
+#define OT_READTRACKINGINFO 0x0001L
+#define OT_DISABLETRACKING 0x0002L
+#define OT_ENABLESAVE 0x0004L
+#define OT_DISABLESAVE 0x0008L
+#define OT_ENABLEREDUCE 0x0010L
+#define OT_DISABLEREDUCE 0x0020L
+
+#ifdef _CAIRO_
+#define OT_MAKETRACKING 0x0040L
+#endif
+
+// The following two macros allow TRACK_* flags ("olecairo.h")
+// to be piggy-backed onto the above OT flags, and vice
+// versa.
+
+#ifdef _CAIRO_
+
+#define TRACK_2_OT_FLAGS( flags ) ( flags << 16 )
+#define OT_2_TRACK_FLAGS( flags ) ( flags >> 16 )
+
+#endif // _CAIRO_
+
+
+#define DEB_TRACK DEB_ITRACE
+
+class ITrackingMoniker : public IUnknown
+{
+public:
+ virtual HRESULT __stdcall QueryInterface(
+ /* [in] */ REFIID riid,
+ /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
+
+ virtual ULONG __stdcall AddRef( void) = 0;
+
+ virtual ULONG __stdcall Release( void) = 0;
+
+ virtual HRESULT __stdcall EnableTracking ( IMoniker *pmkLeft, ULONG ulFlags ) = 0;
+};
+#endif
+