summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/sift.hxx
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/sift.hxx
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'public/sdk/inc/sift.hxx')
-rw-r--r--public/sdk/inc/sift.hxx71
1 files changed, 71 insertions, 0 deletions
diff --git a/public/sdk/inc/sift.hxx b/public/sdk/inc/sift.hxx
new file mode 100644
index 000000000..c933dea2e
--- /dev/null
+++ b/public/sdk/inc/sift.hxx
@@ -0,0 +1,71 @@
+//+---------------------------------------------------------------------------
+//
+// Microsoft Windows
+// Copyright (C) Microsoft Corporation, 1992 - 1993.
+//
+// File: sift.hxx
+//
+// Contents: Definition of server side sift object
+//
+// Classes: ISift - sifting interface
+//
+// Functions: DbgDllSetSiftObject - sets the global sift pointer
+//
+// History: 6-01-94 t-chripi Created
+//
+//----------------------------------------------------------------------------
+
+#ifndef __SIFT_HXX__
+
+#define __SIFT_HXX__
+
+// Sift Resource types:
+
+#define SR_PRIVATE_MEMORY 1
+#define SR_PUBLIC_MEMORY 2
+#define SR_DISK_WRITE 16
+#define SR_RPC 256
+
+//+-------------------------------------------------------------
+//
+// Interface: ISift (sft)
+//
+// Purpose: Interface that defines general sift methods.
+//
+// Interface: Init - Initializes the object for each test run.
+// SiftOn - Enables the counting mechanism.
+// SiftOff - Disables the counting mechanism.
+// GetCount - Gets current allocation count.
+//
+// History: 24-May-94 t-chripi Created.
+// 6-14-94 t-chripi Generalized, moved to cinc
+//
+//--------------------------------------------------------------
+
+class ISift : public IUnknown
+{
+public:
+ virtual VOID Init(BOOL fPlay, LONG lFailCount) = 0;
+ virtual VOID SiftOn(DWORD dwResource) = 0;
+ virtual LONG SiftOff(DWORD dwResource) = 0;
+ virtual LONG GetCount(DWORD dwResource) = 0;
+ virtual BOOL SimFail(DWORD dwResource) = 0;
+
+};
+
+//+---------------------------------------------------------------------------
+//
+// Function: DbgDllSetSiftObject
+//
+// Synopsis: Sets up a sift object for use
+//
+// History: 6-14-94 t-chripi Created
+//
+//----------------------------------------------------------------------------
+
+STDAPI DbgDllSetSiftObject(ISift *psftSiftImpl);
+
+
+#endif // __SIFT_HXX__
+
+