1*c2c66affSColin Finck /* 2*c2c66affSColin Finck * VERIFY.C - verify internal command. 3*c2c66affSColin Finck * 4*c2c66affSColin Finck * 5*c2c66affSColin Finck * History: 6*c2c66affSColin Finck * 7*c2c66affSColin Finck * 31 Jul 1998 (John P Price) 8*c2c66affSColin Finck * started. 9*c2c66affSColin Finck * 10*c2c66affSColin Finck * 18-Jan-1999 (Eric Kohl) 11*c2c66affSColin Finck * VERIFY is just a dummy under Win32; it only exists 12*c2c66affSColin Finck * for compatibility!!! 13*c2c66affSColin Finck * 14*c2c66affSColin Finck * 20-Jan-1999 (Eric Kohl) 15*c2c66affSColin Finck * Unicode and redirection ready! 16*c2c66affSColin Finck * 17*c2c66affSColin Finck * 30-Apr-2005 (Magnus Olsen <magnus@greatlord.com>) 18*c2c66affSColin Finck * Remove all hardcoded strings in En.rc 19*c2c66affSColin Finck */ 20*c2c66affSColin Finck 21*c2c66affSColin Finck #include "precomp.h" 22*c2c66affSColin Finck 23*c2c66affSColin Finck #ifdef INCLUDE_CMD_VERIFY 24*c2c66affSColin Finck 25*c2c66affSColin Finck 26*c2c66affSColin Finck /* global verify flag */ 27*c2c66affSColin Finck static BOOL bVerify = FALSE; 28*c2c66affSColin Finck 29*c2c66affSColin Finck cmd_verify(LPTSTR param)30*c2c66affSColin FinckINT cmd_verify (LPTSTR param) 31*c2c66affSColin Finck { 32*c2c66affSColin Finck if (!_tcsncmp (param, _T("/?"), 2)) 33*c2c66affSColin Finck { 34*c2c66affSColin Finck ConOutResPaging(TRUE,STRING_VERIFY_HELP1); 35*c2c66affSColin Finck return 0; 36*c2c66affSColin Finck } 37*c2c66affSColin Finck 38*c2c66affSColin Finck if (!OnOffCommand(param, &bVerify, STRING_VERIFY_HELP2)) 39*c2c66affSColin Finck { 40*c2c66affSColin Finck ConErrResPuts(STRING_VERIFY_HELP3); 41*c2c66affSColin Finck return nErrorLevel = 1; 42*c2c66affSColin Finck } 43*c2c66affSColin Finck 44*c2c66affSColin Finck return nErrorLevel = 0; 45*c2c66affSColin Finck } 46*c2c66affSColin Finck 47*c2c66affSColin Finck #endif 48