Lines Matching defs:pMachine
164 * @param pMachine Reference to the VM (locked) we're operating on.
166 static RTEXITCODE handleSnapshotList(HandlerArg *pArgs, ComPtr<IMachine> &pMachine)
191 HRESULT hrc = pMachine->FindSnapshot(Bstr().raw(), pSnapshot.asOutParam());
200 CHECK_ERROR2_RET(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam()), RTEXITCODE_FAILURE);
213 * @param pMachine Machine to dump snapshots for.
215 void DumpSnapshot(ComPtr<IMachine> &pMachine)
223 CHECK_ERROR_BREAK(pMachine, FindSnapshot(Bstr("").raw(), pSnapshot.asOutParam()));
227 CHECK_ERROR_BREAK(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam()));
231 CHECK_ERROR_BREAK(pMachine, COMGETTER(MediumAttachments)(ComSafeArrayAsOutParam(aAttachments)));
277 ComPtr<IMachine> pMachine;
279 pMachine.asOutParam()));
280 if (!pMachine)
284 CHECK_ERROR_RET(pMachine, LockMachine(a->session, LockType_Shared), 1);