It's not Win9x

Changed the two IsWin9x() functions to always return false.

Eventually we'll want to roll this up, removing the Win9x branch
of the code that called these.
This commit is contained in:
Andy McFadden 2015-01-08 18:04:09 -08:00
parent 00e6b3ab5e
commit e620d054bb
2 changed files with 2 additions and 22 deletions

View File

@ -345,16 +345,6 @@ DIError DiskImgLib::LastErrorToDIError(void)
*/ */
bool DiskImgLib::IsWin9x(void) bool DiskImgLib::IsWin9x(void)
{ {
OSVERSIONINFO osvers; return false;
BOOL result;
osvers.dwOSVersionInfoSize = sizeof(osvers);
result = ::GetVersionEx(&osvers);
assert(result != FALSE);
if (osvers.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS)
return true;
else
return false;
} }
#endif #endif

View File

@ -406,17 +406,7 @@ void ShowFailureMsg(CWnd* pWnd, int msgId, int titleStrID)
bool IsWin9x(void) bool IsWin9x(void)
{ {
OSVERSIONINFO osvers; return false;
BOOL result;
osvers.dwOSVersionInfoSize = sizeof(osvers);
result = ::GetVersionEx(&osvers);
assert(result != FALSE);
if (osvers.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS)
return true;
else
return false;
} }
void CheckedLoadString(CString* pString, UINT nID) void CheckedLoadString(CString* pString, UINT nID)