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.

61 lines
2.1 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #include "resource.h"
  4. #define VER_FILETYPE VFT_APP
  5. #define VER_FILESUBTYPE VFT2_UNKNOWN
  6. #define VER_FILEDESCRIPTION_STR "Services and Controller app"
  7. #define VER_INTERNALNAME_STR "services.exe"
  8. #define VER_ORIGINALFILENAME_STR "services.exe"
  9. STRINGTABLE
  10. BEGIN
  11. //
  12. // These IDs have to match the SC_ACTION enumeration in winsvc.h.
  13. // RC doesn't understand enumerated types.
  14. //
  15. // These strings are displayed in event log messages about recovery
  16. // actions that the service controller will take when a service crashes.
  17. //
  18. IDS_SC_ACTION_BASE + 0, "No action" // SC_ACTION_NONE
  19. IDS_SC_ACTION_BASE + 1, "Restart the service" // SC_ACTION_RESTART
  20. IDS_SC_ACTION_BASE + 2, "Reboot the machine" // SC_ACTION_REBOOT
  21. IDS_SC_ACTION_BASE + 3, "Run the configured recovery program" // SC_ACTION_RUN_COMMAND
  22. IDS_SC_REBOOT_MESSAGE, "Windows must now restart because the %ws service terminated unexpectedly"
  23. //
  24. // The ordering of these IDs has to match the SERVICE_CONTROL_*
  25. // constants in winsvc.h.
  26. //
  27. // These strings are displayed in event log messages about controls
  28. // sent to services.
  29. //
  30. IDS_SC_CONTROL_BASE + 0, "start"
  31. IDS_SC_CONTROL_BASE + 1, "stop"
  32. IDS_SC_CONTROL_BASE + 2, "pause"
  33. IDS_SC_CONTROL_BASE + 3, "continue"
  34. //
  35. // The ordering of these IDs has to match the SERVICE_* service
  36. // state constants in winsvc.h.
  37. //
  38. IDS_SC_STATUS_BASE + 1, "stopped"
  39. IDS_SC_STATUS_BASE + 4, "running"
  40. IDS_SC_STATUS_BASE + 7, "paused"
  41. //
  42. // String representations of the service config fields
  43. //
  44. IDS_SC_CONFIG_SERVICE_TYPE, "service type"
  45. IDS_SC_CONFIG_START_TYPE, "start type"
  46. IDS_SC_CONFIG_ERROR_CONTROL, "error control"
  47. IDS_SC_CONFIG_DISPLAY_NAME, "display name"
  48. IDS_SC_CONFIG_BINARY_PATH, "binary path"
  49. IDS_SC_CONFIG_DEPENDENCIES, "dependencies"
  50. IDS_SC_CONFIG_GROUP, "service group"
  51. IDS_SC_CONFIG_TAG, "tag"
  52. IDS_SC_CONFIG_ACCOUNT, "account name"
  53. END
  54. #include "common.ver"