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.

73 lines
1.5 KiB

  1. /*************************************************************************
  2. *
  3. * musspl.h
  4. *
  5. * (previously called ctxspl.h)
  6. *
  7. * Per CSRSS spooler header.
  8. *
  9. * This header is designed to support enough of an environment to move
  10. * windows\spooler\spoolss\server\splkernl.c (SPOOLSS)
  11. * to ntos\w32\ntuser\server\citrix (CSRSS)
  12. *
  13. * copyright notice: Copyright 1997, Microsoft
  14. *
  15. * Author:
  16. *************************************************************************/
  17. #if DBG
  18. #define DBG_NONE 0x0000
  19. #define DBG_INFO 0x0001
  20. #define DBG_WARN 0x0002
  21. #define DBG_WARNING 0x0002
  22. #define DBG_ERROR 0x0004
  23. #define DBG_TRACE 0x0008
  24. #define DBG_SECURITY 0x0010
  25. #define DBG_TIME 0x0020
  26. #define DBG_PORT 0x0040
  27. #define DBG_NOTIFY 0x0080
  28. #define DBG_PAUSE 0x0100
  29. #define DBG_ASSERT 0x0200
  30. #define DBG_THREADM 0x0400
  31. #define DBG_MIN 0x0800
  32. #define DBGMSG( Level, Message ) DbgPrint Message
  33. #define SPLASSERT(exp) \
  34. if (!(exp)) { \
  35. DBGMSG( DBG_ASSERT, ( "Failed: %s\nLine %d, %s\n", \
  36. #exp, \
  37. __LINE__, \
  38. __FILE__ )); \
  39. }
  40. #else
  41. #define DBGMSG( Level, Message )
  42. #define SPLASSERT(exp)
  43. #endif
  44. #include "client.h"
  45. #include "kmspool.h"
  46. #include "yspool.h"
  47. LPVOID
  48. AllocSplMem(
  49. DWORD cb
  50. );
  51. BOOL
  52. FreeSplMem(
  53. LPVOID pMem
  54. );
  55. LPVOID
  56. ReallocSplMem(
  57. LPVOID lpOldMem,
  58. DWORD cbOld,
  59. DWORD cbNew
  60. );