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.

75 lines
3.0 KiB

  1. #include <winver.h>
  2. #include <ntverp.h>
  3. #include "resid.hxx"
  4. #define VER_FILETYPE VFT_APP
  5. #define VER_FILESUBTYPE VFT2_UNKNOWN
  6. #define VER_FILEDESCRIPTION_STR "System level IO verification configuration utility"
  7. #define VER_INTERNALNAME_STR "ioverify.exe"
  8. #define VER_ORIGINALFILENAME_STR "ioverify.exe"
  9. #include "common.ver"
  10. 1 TEXTINCLUDE DISCARDABLE
  11. BEGIN
  12. "resid.hxx\0"
  13. END
  14. 2 TEXTINCLUDE DISCARDABLE
  15. BEGIN
  16. "#include <winver.h>\r\n"
  17. "#include <ntverp.h>\r\n"
  18. "\r\n"
  19. "#define VER_FILETYPE VFT_APP\r\n"
  20. "#define VER_FILESUBTYPE VFT2_UNKNOWN\r\n"
  21. "#define VER_FILEDESCRIPTION_STR ""System level IO verification configuration utility""\r\n"
  22. "#define VER_INTERNALNAME_STR ""ioverify.exe""\r\n"
  23. "#define VER_ORIGINALFILENAME_STR ""ioverify.exe""\r\n"
  24. "\r\n"
  25. "#include ""common.ver""\r\n"
  26. "\0"
  27. END
  28. /////////////////////////////////////////////////////////////////////////////
  29. //
  30. // String Table
  31. //
  32. STRINGTABLE DISCARDABLE
  33. BEGIN
  34. IDS_HELP_LINE1 "IOVerify - System level IO verification configuration utility\n"
  35. IDS_HELP_LINE3 "\nIOVerify /enable"
  36. IDS_HELP_LINE4 "IOVerify /disable"
  37. IDS_HELP_LINE5 "IOVerify /status"
  38. IDS_HELP_LINE6 "\nThe exit codes are:\n"
  39. IDS_HELP_LINE7 " 0 - no settings were changed"
  40. IDS_HELP_LINE8 " 1 - you must reboot this computer for the changes to take effect"
  41. IDS_HELP_LINE9 " 2 - an error occured"
  42. END
  43. STRINGTABLE DISCARDABLE
  44. BEGIN
  45. IDS_ENABLE_CMDLINE_OPTION "/enable"
  46. IDS_DISABLE_CMDLINE_OPTION "/disable"
  47. IDS_STATUS_CMDLINE_OPTION "/status"
  48. END
  49. STRINGTABLE DISCARDABLE
  50. BEGIN
  51. IDS_CANNOT_ALLOCATE_MEMORY "Fatal error: Cannot allocate memory"
  52. IDS_ACCESS_IS_DENIED "Access is denied"
  53. IDS_REGOPENKEYEX_FAILED "RegOpenKeyEx( %s ) failed, error code %u"
  54. IDS_REGQUERYVALUEEX_FAILED "RegQueryValueEx('%s') failed: error %u"
  55. IDS_REGQUERYVALUEEX_UNEXP_TYPE "RegQueryValueEx('%s') unexpected type"
  56. IDS_REGQUERYVALUEEX_UNEXP_SIZE "RegQueryValueEx('%s') unexpected size"
  57. IDS_REGSETVALUEEX_FAILED "RegSetValueEx('%s') failed: error %u"
  58. IDS_VERIFIER_ENABLED_FORMAT "System level IO verification is enabled with level = %d."
  59. IDS_VERIFIER_NOT_ENABLED_FORMAT "System level IO verification is not enabled."
  60. IDS_MUST_REBOOT "You must reboot this computer for the changes to take effect."
  61. IDS_NOTHING_CHANGED "No settings were changed."
  62. IDS_REGCREATEKEYEX_FAILED "RegCreateKeyEx('%s') failed: error %u"
  63. IDS_REGDELETEVALUE_FAILED "RegDeleteValue('%s') failed: error %u"
  64. IDS_KVERIFY_ENABLED "Cannot enable the system level I/O verifier because\nthe verifier is enabled for the kernel. \nUse 'kverify /disable' to disable it first."
  65. END