ReactOS  0.4.13-dev-259-g5ca9c9c
verify.c
Go to the documentation of this file.
1 /*
2  * VERIFY.C - verify internal command.
3  *
4  *
5  * History:
6  *
7  * 31 Jul 1998 (John P Price)
8  * started.
9  *
10  * 18-Jan-1999 (Eric Kohl)
11  * VERIFY is just a dummy under Win32; it only exists
12  * for compatibility!!!
13  *
14  * 20-Jan-1999 (Eric Kohl)
15  * Unicode and redirection ready!
16  *
17  * 30-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
18  * Remove all hardcoded strings in En.rc
19  */
20 
21 #include "precomp.h"
22 
23 #ifdef INCLUDE_CMD_VERIFY
24 
25 
26 /* global verify flag */
27 static BOOL bVerify = FALSE;
28 
29 
31 {
32  if (!_tcsncmp (param, _T("/?"), 2))
33  {
35  return 0;
36  }
37 
39  {
41  return nErrorLevel = 1;
42  }
43 
44  return nErrorLevel = 0;
45 }
46 
47 #endif
INT nErrorLevel
Definition: cmd.c:157
#define TRUE
Definition: types.h:120
#define ConErrResPuts(uID)
Definition: console.h:39
INT cmd_verify(LPTSTR param)
Definition: verify.c:30
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:182
int32_t INT
Definition: typedefs.h:56
CHAR * LPTSTR
Definition: xmlstorage.h:192
unsigned int BOOL
Definition: ntddk_ex.h:94
static BOOL bVerify
Definition: verify.c:27
#define _T(x)
Definition: vfdio.h:22
GLfloat param
Definition: glext.h:5796
BOOL OnOffCommand(LPTSTR param, LPBOOL flag, INT message)
Definition: echo.c:32
#define STRING_VERIFY_HELP3
Definition: resource.h:195
#define STRING_VERIFY_HELP1
Definition: resource.h:193
#define STRING_VERIFY_HELP2
Definition: resource.h:194
int _tcsncmp(const _TCHAR *s1, const _TCHAR *s2, size_t n)
Definition: tcsncmp.h:9