ReactOS 0.4.15-dev-5672-gf73ac17
pause.c File Reference
#include "precomp.h"
Include dependency graph for pause.c:

Go to the source code of this file.

Functions

INT cmd_pause (LPTSTR param)
 

Function Documentation

◆ cmd_pause()

INT cmd_pause ( LPTSTR  param)

Definition at line 37 of file pause.c.

38{
39 TRACE("cmd_pause: \'%s\')\n", debugstr_aw(param));
40
41 if (!_tcsncmp(param, _T("/?"), 2))
42 {
44 return 0;
45 }
46
47 if (*param)
49 else
50 msg_pause();
51
52 cgetchar();
53
54 ConOutChar(_T('\n'));
55 return 0;
56}
TCHAR cgetchar(VOID)
Definition: misc.c:41
VOID msg_pause(VOID)
Definition: error.c:167
VOID ConOutChar(TCHAR c)
Definition: console.c:123
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:182
#define ConOutPuts(szStr)
Definition: console.h:30
#define debugstr_aw
Definition: precomp.h:43
#define STRING_PAUSE_HELP1
Definition: resource.h:153
#define TRUE
Definition: types.h:120
GLfloat param
Definition: glext.h:5796
#define _tcsncmp
Definition: tchar.h:1428
#define TRACE(s)
Definition: solgame.cpp:4
#define _T(x)
Definition: vfdio.h:22