VirtualBox

Changeset 23843 in vbox


Ignore:
Timestamp:
Oct 19, 2009 7:37:36 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53603
Message:

VBoxGuestR3LibMisc: warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp

    r23839 r23843  
    204204    /* Check the new path first. */
    205205    r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Sun\\VirtualBox Guest Additions", 0, KEY_READ, &hKey);
    206 #ifdef RT_ARCH_AMD64
     206# ifdef RT_ARCH_AMD64
    207207    if (r != ERROR_SUCCESS)
    208208    {
     
    210210        r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Wow6432Node\\Sun\\VirtualBox Guest Additions", 0, KEY_READ, &hKey);
    211211    }
    212 #endif
     212# endif
    213213
    214214    /* Still no luck? Then try the old xVM paths ... */
     
    216216    {
    217217        r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Sun\\xVM VirtualBox Guest Additions", 0, KEY_READ, &hKey);
    218 #ifdef RT_ARCH_AMD64
     218# ifdef RT_ARCH_AMD64
    219219        if (r != ERROR_SUCCESS)
    220220        {
     
    222222            r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Wow6432Node\\Sun\\xVM VirtualBox Guest Additions", 0, KEY_READ, &hKey);
    223223        }
    224 #endif
     224# endif
    225225    }
    226226
     
    251251        RegCloseKey(hKey);
    252252#else
     253    rc = VERR_NOT_IMPLEMENTED;
    253254#endif /* RT_OS_WINDOWS */
    254255    return rc;
Note: See TracChangeset for help on using the changeset viewer.

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