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.

155 lines
7.2 KiB

  1. //
  2. // Bitmaps & icons
  3. //
  4. #define BMP_JOBSTATES 271
  5. #define BMP_JOBSTATEL 272
  6. #define BMP_JOBSTATEXL 275
  7. #define IDI_GENERIC 273
  8. #define IDI_TEMPLATE 274
  9. //
  10. // Menus
  11. //
  12. #define POPUP_JOB 300
  13. #define POPUP_JOB_VERBS_ONLY 301
  14. #define POPUP_JOBSBG_MERGE 302
  15. #define POPUP_JOBSBG_POPUPMERGE 303
  16. #define POPUP_JOBS_MAIN_POPUPMERGE 304
  17. #define POPUP_ADVANCED 305
  18. #define POPUP_RBUTTON_MOVE 306
  19. #define POPUP_JOB_TEMPLATE 307
  20. //
  21. // Strings in string table
  22. //
  23. #define IDS_NAME 100
  24. #define IDS_NEXTRUNTIME 101
  25. #define IDS_LASTRUNTIME 102
  26. #define IDS_LASTEXITCODE 103
  27. #define IDS_SCHEDULE 104
  28. #define IDS_STATUS 105
  29. #define IDS_CREATOR 106
  30. #define IDS_MI_STOP 107
  31. #define IDS_MI_START 108
  32. #define IDS_MI_PAUSE 109
  33. #define IDS_MI_CONTINUE 110
  34. #define IDS_JOB_PSH_CAPTION 151
  35. #define IDS_NOPAGE 152
  36. #define IDS_JOBFOLDER 153
  37. #define IDS_RUNNING 154
  38. #define IDS_JOB_NOT_SCHEDULED 155
  39. #define IDS_NEVER 156
  40. #define IDS_DISABLED 157
  41. #define IDS_ON_STARTUP 158
  42. #define IDS_ON_LOGON 159
  43. #define IDS_TRIGGER_DISABLED 160
  44. #define IDS_COPY_OF 161
  45. #define IDS_START_SERVICE 162
  46. #define IDS_CONTINUE_SERVICE 163
  47. #define IDS_START_PENDING 164
  48. #define IDS_MULTIPLE_TRIGGERS 165
  49. #define IDS_MISSED 166
  50. #define IDS_START_FAILED 167
  51. #define IDS_BAD_ACCT 168
  52. #define IDS_REST_ACCT 169
  53. //
  54. // Others
  55. //
  56. #define CMIDM_FIRST 0x0000
  57. #define CMIDM_RUN (CMIDM_FIRST + 0x0001)
  58. #define CMIDM_ABORT (CMIDM_FIRST + 0x0002)
  59. #define CMIDM_CUT (CMIDM_FIRST + 0x0003)
  60. #define CMIDM_COPY (CMIDM_FIRST + 0x0004)
  61. #define CMIDM_PASTE (CMIDM_FIRST + 0x0005)
  62. #define CMIDM_DELETE (CMIDM_FIRST + 0x0006)
  63. #define CMIDM_RENAME (CMIDM_FIRST + 0x0007)
  64. #define CMIDM_PROPERTIES (CMIDM_FIRST + 0x0008)
  65. #define CMIDM_OPEN (CMIDM_FIRST + 0x0009)
  66. #define FSIDM_SORT_FIRST 0x0030
  67. #define FSIDM_SORTBYNAME (FSIDM_SORT_FIRST + 0x0000)
  68. #define FSIDM_SORTBYSCHEDULE (FSIDM_SORT_FIRST + 0x0001)
  69. #define FSIDM_SORTBYNEXTRUNTIME (FSIDM_SORT_FIRST + 0x0002)
  70. #define FSIDM_SORTBYLASTRUNTIME (FSIDM_SORT_FIRST + 0x0003)
  71. #define FSIDM_SORTBYLASTEXITCODE (FSIDM_SORT_FIRST + 0x0004)
  72. #define FSIDM_SORTBYSTATUS (FSIDM_SORT_FIRST + 0x0005)
  73. #define FSIDM_SORTBYCREATOR (FSIDM_SORT_FIRST + 0x0006)
  74. #define FSIDM_MENU_NEW 0x0060
  75. #define FSIDM_NEWJOB (FSIDM_MENU_NEW + 0x0001)
  76. #define FSIDM_NEWQUEUE (FSIDM_MENU_NEW + 0x0002)
  77. #define FSIDM_MENU_ADVANCED 0x0090
  78. #define FSIDM_STOP_SCHED (FSIDM_MENU_ADVANCED + 0x0001)
  79. #define FSIDM_PAUSE_SCHED (FSIDM_MENU_ADVANCED + 0x0002)
  80. #define FSIDM_VIEW_LOG (FSIDM_MENU_ADVANCED + 0x0003)
  81. #define FSIDM_DBG_BUILD_NUM (FSIDM_MENU_ADVANCED + 0x0004)
  82. #define FSIDM_AT_ACCOUNT (FSIDM_MENU_ADVANCED + 0x0005)
  83. #define FSIDM_NOTIFY_MISSED (FSIDM_MENU_ADVANCED + 0x0006)
  84. #define DIDM_RBUTTON_MOVE_START 0x00c0
  85. #define DDIDM_MOVE (DIDM_RBUTTON_MOVE_START + 0x0001)
  86. #define DDIDM_COPY (DIDM_RBUTTON_MOVE_START + 0x0002)
  87. #define DDIDM_CREATEAJOB (DIDM_RBUTTON_MOVE_START + 0x0003)
  88. #define IDS_MH_FSIDM_FIRST 2000
  89. #define IDS_MH_FSIDM_LAST 2999
  90. #define IDS_MH_SORTBYNAME (IDS_MH_FSIDM_FIRST + FSIDM_SORTBYNAME)
  91. #define IDS_MH_SORTBYNEXTRUNTIME (IDS_MH_FSIDM_FIRST + FSIDM_SORTBYNEXTRUNTIME)
  92. #define IDS_MH_SORTBYLASTRUNTIME (IDS_MH_FSIDM_FIRST + FSIDM_SORTBYLASTRUNTIME)
  93. #define IDS_MH_SORTBYLASTEXITCODE (IDS_MH_FSIDM_FIRST + FSIDM_SORTBYLASTEXITCODE)
  94. #define IDS_MH_SORTBYSCHEDULE (IDS_MH_FSIDM_FIRST + FSIDM_SORTBYSCHEDULE)
  95. #define IDS_MH_SORTBYCREATOR (IDS_MH_FSIDM_FIRST + FSIDM_SORTBYCREATOR)
  96. #define IDS_MH_MENU_NEW (IDS_MH_FSIDM_FIRST + FSIDM_MENU_NEW)
  97. #define IDS_MH_NEWJOB (IDS_MH_FSIDM_FIRST + FSIDM_NEWJOB)
  98. #define IDS_MH_NEWQUEUE (IDS_MH_FSIDM_FIRST + FSIDM_NEWQUEUE)
  99. #define IDS_MH_MENU_ADVANCED (IDS_MH_FSIDM_FIRST + FSIDM_MENU_ADVANCED)
  100. #define IDS_MH_STOP_SCHED (IDS_MH_FSIDM_FIRST + FSIDM_STOP_SCHED)
  101. #define IDS_MH_PAUSE_SCHED (IDS_MH_FSIDM_FIRST + FSIDM_PAUSE_SCHED)
  102. #define IDS_MH_NOTIFY_OF_MISSED (IDS_MH_FSIDM_FIRST + FSIDM_NOTIFY_MISSED)
  103. #define IDS_MH_VIEW_LOG (IDS_MH_FSIDM_FIRST + FSIDM_VIEW_LOG)
  104. #define IDS_MH_AT_ACCOUNT (IDS_MH_FSIDM_FIRST + FSIDM_AT_ACCOUNT)
  105. #define IDS_MH_ABOUT (IDS_MH_FSIDM_FIRST + FSIDM_DBG_BUILD_NUM)
  106. #define MH_TEXT_TOGGLE 20
  107. #define IDS_MH_START_SCHED (IDS_MH_FSIDM_FIRST + FSIDM_STOP_SCHED + MH_TEXT_TOGGLE)
  108. #define IDS_MH_CONTINUE_SCHED (IDS_MH_FSIDM_FIRST + FSIDM_PAUSE_SCHED + MH_TEXT_TOGGLE)
  109. #define IDS_MH_RUN (IDS_MH_FSIDM_FIRST + CMIDM_RUN)
  110. #define IDS_MH_ABORT (IDS_MH_FSIDM_FIRST + CMIDM_ABORT)
  111. #define IDS_MH_CUT (IDS_MH_FSIDM_FIRST + CMIDM_CUT)
  112. #define IDS_MH_COPY (IDS_MH_FSIDM_FIRST + CMIDM_COPY)
  113. #define IDS_MH_PASTE (IDS_MH_FSIDM_FIRST + CMIDM_PASTE)
  114. #define IDS_MH_DELETE (IDS_MH_FSIDM_FIRST + CMIDM_DELETE)
  115. #define IDS_MH_RENAME (IDS_MH_FSIDM_FIRST + CMIDM_RENAME)
  116. #define IDS_MH_PROPERTIES (IDS_MH_FSIDM_FIRST + CMIDM_PROPERTIES)
  117. #define IDS_MH_OPEN (IDS_MH_FSIDM_FIRST + CMIDM_OPEN)
  118. #ifndef SFVIDM_MENU_ARRANGE
  119. #define SFVIDM_MENU_ARRANGE 0x7001
  120. #endif // SFVIDM_MENU_ARRANGE
  121. #define IERR_START 3800
  122. #define IERR_CANT_FIND_VIEWER (IERR_START + 0x0001)
  123. #define IERR_GETSVCSTATE (IERR_START + 0x0002)
  124. #define IERR_STOPSVC (IERR_START + 0x0003)
  125. #define IERR_PAUSESVC (IERR_START + 0x0004)
  126. #define IERR_CONTINUESVC (IERR_START + 0x0005)
  127. #define IERR_SCHEDSVC (IERR_START + 0x0006)
  128. #define IERR_EXT_NOT_VALID (IERR_START + 0X0007)
  129. #define IERR_INVALID_DATA (IERR_START + 0X0008)
  130. #define IERR_STARTSVC (IERR_START + 0X0009)
  131. #define IERR_GETATACCOUNT (IERR_START + 0X000A)
  132. #define IDS_BUILD_NUM 4000