summaryrefslogtreecommitdiffstats
path: root/private/csr/inc/csr.h
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 /private/csr/inc/csr.h
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 'private/csr/inc/csr.h')
-rw-r--r--private/csr/inc/csr.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/private/csr/inc/csr.h b/private/csr/inc/csr.h
new file mode 100644
index 000000000..fe844e02a
--- /dev/null
+++ b/private/csr/inc/csr.h
@@ -0,0 +1,66 @@
+/*++
+
+Copyright (c) 1990 Microsoft Corporation
+
+Module Name:
+
+ csr.h
+
+Abstract:
+
+ Include file that defines all the common data types and constants for
+ the Client-Server Runtime (CSR) SubSystem
+
+Author:
+
+ Steve Wood (stevewo) 8-Oct-1990
+
+Revision History:
+
+--*/
+
+
+//
+// Include NT Definitions.
+//
+
+#include "nt.h"
+#include "ntrtl.h"
+#include "nturtl.h"
+#include "string.h"
+
+#define GetModuleHandle GetModuleHandleA
+
+//
+// Define debugging flag as false if not defined already.
+//
+
+#ifndef DBG
+#define DBG 0
+#endif
+
+
+//
+// Define IF_DEBUG macro that can be used to enable debugging code that is
+// optimized out if the debugging flag is false.
+//
+
+#if DBG
+#define IF_DEBUG if (TRUE)
+#else
+#define IF_DEBUG if (FALSE)
+#endif
+
+//
+// Common types and constant definitions
+//
+
+typedef enum _CSRP_API_NUMBER {
+ CsrpNullApiCall = 0, // CSRSRV_FIRST_API_NUMBER defined in ntcsrmsg.h
+ CsrpClientConnect,
+ CsrpThreadConnect,
+ CsrpProfileControl,
+ CsrpIdentifyAlertable,
+ CsrpSetPriorityClass,
+ CsrpMaxApiNumber
+} CSRP_API_NUMBER, *PCSRP_API_NUMBER;