Windows NT 4.0 source code leak
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.

78 lines
2.7 KiB

4 years ago
  1. /***************************************************************************\
  2. * resource.h
  3. * Microsoft Confidential
  4. * Copyright (c) 1991 Microsoft Corporation
  5. *
  6. * the ID definitions for the WINMETER resources
  7. *
  8. * History:
  9. * Written by Hadi Partovi (t-hadip) summer 1991
  10. *
  11. * Re-written and adapted for NT by Fran Borda (v-franb) Nov.1991
  12. * for Newman Consulting
  13. * Took out all WIN-specific and bargraph code. Added 3 new
  14. * linegraphs (Mem/Paging, Process/Threads/Handles, IO), and
  15. * tailored info to that available under NT.
  16. \***************************************************************************/
  17. // general string lengths
  18. #define TEMP_BUF_LEN 255 // length for temporary buffer
  19. #define SMALL_BUF_LEN 16 // length for small buffers,for printing #'s,..
  20. // menu definitions
  21. #define IDM_MAINMENU 1
  22. #define IDM_CPU_USAGE 10
  23. #define IDM_CLEAR_GRAPH 14
  24. #define IDM_EXIT 15
  25. #define IDM_MEM_USAGE 16
  26. #define IDM_PROCS 17
  27. #define IDM_IO_USAGE 18
  28. #define IDM_SETTINGS 20
  29. #define IDM_REFRESH 21
  30. #define IDM_REFRESH_NOW 22
  31. #define IDM_HISTORY 24
  32. #define IDM_DISPLAY_LEGEND 25
  33. #define IDM_DISPLAY_CALIBRATION 26
  34. #define IDM_HIDE_MENU 27
  35. #define IDM_HELP_CONT 30
  36. #define IDM_HELP_SEARCH 31
  37. #define IDM_HELP_ABOUT 32
  38. // STRING TABLE DEFINITIONS:
  39. #define IDS_APPNAME 1 // name of application
  40. #define IDS_PERCENT 5 // string displayed on axis
  41. #define IDS_CPU_AXIS 6 // string displayed on axis
  42. // STRINGS TO DISPLAY IN WINDOW TITLE
  43. #define IDS_CPU_USAGE 11
  44. #define IDS_MEMORY_USAGE 13
  45. #define IDS_TITLE_DIVIDER 14
  46. #define IDS_PROC_INFO 15
  47. #define IDS_IO_USAGE 16
  48. // ERROR MESSAGES
  49. #define IDS_NONNUMERIC 17 // string displayed if number input is nonnumeric
  50. #define IDS_MANYCLOCKS 18 // string displayed if too many clocks
  51. #define IDS_CANTDOTIMER 19 // string displayed if can't allocate timer
  52. #define IDS_BADTIMERMSG 20 // string displayed if window receives bad mesage
  53. #define IDS_BADERROR 21 // string displayed if bed error message
  54. #define IDS_OUTOFMEMORY 22 // string displayed if out of memory
  55. #define IDS_BADHMOD 23 // string displayed if received bad module handle
  56. #define IDS_BADBRUSH 24 // string displayed if NULL brush created
  57. #define IDS_CANT_REALLOC 25 // string displayed if can't realloc graph
  58. // LINEGRAPH DESCRIPTORS
  59. #define IDS_CPU 32
  60. #define IDS_PROCESSES 39
  61. #define IDS_THREADS 40
  62. #define IDS_FILES 41
  63. #define IDS_AVAILPAGES 42
  64. #define IDS_COMMITPAGES 43
  65. #define IDS_PAGEFAULTS 44
  66. #define IDS_IO_READS 45
  67. #define IDS_IO_WRITES 46
  68. #define IDS_IO_OTHER 47