VirtualBox

Changeset 76090 in vbox


Ignore:
Timestamp:
Dec 9, 2018 10:56:21 PM (6 years ago)
Author:
vboxsync
Message:

IPRT: Corrected RTSystemGetNtVersion return value type, must be 64-bit.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/system.h

    r76073 r76090  
    279279 * @remarks Windows NT only.  Requires IPRT to be initialized.
    280280 */
    281 RTDECL(uint32_t) RTSystemGetNtVersion(void);
     281RTDECL(uint64_t) RTSystemGetNtVersion(void);
    282282
    283283#endif /* RT_OS_WINDOWS */
  • trunk/src/VBox/Runtime/r3/win/RTSystemQueryOSInfo-win.cpp

    r76073 r76090  
    348348
    349349
    350 RTDECL(uint32_t) RTSystemGetNtVersion(void)
     350RTDECL(uint64_t) RTSystemGetNtVersion(void)
    351351{
    352352    return RTSYSTEM_MAKE_NT_VERSION(g_WinOsInfoEx.dwMajorVersion, g_WinOsInfoEx.dwMinorVersion, g_WinOsInfoEx.dwBuildNumber);
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