Leaked source code of windows server 2003
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.

65 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. csr.h
  5. Abstract:
  6. Include file that defines all the common data types and constants for
  7. the Client-Server Runtime (CSR) SubSystem
  8. Author:
  9. Steve Wood (stevewo) 8-Oct-1990
  10. Revision History:
  11. --*/
  12. //
  13. // Include NT Definitions.
  14. //
  15. #include "nt.h"
  16. #include "ntrtl.h"
  17. #include "nturtl.h"
  18. #include "string.h"
  19. #define GetModuleHandle GetModuleHandleA
  20. //
  21. // Define debugging flag as false if not defined already.
  22. //
  23. #ifndef DBG
  24. #define DBG 0
  25. #endif
  26. //
  27. // Define IF_DEBUG macro that can be used to enable debugging code that is
  28. // optimized out if the debugging flag is false.
  29. //
  30. #if DBG
  31. #define IF_DEBUG if (TRUE)
  32. #else
  33. #define IF_DEBUG if (FALSE)
  34. #endif
  35. //
  36. // Common types and constant definitions
  37. //
  38. typedef enum _CSRP_API_NUMBER {
  39. CsrpClientConnect = 0, // CSRSRV_FIRST_API_NUMBER defined in ntcsrmsg.h
  40. CsrpThreadConnect,
  41. CsrpProfileControl,
  42. CsrpIdentifyAlertable,
  43. CsrpSetPriorityClass,
  44. CsrpMaxApiNumber
  45. } CSRP_API_NUMBER, *PCSRP_API_NUMBER;