Lines Matching refs:pMediumFound
3747 ComObjPtr<Medium> pMediumFound;
3751 rc = i_findHardDiskById(aId, false /* aSetError */, &pMediumFound);
3753 rc = i_findHardDiskByLocation(aLocation, false /* aSetError */, &pMediumFound);
3759 rc = i_findDVDOrFloppyImage(DeviceType_DVD, &aId, aLocation, false /* aSetError */, &pMediumFound);
3766 rc = i_findDVDOrFloppyImage(DeviceType_Floppy, &aId, aLocation, false /* aSetError */, &pMediumFound);
3771 if (pcszType && pMediumFound)
3774 AutoReadLock mlock(pMediumFound COMMA_LOCKVAL_SRC_POS);
3776 Utf8Str strLocFound = pMediumFound->i_getLocationFull();
3777 Guid idFound = pMediumFound->i_getId();
3782 *ppMedium = pMediumFound;
3813 ComObjPtr<Medium> pMediumFound;
3818 rc = i_findHardDiskById(aId, false /* aSetError */, &pMediumFound);
3821 rc = i_findDVDOrFloppyImage(DeviceType_DVD, &aId, Utf8Str::Empty, false /* aSetError */, &pMediumFound);
3824 rc = i_findDVDOrFloppyImage(DeviceType_Floppy, &aId, Utf8Str::Empty, false /* aSetError */, &pMediumFound);
3830 if (SUCCEEDED(rc) && pMediumFound)