VirtualBox

Changeset 95795 in vbox


Ignore:
Timestamp:
Jul 25, 2022 11:22:55 AM (2 years ago)
Author:
vboxsync
Message:

Vbgl/VbglR3GetAdditionsInstallationPath: Use MAX_PATH from windows.h rather than _MAX_PATH from the CRT. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibAdditions.cpp

    r93115 r95795  
    313313    if (RT_SUCCESS(rc))
    314314    {
    315         rc = vbglR3QueryRegistryString(hKey, L"InstallDir", _MAX_PATH * sizeof(RTUTF16), ppszPath);
     315        rc = vbglR3QueryRegistryString(hKey, L"InstallDir", MAX_PATH * sizeof(RTUTF16), ppszPath);
    316316        if (RT_SUCCESS(rc))
    317317            RTPathChangeToUnixSlashes(*ppszPath, true /*fForce*/);
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