--- truecrypt/boot/windows/bootconsoleio.h 2018/04/24 16:58:55 1.1.1.4 +++ truecrypt/boot/windows/bootconsoleio.h 2018/04/24 17:09:52 1.1.1.8 @@ -1,9 +1,9 @@ /* - Copyright (c) 2008 TrueCrypt Foundation. All rights reserved. + Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved. - Governed by the TrueCrypt License 2.6 the full text of which is contained - in the file License.txt included in TrueCrypt binary and source code - distribution packages. + Governed by the TrueCrypt License 3.0 the full text of which is contained in + the file License.txt included in TrueCrypt binary and source code distribution + packages. */ #ifndef TC_HEADER_Boot_BootConsoleIo @@ -41,7 +41,8 @@ void ClearScreen (); void DisableScreenOutput (); void EnableScreenOutput (); bool EscKeyPressed (); -byte GetKeyboardChar (byte *scanCode = nullptr); +byte GetKeyboardChar (); +byte GetKeyboardChar (byte *scanCode); byte GetShiftFlags (); int GetString (char *buffer, size_t bufferSize); void InitVideoMode (); @@ -56,7 +57,8 @@ void PrintCharAtCursor (char c); void PrintEndl (); void PrintEndl (int cnt); void PrintRepeatedChar (char c, int n); -void PrintError (const char *message, bool beep = true, bool newLine = true); +void PrintError (const char *message); +void PrintErrorNoEndl (const char *message); void PrintHex (byte b); void PrintHex (uint16 data); void PrintHex (uint32 data);