Changeset 48351 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 6, 2013 11:43:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/win/dllmain.cpp
r48350 r48351 223 223 char szProgId[64]; 224 224 cbValue = sizeof(szProgId) - 1; 225 rc = RegQueryValueExA(hkey ClsId, NULL, NULL, NULL, (PBYTE)&szProgId[0], &cbValue);225 rc = RegQueryValueExA(hkeyIfProgId, NULL, NULL, NULL, (PBYTE)&szProgId[0], &cbValue); 226 226 if (rc != ERROR_SUCCESS) 227 227 cbValue = 0; 228 228 szProgId[cbValue] = '\0'; 229 RegCloseKey(hkey ClsId);229 RegCloseKey(hkeyIfProgId); 230 230 if (strnicmp(szProgId, RT_STR_TUPLE("VirtualBox."))) 231 231 continue; … … 240 240 } 241 241 242 RegCloseKey(hkeyCl assesRoot);242 RegCloseKey(hkeyClsId); 243 243 } 244 244 }
Note:
See TracChangeset
for help on using the changeset viewer.