mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: remove unused code targeting Windows 2000.
This commit is contained in:
@@ -5169,10 +5169,7 @@ namespace VeraCrypt
|
||||
#endif
|
||||
#ifndef SETUP
|
||||
void BootEncryption::CheckRequirements ()
|
||||
{
|
||||
if (nCurrentOS == WIN_2000)
|
||||
throw ErrorException ("SYS_ENCRYPTION_UNSUPPORTED_ON_CURRENT_OS", SRC_POS);
|
||||
|
||||
{
|
||||
if (CurrentOSMajor == 6 && CurrentOSMinor == 0 && CurrentOSServicePack < 1)
|
||||
throw ErrorException ("SYS_ENCRYPTION_UNSUPPORTED_ON_VISTA_SP0", SRC_POS);
|
||||
|
||||
|
||||
@@ -10069,12 +10069,6 @@ wchar_t GetSystemDriveLetter (void)
|
||||
|
||||
void TaskBarIconDisplayBalloonTooltip (HWND hwnd, wchar_t *headline, wchar_t *text, BOOL warning)
|
||||
{
|
||||
if (nCurrentOS == WIN_2000)
|
||||
{
|
||||
MessageBoxW (MainDlg, text, headline, warning ? MB_ICONWARNING : MB_ICONINFORMATION);
|
||||
return;
|
||||
}
|
||||
|
||||
NOTIFYICONDATAW tnid;
|
||||
|
||||
ZeroMemory (&tnid, sizeof (tnid));
|
||||
|
||||
Reference in New Issue
Block a user