TDL/Source/Furutaka/cui.h

40 lines
933 B
C
Raw Normal View History

2016-02-04 12:42:05 +08:00
/*******************************************************************************
*
2017-04-17 19:45:41 +08:00
* (C) COPYRIGHT AUTHORS, 2016 - 2017
2016-02-04 12:42:05 +08:00
*
* TITLE: CUI.H
*
2017-04-17 19:45:41 +08:00
* VERSION: 1.10
2016-02-04 12:42:05 +08:00
*
2017-04-17 19:45:41 +08:00
* DATE: 04 Feb 2017
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
2017-04-17 19:45:41 +08:00
VOID cuiPrintTextA(
_In_ HANDLE hOutConsole,
_In_ LPSTR lpText,
_In_ BOOL ConsoleOutputEnabled,
_In_ BOOL UseReturn
);
2016-02-04 12:42:05 +08:00
2017-04-17 19:45:41 +08:00
VOID cuiPrintTextW(
_In_ HANDLE hOutConsole,
_In_ LPWSTR lpText,
_In_ BOOL ConsoleOutputEnabled,
_In_ BOOL UseReturn
);
#ifdef UNICODE
#define cuiPrintText cuiPrintTextW
#else
#define cuiPrintText cuiPrintTextA
#endif