From e611b132f9b8abe35b362e5870b74bce94a1e58e Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 16 May 2020 20:51:50 -0700 Subject: initial commit --- private/csr/inc/csr.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 private/csr/inc/csr.h (limited to 'private/csr/inc') 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; -- cgit v1.2.3