TDL/Source/Furutaka/cui.h

56 lines
1.1 KiB
C
Raw Permalink Normal View History

2016-02-04 12:42:05 +08:00
/*******************************************************************************
*
* (C) COPYRIGHT AUTHORS, 2016 - 2018
2016-02-04 12:42:05 +08:00
*
* TITLE: CUI.H
*
* VERSION: 1.30
2016-02-04 12:42:05 +08:00
*
* DATE: 01 Aug 2018
2016-02-04 12:42:05 +08:00
*
* Common header file for console ui.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
*******************************************************************************/
#pragma once
VOID cuiInitialize(
_In_ BOOL InitInput,
_Out_opt_ PBOOL IsConsoleOutput
);
#ifdef _UNICODE
#define cuiPrintText cuiPrintTextW
#define cuiPrintTextLastError cuiPrintTextLastErrorW
#else
#define cuiPrintText cuiPrintTextA
#define cuiPrintTextLastError cuiPrintTextLastErrorA
#endif
2017-04-17 19:45:41 +08:00
VOID cuiPrintTextA(
_In_ LPSTR lpText,
_In_ BOOL UseReturn
);
2016-02-04 12:42:05 +08:00
2017-04-17 19:45:41 +08:00
VOID cuiPrintTextW(
_In_ LPWSTR lpText,
_In_ BOOL UseReturn
);
VOID cuiPrintTextLastErrorA(
2017-04-17 19:45:41 +08:00
_In_ BOOL UseReturn
);
2017-04-17 19:45:41 +08:00
VOID cuiPrintTextLastErrorW(
_In_ BOOL UseReturn
);
VOID cuiClrScr(
VOID
);