Changeset 23843 in vbox
- Timestamp:
- Oct 19, 2009 7:37:36 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53603
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp
r23839 r23843 204 204 /* Check the new path first. */ 205 205 r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Sun\\VirtualBox Guest Additions", 0, KEY_READ, &hKey); 206 # ifdef RT_ARCH_AMD64206 # ifdef RT_ARCH_AMD64 207 207 if (r != ERROR_SUCCESS) 208 208 { … … 210 210 r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Wow6432Node\\Sun\\VirtualBox Guest Additions", 0, KEY_READ, &hKey); 211 211 } 212 # endif212 # endif 213 213 214 214 /* Still no luck? Then try the old xVM paths ... */ … … 216 216 { 217 217 r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Sun\\xVM VirtualBox Guest Additions", 0, KEY_READ, &hKey); 218 # ifdef RT_ARCH_AMD64218 # ifdef RT_ARCH_AMD64 219 219 if (r != ERROR_SUCCESS) 220 220 { … … 222 222 r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Wow6432Node\\Sun\\xVM VirtualBox Guest Additions", 0, KEY_READ, &hKey); 223 223 } 224 # endif224 # endif 225 225 } 226 226 … … 251 251 RegCloseKey(hKey); 252 252 #else 253 rc = VERR_NOT_IMPLEMENTED; 253 254 #endif /* RT_OS_WINDOWS */ 254 255 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.