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.

54 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. alformat.h
  5. Abstract:
  6. Private header file which defines the values used for formatting alert
  7. messages.
  8. Author:
  9. Rita Wong (ritaw) 09-July-1991
  10. Revision History:
  11. --*/
  12. #ifndef _ALFORMAT_INCLUDED_
  13. #define _ALFORMAT_INCLUDED_
  14. #include "al.h" // Common include file for Alerter service
  15. #include <lmmsg.h> // NetMessageBufferSend
  16. #include <alertmsg.h>
  17. #include <apperr2.h>
  18. #include <timelib.h> // time functions in netlib
  19. //
  20. // Maximum size of a message send by the Alerter service in number of bytes
  21. //
  22. #define MAX_ALERTER_MESSAGE_SIZE 600
  23. #define FILENAME_SIZE 128
  24. //
  25. // Maximum message width. Text will wrap around if exceed this width.
  26. //
  27. #define MESSAGE_WIDTH 55
  28. #define NO_MESSAGE MAXULONG
  29. #define AL_CR_CHAR '\r'
  30. #define AL_EOL_CHAR '\024' // hex 14, decimal 20, USE \024 !
  31. #define AL_EOL_WCHAR TEXT('\024') // hex 14, decimal 20, USE \024 !
  32. #define AL_EOL_STRING "\024"
  33. #define AL_CRLF_STRING TEXT("\r\n")
  34. #endif // ifndef _ALFORMAT_INCLUDED_