1
0
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:
Mounir IDRASSI
2020-06-27 23:05:47 +02:00
parent 61aec8a9a6
commit b270a453aa
7 changed files with 22 additions and 77 deletions

View File

@@ -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);

View File

@@ -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));