VirtualBox

Changeset 96606 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Sep 5, 2022 7:34:59 PM (2 years ago)
Author:
vboxsync
Message:

IPRT: Now the GetVersionExW fallback should be correct. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/init-win.cpp

    r96597 r96606  
    359359            RT_ZERO(g_WinOsInfoEx);
    360360            g_WinOsInfoEx.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);
    361             if (!pfnGetVersionExW && pfnGetVersionExW((POSVERSIONINFOW)&g_WinOsInfoEx))
     361            if (pfnGetVersionExW && pfnGetVersionExW((POSVERSIONINFOW)&g_WinOsInfoEx))
    362362                Assert(g_WinOsInfoEx.dwPlatformId != VER_PLATFORM_WIN32_NT || g_WinOsInfoEx.dwMajorVersion < 5);
    363363            else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette