63a055038d5c0e7d35554a2f320c1edc3650f79e
2 * VERIFY.C - verify internal command.
7 * 31 Jul 1998 (John P Price)
10 * 18-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
11 * VERIFY is just a dummy under Win32; it only exists
12 * for compatibility!!!
14 * 20-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
15 * Unicode and redirection ready!
17 * 30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
18 * Remove all hardcode string to En.rc
24 #ifdef INCLUDE_CMD_VERIFY
27 /* global verify flag */
28 static BOOL bVerify
= FALSE
;
31 INT
cmd_verify (LPTSTR cmd
, LPTSTR param
)
33 TCHAR szMsg
[RC_STRING_MAX_SIZE
];
35 if (!_tcsncmp (param
, _T("/?"), 2))
37 ConOutResPuts(STRING_VERIFY_HELP1
);
43 LoadString(CMD_ModuleHandle
, STRING_VERIFY_HELP2
, szMsg
, RC_STRING_MAX_SIZE
);
44 ConOutPrintf((LPTSTR
)szMsg
, bVerify
? D_ON
: D_OFF
);
46 else if (_tcsicmp (param
, D_OFF
) == 0)
48 else if (_tcsicmp (param
, D_ON
) == 0)
52 ConOutResPuts(STRING_VERIFY_HELP3
);