From e3179c1ef509482ff9b4c7d4fb89d0b208e84000 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 27 May 2019 16:05:30 +0300 Subject: obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls --- plugins/TooltipNotify/src/Utils.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugins/TooltipNotify/src/Utils.cpp') diff --git a/plugins/TooltipNotify/src/Utils.cpp b/plugins/TooltipNotify/src/Utils.cpp index 9338efebbe..229257d6a9 100644 --- a/plugins/TooltipNotify/src/Utils.cpp +++ b/plugins/TooltipNotify/src/Utils.cpp @@ -4,13 +4,6 @@ #include "stdafx.h" -BOOL IsNt50() -{ - WORD wOsVersion = LOWORD(GetVersion()); - BYTE bMajorVer = LOBYTE(wOsVersion); - return (bMajorVer>=5); -} - void TruncateWithDots(wchar_t* szString, size_t iNewLen) { size_t iOrigLen = mir_wstrlen(szString); -- cgit v1.2.3