mirror of
https://github.com/fadden/ciderpress.git
synced 2024-10-13 07:23:48 +00:00
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:
parent
00e6b3ab5e
commit
e620d054bb
@ -345,16 +345,6 @@ DIError DiskImgLib::LastErrorToDIError(void)
|
||||
*/
|
||||
bool DiskImgLib::IsWin9x(void)
|
||||
{
|
||||
OSVERSIONINFO osvers;
|
||||
BOOL result;
|
||||
|
||||
osvers.dwOSVersionInfoSize = sizeof(osvers);
|
||||
result = ::GetVersionEx(&osvers);
|
||||
assert(result != FALSE);
|
||||
|
||||
if (osvers.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
@ -406,17 +406,7 @@ void ShowFailureMsg(CWnd* pWnd, int msgId, int titleStrID)
|
||||
|
||||
bool IsWin9x(void)
|
||||
{
|
||||
OSVERSIONINFO osvers;
|
||||
BOOL result;
|
||||
|
||||
osvers.dwOSVersionInfoSize = sizeof(osvers);
|
||||
result = ::GetVersionEx(&osvers);
|
||||
assert(result != FALSE);
|
||||
|
||||
if (osvers.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
void CheckedLoadString(CString* pString, UINT nID)
|
||||
|
Loading…
Reference in New Issue
Block a user