Lines Matching refs:pMedium
139 * @param pMedium Pointer to a Medium object.
142 HRESULT MediumLockToken::init(const ComObjPtr<Medium> &pMedium, bool fWrite)
144 LogFlowThisFunc(("pMedium=%p\n", &pMedium));
146 ComAssertRet(!pMedium.isNull(), E_INVALIDARG);
152 m.pMedium = pMedium;
175 if (!m.pMedium.isNull())
179 HRESULT rc = m.pMedium->i_unlockWrite(NULL);
184 HRESULT rc = m.pMedium->i_unlockRead(NULL);
187 m.pMedium.setNull();