Lines Matching defs:pProcess
1100 LogFlowFunc(("pProcess=%p, cRefs=%RU32\n", &itProc->second, cRefs - 1));
1103 ComObjPtr<GuestProcess> pProcess(itProc->second);
1104 Assert(!pProcess.isNull());
1111 rc = pProcess->i_callbackDispatcher(pCtxCb, pSvcCb);
1780 int GuestSession::i_processRemoveFromList(GuestProcess *pProcess)
1782 AssertPtrReturn(pProcess, VERR_INVALID_POINTER);
1784 LogFlowThisFunc(("pProcess=%p\n", pProcess));
1791 HRESULT hr = pProcess->COMGETTER(PID)(&uPID);
1799 if (pProcess == itProcs->second)
1802 ULONG cRefs = pProcess->AddRef();
1804 LogFlowFunc(("pProcess=%p, cRefs=%RU32\n", pProcess, cRefs - 1));
1805 pProcess->Release();
1809 ComObjPtr<GuestProcess> pProc = pProcess;
1817 pProcess->getObjectID(), mData.mSession.mID, uPID, mData.mProcesses.size() - 1, mData.mNumObjects - 1));
1819 rc = pProcess->i_onRemove();
1844 * @param pProcess
1846 int GuestSession::i_processCreateExInteral(GuestProcessStartupInfo &procInfo, ComObjPtr<GuestProcess> &pProcess)
1907 if (!i_processExists(uNewProcessID, NULL /* pProcess */))
1927 HRESULT hr = pProcess.createObject();
1931 rc = pProcess->init(mParent->i_getConsole() /* Console */, this /* Session */,
1939 mData.mProcesses[uNewProcessID] = pProcess;
1948 fireGuestProcessRegisteredEvent(mEventSource, this /* Session */, pProcess,
1959 inline bool GuestSession::i_processExists(uint32_t uProcessID, ComObjPtr<GuestProcess> *pProcess)
1964 if (pProcess)
1965 *pProcess = it->second;
1971 inline int GuestSession::i_processGetByPID(ULONG uPID, ComObjPtr<GuestProcess> *pProcess)
1974 /* pProcess is optional. */
1990 if (pProcess)
1991 *pProcess = pCurProc;
3381 ComObjPtr<GuestProcess> pProcess;
3382 rc = i_processCreateExInteral(procInfo, pProcess);
3386 HRESULT hr2 = pProcess.queryInterfaceTo(aGuestProcess.asOutParam());
3391 rc = pProcess->i_startProcessAsync();
3432 ComObjPtr<GuestProcess> pProcess;
3433 int rc = i_processGetByPID(aPid, &pProcess);
3438 HRESULT hr2 = pProcess.queryInterfaceTo(aGuestProcess.asOutParam());