windows-nt/Source/XPSP1/NT/sdktools/kverify/kverify.rc
2020-09-26 16:20:57 +08:00

97 lines
4.1 KiB
Plaintext

#include <winver.h>
#include <ntverp.h>
#include "resid.hxx"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Driver verifier support for kernel"
#define VER_INTERNALNAME_STR "kverify.exe"
#define VER_ORIGINALFILENAME_STR "kverify.exe"
#include "common.ver"
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resid.hxx\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include <winver.h>\r\n"
"#include <ntverp.h>\r\n"
"\r\n"
"#define VER_FILETYPE VFT_APP\r\n"
"#define VER_FILESUBTYPE VFT2_UNKNOWN\r\n"
"#define VER_FILEDESCRIPTION_STR ""Driver verifier support for kernel""\r\n"
"#define VER_INTERNALNAME_STR ""kverify.exe""\r\n"
"#define VER_ORIGINALFILENAME_STR ""kverify.exe""\r\n"
"\r\n"
"#include ""common.ver""\r\n"
"\0"
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP_LINE1 "KVerify - verifier suport for the kernel\n"
IDS_HELP_LINE3 "\nKVerify /enable [ /flags FLAGS [ /iolevel IOLEVEL ] ]"
IDS_HELP_LINE4 "KVerify /disable"
IDS_HELP_LINE5 "KVerify /flags VALUE [ /iolevel IOLEVEL ]"
IDS_HELP_LINE6 "KVerify /status"
IDS_HELP_LINE7 "\nFLAGS is a decimal combination of bits:"
IDS_HELP_LINE8 " "
IDS_HELP_LINE9 " bit 0 - special pool checking"
IDS_HELP_LINE10 " bit 1 - force irql checking"
IDS_HELP_LINE11 " bit 2 - low resources simulation"
IDS_HELP_LINE12 " bit 3 - pool tracking"
IDS_HELP_LINE13 " bit 4 - I/O verification"
IDS_HELP_LINE14 " "
IDS_HELP_LINE15 "IOLEVEL can have one the following values:"
IDS_HELP_LINE16 " "
IDS_HELP_LINE17 " 1 - I/O verification level 1"
IDS_HELP_LINE18 " 2 - I/O verification level 2 (more strict than level 1)"
IDS_HELP_LINE19 " "
IDS_HELP_LINE20 " The default I/O verification level is 1."
IDS_HELP_LINE21 " The value is ignored if the I/O verification bit is not set in FLAGS."
IDS_HELP_LINE22 "\nThe exit codes are:\n"
IDS_HELP_LINE23 " 0 - no settings were changed"
IDS_HELP_LINE24 " 1 - you must reboot to have the changes taken into consideration"
IDS_HELP_LINE25 " 2 - an error occured"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENABLE_CMDLINE_OPTION "/enable"
IDS_FLAGS_CMDLINE_OPTION "/flags"
IDS_DISABLE_CMDLINE_OPTION "/disable"
IDS_STATUS_CMDLINE_OPTION "/status"
IDS_IOLEVEL_CMDLINE_OPTION "/iolevel"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CANNOT_ALLOCATE_MEMORY "Fatal error: Cannot allocate memory"
IDS_ACCESS_IS_DENIED "Access is denied"
IDS_REGOPENKEYEX_FAILED "RegOpenKeyEx( %s ) failed, error %u"
IDS_REGQUERYVALUEEX_FAILED "RegQueryValueEx('%s') failed: error %u"
IDS_REGQUERYVALUEEX_UNEXP_TYPE "RegQueryValueEx('%s') unexpected type"
IDS_REGQUERYVALUEEX_UNEXP_SIZE "RegQueryValueEx('%s') unexpected size"
IDS_REGSETVALUEEX_FAILED "RegSetValueEx('%s') failed: error %u"
IDS_VERIFIER_ENABLED_FORMAT "Verifier is enabled for '%s' with flags = %d"
IDS_VERIFIER_NOT_ENABLED_FORMAT "Verifier is not enabled for '%s'"
IDS_VERIFIER_ENABLED_NOFLAGS_FORMAT "Verifier is enabled for '%s' but the flags are not specified"
IDS_MUST_REBOOT "You must reboot to have the changes taken into consideration"
IDS_NOTHING_CHANGED "No settings were changed"
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."
IDS_VERIFIER_ENABLED_WITH_IO_FORMAT "Verifier is enabled for '%s' with flags = %u and I/O verification level %u"
IDS_REGCREATEKEYEX_FAILED "RegCreateKeyEx('%s') failed, error %u"
IDS_REGDELETEVALUE_FAILED "RegDeleteValue('%s') failed, error %u"
END