Lines Matching refs:machine

91     ComPtr<IMachine> machine;
93 machine.asOutParam()));
94 if (machine)
97 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
99 /* get the mutable session machine */
100 a->session->COMGETTER(Machine)(machine.asOutParam());
105 CHECK_ERROR(machine, GetGuestProperty(Bstr(a->argv[1]).raw(),
152 ComPtr<IMachine> machine;
154 machine.asOutParam()));
155 if (machine)
158 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
160 /* get the mutable session machine */
161 a->session->COMGETTER(Machine)(machine.asOutParam());
164 CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName).raw(),
167 CHECK_ERROR(machine, SetGuestProperty(Bstr(pszName).raw(),
172 CHECK_ERROR(machine, SaveSettings());
196 ComPtr<IMachine> machine;
198 machine.asOutParam()));
199 if (machine)
202 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
204 /* get the mutable session machine */
205 a->session->COMGETTER(Machine)(machine.asOutParam());
207 CHECK_ERROR(machine, DeleteGuestProperty(Bstr(pszName).raw()));
210 CHECK_ERROR(machine, SaveSettings());
246 ComPtr<IMachine> machine;
249 machine.asOutParam()));
250 if (machine)
253 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
255 /* get the mutable session machine */
256 a->session->COMGETTER(Machine)(machine.asOutParam());
262 CHECK_ERROR(machine, EnumerateGuestProperties(Bstr(Utf8Patterns).raw(),
298 ComPtr<IMachine> machine;
301 machine.asOutParam()));
302 if (!machine)
327 machine->COMGETTER(Id)(aMachStrGuid.asOutParam());