From 9083f95db01db7098aa2bfe75a91e062069f82e5 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 25 Aug 2014 20:08:14 +0200 Subject: Remove driver version test that is non application to VeraCrypt and that was wrongly inherited from TrueCrypt. --- src/Common/Dlgcode.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index fc688bb1..990c04df 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -8423,9 +8423,6 @@ BOOL CALLBACK CloseTCWindowsEnum (HWND hwnd, LPARAM lParam) { PostMessage (hwnd, TC_APPMSG_CLOSE_BKG_TASK, 0, 0); - if (DriverVersion < 0x0430) - PostMessage (hwnd, WM_ENDSESSION, 0, 0); - PostMessage (hwnd, WM_CLOSE, 0, 0); if (lParam != 0) -- cgit v1.2.3