Lines Matching refs:HRESULT

121     HRESULT FinalConstruct();
125 HRESULT init(IMachine *aMachine, IInternalMachineControl *aControl, LockType_T aLockType);
156 HRESULT i_updateMachineState(MachineState_T aMachineState);
157 HRESULT i_getNominalState(MachineState_T &aNominalState);
160 HRESULT i_onNetworkAdapterChange(INetworkAdapter *aNetworkAdapter, BOOL changeAdapter);
161 HRESULT i_onSerialPortChange(ISerialPort *aSerialPort);
162 HRESULT i_onParallelPortChange(IParallelPort *aParallelPort);
163 HRESULT i_onStorageControllerChange();
164 HRESULT i_onMediumChange(IMediumAttachment *aMediumAttachment, BOOL aForce);
165 HRESULT i_onCPUChange(ULONG aCPU, BOOL aRemove);
166 HRESULT i_onCPUExecutionCapChange(ULONG aExecutionCap);
167 HRESULT i_onClipboardModeChange(ClipboardMode_T aClipboardMode);
168 HRESULT i_onDnDModeChange(DnDMode_T aDnDMode);
169 HRESULT i_onVRDEServerChange(BOOL aRestart);
170 HRESULT i_onVideoCaptureChange();
171 HRESULT i_onUSBControllerChange();
172 HRESULT i_onSharedFolderChange(BOOL aGlobal);
173 HRESULT i_onUSBDeviceAttach(IUSBDevice *aDevice, IVirtualBoxErrorInfo *aError, ULONG aMaskedIfs,
175 HRESULT i_onUSBDeviceDetach(IN_BSTR aId, IVirtualBoxErrorInfo *aError);
176 HRESULT i_onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup);
177 HRESULT i_onStorageDeviceChange(IMediumAttachment *aMediumAttachment, BOOL aRemove, BOOL aSilent);
178 HRESULT i_onExtraDataChange(IN_BSTR aMachineId, IN_BSTR aKey, IN_BSTR aVal);
180 HRESULT i_getGuestProperty(const Utf8Str &aName, Utf8Str *aValue, LONG64 *aTimestamp, Utf8Str *aFlags);
181 HRESULT i_setGuestProperty(const Utf8Str &aName, const Utf8Str &aValue, const Utf8Str &aFlags);
182 HRESULT i_deleteGuestProperty(const Utf8Str &aName);
183 HRESULT i_enumerateGuestProperties(const Utf8Str &aPatterns,
188 HRESULT i_onlineMergeMedium(IMediumAttachment *aMediumAttachment,
191 HRESULT i_reconfigureMediumAttachments(const std::vector<ComPtr<IMediumAttachment> > &aAttachments);
233 HRESULT i_pause(Reason_T aReason);
234 HRESULT i_resume(Reason_T aReason, AutoWriteLock &alock);
235 HRESULT i_saveState(Reason_T aReason, const ComPtr<IProgress> &aProgress, const Utf8Str &aStateFilePath, bool fPauseVM, bool &fLeftPaused);
236 HRESULT i_cancelSaveState();
254 HRESULT i_onShowWindow(BOOL aCheck, BOOL *aCanShow, LONG64 *aWinId);
256 HRESULT i_sendACPIMonitorHotPlugEvent();
260 static HRESULT i_setErrorStatic(HRESULT aResultCode, const char *pcsz, ...);
261 HRESULT i_setInvalidMachineStateError();
264 static HRESULT i_convertBusPortDeviceToLun(StorageBus_T enmBus, LONG port, LONG device, unsigned &uLun);
266 HRESULT i_onNATRedirectRuleChange(ULONG ulInstance, BOOL aNatRuleRemove,
268 HRESULT i_onNATDnsChanged();
290 HRESULT i_setDiskEncryptionKeys(const Utf8Str &strCfg);
295 HRESULT getMachine(ComPtr<IMachine> &aMachine);
296 HRESULT getState(MachineState_T *aState);
297 HRESULT getGuest(ComPtr<IGuest> &aGuest);
298 HRESULT getKeyboard(ComPtr<IKeyboard> &aKeyboard);
299 HRESULT getMouse(ComPtr<IMouse> &aMouse);
300 HRESULT getDisplay(ComPtr<IDisplay> &aDisplay);
301 HRESULT getDebugger(ComPtr<IMachineDebugger> &aDebugger);
302 HRESULT getUSBDevices(std::vector<ComPtr<IUSBDevice> > &aUSBDevices);
303 HRESULT getRemoteUSBDevices(std::vector<ComPtr<IHostUSBDevice> > &aRemoteUSBDevices);
304 HRESULT getSharedFolders(std::vector<ComPtr<ISharedFolder> > &aSharedFolders);
305 HRESULT getVRDEServerInfo(ComPtr<IVRDEServerInfo> &aVRDEServerInfo);
306 HRESULT getEventSource(ComPtr<IEventSource> &aEventSource);
307 HRESULT getAttachedPCIDevices(std::vector<ComPtr<IPCIDeviceAttachment> > &aAttachedPCIDevices);
308 HRESULT getUseHostClipboard(BOOL *aUseHostClipboard);
309 HRESULT setUseHostClipboard(BOOL aUseHostClipboard);
310 HRESULT getEmulatedUSB(ComPtr<IEmulatedUSB> &aEmulatedUSB);
313 HRESULT powerUp(ComPtr<IProgress> &aProgress);
314 HRESULT powerUpPaused(ComPtr<IProgress> &aProgress);
315 HRESULT powerDown(ComPtr<IProgress> &aProgress);
316 HRESULT reset();
317 HRESULT pause();
318 HRESULT resume();
319 HRESULT powerButton();
320 HRESULT sleepButton();
321 HRESULT getPowerButtonHandled(BOOL *aHandled);
322 HRESULT getGuestEnteredACPIMode(BOOL *aEntered);
323 HRESULT getDeviceActivity(const std::vector<DeviceType_T> &aType,
325 HRESULT attachUSBDevice(const com::Guid &aId, const com::Utf8Str &aCaptureFilename);
326 HRESULT detachUSBDevice(const com::Guid &aId,
328 HRESULT findUSBDeviceByAddress(const com::Utf8Str &aName,
330 HRESULT findUSBDeviceById(const com::Guid &aId,
332 HRESULT createSharedFolder(const com::Utf8Str &aName,
336 HRESULT removeSharedFolder(const com::Utf8Str &aName);
337 HRESULT teleport(const com::Utf8Str &aHostname,
342 HRESULT addDiskEncryptionPassword(const com::Utf8Str &aId, const com::Utf8Str &aPassword,
344 HRESULT addDiskEncryptionPasswords(const std::vector<com::Utf8Str> &aIds, const std::vector<com::Utf8Str> &aPasswords,
346 HRESULT removeDiskEncryptionPassword(const com::Utf8Str &aId);
347 HRESULT clearAllDiskEncryptionPasswords();
382 HRESULT rc() const { return mRC; }
396 HRESULT mRC; /* Whether the caller was added. */
475 HRESULT rc() const { return Base::isOk()? mRC: Base::rc(); }
489 HRESULT mRC; /* Whether the VM ptr was retained. */
583 HRESULT i_addVMCaller(bool aQuiet = false, bool aAllowNullVM = false);
585 HRESULT i_safeVMPtrRetainer(PUVM *a_ppUVM, bool aQuiet);
588 HRESULT i_consoleInitReleaseLog(const ComPtr<IMachine> aMachine);
590 HRESULT i_powerUp(IProgress **aProgress, bool aPaused);
591 HRESULT i_powerDown(IProgress *aProgress = NULL);
595 HRESULT i_attachToTapInterface(INetworkAdapter *networkAdapter);
596 HRESULT i_detachFromTapInterface(INetworkAdapter *networkAdapter);
598 HRESULT i_powerDownHostInterfaces();
600 HRESULT i_setMachineState(MachineState_T aMachineState, bool aUpdateServer = true);
601 HRESULT i_setMachineStateLocally(MachineState_T aMachineState)
606 HRESULT i_findSharedFolder(const Utf8Str &strName,
610 HRESULT i_fetchSharedFolders(BOOL aGlobal);
614 HRESULT i_createSharedFolder(const Utf8Str &strName, const SharedFolderData &aData);
615 HRESULT i_removeSharedFolder(const Utf8Str &strName);
617 HRESULT i_suspendBeforeConfigChange(PUVM pUVM, AutoWriteLock *pAlock, bool *pfResume);
641 HRESULT *phrc,
660 HRESULT *phrc);
674 HRESULT *phrc);
684 HRESULT i_attachRawPCIDevices(PUVM pUVM, BusAssignmentManager *BusMgr, PCFGMNODE pDevices);
700 HRESULT i_doMediumChange(IMediumAttachment *aMediumAttachment, bool fForce, PUVM pUVM);
701 HRESULT i_doCPURemove(ULONG aCpu, PUVM pUVM);
702 HRESULT i_doCPUAdd(ULONG aCpu, PUVM pUVM);
704 HRESULT i_doNetworkAdapterChange(PUVM pUVM, const char *pszDevice, unsigned uInstance,
714 HRESULT i_attachUSBDevice(IUSBDevice *aHostDevice, ULONG aMaskedIfs, const Utf8Str &aCaptureFilename);
715 HRESULT i_detachUSBDevice(const ComObjPtr<OUSBDevice> &aHostDevice);
738 HRESULT i_doStorageDeviceAttach(IMediumAttachment *aMediumAttachment, PUVM pUVM, bool fSilent);
739 HRESULT i_doStorageDeviceDetach(IMediumAttachment *aMediumAttachment, PUVM pUVM, bool fSilent);
750 HRESULT i_captureUSBDevices(PUVM pUVM);
785 HRESULT i_loadDataFromSavedState();
793 HRESULT i_doEnumerateGuestProperties(const Utf8Str &aPatterns,
815 HRESULT i_consoleParseDiskEncryption(const char *psz, const char **ppszEnd);
816 HRESULT i_configureEncryptionForDisk(const Utf8Str &strId, unsigned *pcDisksConfigured);
817 HRESULT i_clearDiskEncryptionKeysOnAllAttachmentsWithKeyId(const Utf8Str &strId);
818 HRESULT i_initSecretKeyIfOnAllAttachments(void);
827 HRESULT i_teleporterSrc(TeleporterStateSrc *pState);
828 HRESULT i_teleporterSrcReadACK(TeleporterStateSrc *pState, const char *pszWhich, const char *pszNAckMsg = NULL);
829 HRESULT i_teleporterSrcSubmitCommand(TeleporterStateSrc *pState, const char *pszCommand, bool fWaitForAck = true);
830 HRESULT i_teleporterTrg(PUVM pUVM, IMachine *pMachine, Utf8Str *pErrorMsg, bool fStartPaused,