5 extern UINT InputCodePage
;
6 extern UINT OutputCodePage
;
8 // /* Global variables */
9 // extern BOOL bCtrlBreak;
10 // extern BOOL bIgnoreEcho;
13 VOID
ConInDummy (VOID
);
14 VOID
ConInDisable (VOID
);
15 VOID
ConInEnable (VOID
);
16 VOID
ConInFlush (VOID
);
17 VOID
ConInKey (PINPUT_RECORD
);
18 VOID
ConInString (LPTSTR
, DWORD
);
20 VOID
ConOutChar (TCHAR
);
21 VOID
ConOutPuts (LPTSTR
);
22 VOID
ConPrintf(LPTSTR
, va_list, DWORD
);
23 INT
ConPrintfPaging(BOOL NewPage
, LPTSTR
, va_list, DWORD
);
24 VOID
ConOutPrintf (LPTSTR
, ...);
25 INT
ConOutPrintfPaging (BOOL NewPage
, LPTSTR
, ...);
26 VOID
ConErrChar (TCHAR
);
27 VOID
ConErrPuts (LPTSTR
);
28 VOID
ConErrPrintf (LPTSTR
, ...);
29 VOID
ConOutFormatMessage (DWORD MessageId
, ...);
30 VOID
ConErrFormatMessage (DWORD MessageId
, ...);
32 SHORT
GetCursorX (VOID
);
33 SHORT
GetCursorY (VOID
);
34 VOID
GetCursorXY (PSHORT
, PSHORT
);
35 VOID
SetCursorXY (SHORT
, SHORT
);
37 VOID
GetScreenSize (PSHORT
, PSHORT
);
38 VOID
SetCursorType (BOOL
, BOOL
);
40 VOID
ConOutResPuts (UINT resID
);
41 VOID
ConErrResPuts (UINT resID
);
42 VOID
ConOutResPrintf (UINT resID
, ...);
43 VOID
ConErrResPrintf (UINT resID
, ...);
44 VOID
ConOutResPaging(BOOL NewPage
, UINT resID
);
47 BOOL
ConSetTitle(IN LPCTSTR lpConsoleTitle
);
49 #ifdef INCLUDE_CMD_BEEP
50 VOID
ConRingBell(HANDLE hOutput
);
53 #ifdef INCLUDE_CMD_CLS
54 VOID
ConClearScreen(HANDLE hOutput
);
57 #ifdef INCLUDE_CMD_COLOR
58 BOOL
ConSetScreenColor(WORD wColor
, BOOL bFill
);
61 // TCHAR cgetchar (VOID);
62 // BOOL CheckCtrlBreak (INT);
64 // #define PROMPT_NO 0
65 // #define PROMPT_YES 1
66 // #define PROMPT_ALL 2
67 // #define PROMPT_BREAK 3
69 // INT PagePrompt (VOID);
70 // INT FilePromptYN (UINT);
71 // INT FilePromptYNA (UINT);