- Timestamp:
- Apr 18, 2013 10:09:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r45622 r45624 2059 2059 *aVal = FALSE; 2060 2060 2061 ComPtr<IGuestOSType> guestOSType;2062 HRESULT hrc2 = mParent->GetGuestOSType(Bstr(mUserData->s.strOsType).raw(), guestOSType.asOutParam());2061 ComPtr<IGuestOSType> ptrGuestOSType; 2062 HRESULT hrc2 = mParent->GetGuestOSType(Bstr(mUserData->s.strOsType).raw(), ptrGuestOSType.asOutParam()); 2063 2063 if (SUCCEEDED(hrc2)) 2064 2064 { 2065 2065 BOOL fIs64Bit = FALSE; 2066 hrc2 = p GuestOSType->COMGETTER(Is64Bit)(&fIs64Bit); AssertComRC(hrc);2066 hrc2 = ptrGuestOSType->COMGETTER(Is64Bit)(&fIs64Bit); AssertComRC(hrc2); 2067 2067 if (SUCCEEDED(hrc2) && fIs64Bit) 2068 2068 { 2069 2069 ComObjPtr<Host> ptrHost = mParent->host(); 2070 2070 alock.release(); 2071 hrc2 = ptrHost->GetProcessorFeature(ProcessorFeature_LongMode, aVal) 2072 AssertComRC(hrc);2073 if (FAIL URE(hrc2))2071 2072 hrc2 = ptrHost->GetProcessorFeature(ProcessorFeature_LongMode, aVal); AssertComRC(hrc2); 2073 if (FAILED(hrc2)) 2074 2074 *aVal = FALSE; 2075 2075 } 2076 } 2076 2077 } 2077 2078 #endif
Note:
See TracChangeset
for help on using the changeset viewer.