Source code of Windows XP (NT5)
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.

46 lines
1.5 KiB

  1. #define FilePathLen 256
  2. //==========================================================================//
  3. // Other //
  4. //==========================================================================//
  5. #define ControlStringLen 160
  6. #define MenuStringLen 80
  7. #define MessageLen 160
  8. #define ProfileValueLen 120
  9. #define ProfileKeyLen 80
  10. #define WindowCaptionLen 40
  11. #define ResourceStringLen 40
  12. #define MiscTextLen 80
  13. #define ShortTextLen 25
  14. #define LongTextLen 256
  15. #define FileExtLen 8
  16. #define TEMP_BUF_LEN 256
  17. //==========================================================================//
  18. // Perfmon-Related Sizes //
  19. //==========================================================================//
  20. #define PerfObjectLen 80
  21. #define MAX_SYSTEM_NAME_LENGTH 128
  22. #define DEFAULT_COUNTER_NAME_SIZE (2 * 4096)
  23. #define DEFAULT_COUNTER_HELP_SIZE (24 * 4096)
  24. #define SMALL_BUF_LEN 16 // For numeric strings done in ASCII or whatever
  25. #define STARTING_SYSINFO_SIZE (48L * 1024L)
  26. #define NM_BUF_SIZE 64
  27. // the min and max of time interval in sec
  28. #define MAX_INTERVALSEC (FLOAT)2000000.0
  29. #define MIN_INTERVALSEC (FLOAT)0.0
  30. // the min and max for the Graph Vertical max.
  31. #define MAX_VERTICAL 2000000000
  32. #define MIN_VERTICAL 1
  33. 
  34.