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.

96 lines
4.2 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 "Driver verifier support for kernel"
  7. #define VER_INTERNALNAME_STR "kverify.exe"
  8. #define VER_ORIGINALFILENAME_STR "kverify.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 ""Driver verifier support for kernel""\r\n"
  22. "#define VER_INTERNALNAME_STR ""kverify.exe""\r\n"
  23. "#define VER_ORIGINALFILENAME_STR ""kverify.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 "KVerify - verifier suport for the kernel\n"
  35. IDS_HELP_LINE3 "\nKVerify /enable [ /flags FLAGS [ /iolevel IOLEVEL ] ]"
  36. IDS_HELP_LINE4 "KVerify /disable"
  37. IDS_HELP_LINE5 "KVerify /flags VALUE [ /iolevel IOLEVEL ]"
  38. IDS_HELP_LINE6 "KVerify /status"
  39. IDS_HELP_LINE7 "\nFLAGS is a decimal combination of bits:"
  40. IDS_HELP_LINE8 " "
  41. IDS_HELP_LINE9 " bit 0 - special pool checking"
  42. IDS_HELP_LINE10 " bit 1 - force irql checking"
  43. IDS_HELP_LINE11 " bit 2 - low resources simulation"
  44. IDS_HELP_LINE12 " bit 3 - pool tracking"
  45. IDS_HELP_LINE13 " bit 4 - I/O verification"
  46. IDS_HELP_LINE14 " "
  47. IDS_HELP_LINE15 "IOLEVEL can have one the following values:"
  48. IDS_HELP_LINE16 " "
  49. IDS_HELP_LINE17 " 1 - I/O verification level 1"
  50. IDS_HELP_LINE18 " 2 - I/O verification level 2 (more strict than level 1)"
  51. IDS_HELP_LINE19 " "
  52. IDS_HELP_LINE20 " The default I/O verification level is 1."
  53. IDS_HELP_LINE21 " The value is ignored if the I/O verification bit is not set in FLAGS."
  54. IDS_HELP_LINE22 "\nThe exit codes are:\n"
  55. IDS_HELP_LINE23 " 0 - no settings were changed"
  56. IDS_HELP_LINE24 " 1 - you must reboot to have the changes taken into consideration"
  57. IDS_HELP_LINE25 " 2 - an error occured"
  58. END
  59. STRINGTABLE DISCARDABLE
  60. BEGIN
  61. IDS_ENABLE_CMDLINE_OPTION "/enable"
  62. IDS_FLAGS_CMDLINE_OPTION "/flags"
  63. IDS_DISABLE_CMDLINE_OPTION "/disable"
  64. IDS_STATUS_CMDLINE_OPTION "/status"
  65. IDS_IOLEVEL_CMDLINE_OPTION "/iolevel"
  66. END
  67. STRINGTABLE DISCARDABLE
  68. BEGIN
  69. IDS_CANNOT_ALLOCATE_MEMORY "Fatal error: Cannot allocate memory"
  70. IDS_ACCESS_IS_DENIED "Access is denied"
  71. IDS_REGOPENKEYEX_FAILED "RegOpenKeyEx( %s ) failed, error %u"
  72. IDS_REGQUERYVALUEEX_FAILED "RegQueryValueEx('%s') failed: error %u"
  73. IDS_REGQUERYVALUEEX_UNEXP_TYPE "RegQueryValueEx('%s') unexpected type"
  74. IDS_REGQUERYVALUEEX_UNEXP_SIZE "RegQueryValueEx('%s') unexpected size"
  75. IDS_REGSETVALUEEX_FAILED "RegSetValueEx('%s') failed: error %u"
  76. IDS_VERIFIER_ENABLED_FORMAT "Verifier is enabled for '%s' with flags = %d"
  77. IDS_VERIFIER_NOT_ENABLED_FORMAT "Verifier is not enabled for '%s'"
  78. IDS_VERIFIER_ENABLED_NOFLAGS_FORMAT "Verifier is enabled for '%s' but the flags are not specified"
  79. IDS_MUST_REBOOT "You must reboot to have the changes taken into consideration"
  80. IDS_NOTHING_CHANGED "No settings were changed"
  81. IDS_IOVERIFY_ENABLED "Cannot enable the verifier for the kernel because\nthe system level I/O verifier is on. \nUse 'ioverify /disable' to disable it first."
  82. IDS_VERIFIER_ENABLED_WITH_IO_FORMAT "Verifier is enabled for '%s' with flags = %u and I/O verification level %u"
  83. IDS_REGCREATEKEYEX_FAILED "RegCreateKeyEx('%s') failed, error %u"
  84. IDS_REGDELETEVALUE_FAILED "RegDeleteValue('%s') failed, error %u"
  85. END