Lines Matching refs:HRESULT

350     HRESULT FinalConstruct();
356 HRESULT init(VirtualBox *aParent,
366 HRESULT initFromSettings(VirtualBox *aParent,
371 HRESULT init(VirtualBox *aParent,
383 HRESULT initImpl(VirtualBox *aParent,
385 HRESULT initDataAndChildObjects();
386 HRESULT i_registeredInit();
387 HRESULT i_tryCreateMachineConfigFile(bool fForceOverwrite);
514 virtual HRESULT i_onNetworkAdapterChange(INetworkAdapter * /* networkAdapter */, BOOL /* changeAdapter */) { return S_OK; }
515 virtual HRESULT i_onNATRedirectRuleChange(ULONG /* slot */, BOOL /* fRemove */ , IN_BSTR /* name */,
518 virtual HRESULT i_onSerialPortChange(ISerialPort * /* serialPort */) { return S_OK; }
519 virtual HRESULT i_onParallelPortChange(IParallelPort * /* parallelPort */) { return S_OK; }
520 virtual HRESULT i_onVRDEServerChange(BOOL /* aRestart */) { return S_OK; }
521 virtual HRESULT i_onUSBControllerChange() { return S_OK; }
522 virtual HRESULT i_onStorageControllerChange() { return S_OK; }
523 virtual HRESULT i_onCPUChange(ULONG /* aCPU */, BOOL /* aRemove */) { return S_OK; }
524 virtual HRESULT i_onCPUExecutionCapChange(ULONG /* aExecutionCap */) { return S_OK; }
525 virtual HRESULT i_onMediumChange(IMediumAttachment * /* mediumAttachment */, BOOL /* force */) { return S_OK; }
526 virtual HRESULT i_onSharedFolderChange() { return S_OK; }
527 virtual HRESULT i_onClipboardModeChange(ClipboardMode_T /* aClipboardMode */) { return S_OK; }
528 virtual HRESULT i_onDnDModeChange(DnDMode_T /* aDnDMode */) { return S_OK; }
529 virtual HRESULT i_onBandwidthGroupChange(IBandwidthGroup * /* aBandwidthGroup */) { return S_OK; }
530 virtual HRESULT i_onStorageDeviceChange(IMediumAttachment * /* mediumAttachment */, BOOL /* remove */,
532 virtual HRESULT i_onVideoCaptureChange() { return S_OK; }
534 HRESULT i_saveRegistryEntry(settings::MachineRegistryEntry &data);
549 HRESULT i_launchVMProcess(IInternalSessionControl *aControl,
554 HRESULT i_getDirectControl(ComPtr<IInternalSessionControl> *directControl)
556 HRESULT rc;
578 HRESULT i_prepareRegister();
580 HRESULT i_getSharedFolder(CBSTR aName,
588 HRESULT i_addStateDependency(StateDependency aDepType = AnyStateDep,
593 HRESULT i_getBandwidthGroup(const Utf8Str &strBandwidthGroup,
602 static HRESULT i_setErrorStatic(HRESULT aResultCode, const char *pcszMsg, ...);
608 HRESULT i_checkStateDependency(StateDependency aDepType);
614 virtual HRESULT i_setMachineState(MachineState_T aMachineState);
616 HRESULT i_findSharedFolder(const Utf8Str &aName,
620 HRESULT i_loadSettings(bool aRegistered);
621 HRESULT i_loadMachineDataFromSettings(const settings::MachineConfigFile &config,
623 HRESULT i_loadSnapshot(const settings::Snapshot &data,
626 HRESULT i_loadHardware(const settings::Hardware &data, const settings::Debugging *pDbg,
628 HRESULT i_loadDebugging(const settings::Debugging *pDbg);
629 HRESULT i_loadAutostart(const settings::Autostart *pAutostart);
630 HRESULT i_loadStorageControllers(const settings::Storage &data,
633 HRESULT i_loadStorageDevices(StorageController *aStorageController,
638 HRESULT i_findSnapshotById(const Guid &aId,
641 HRESULT i_findSnapshotByName(const Utf8Str &strName,
645 HRESULT i_getStorageControllerByName(const Utf8Str &aName,
649 HRESULT i_getMediumAttachmentsOfController(const Utf8Str &aName,
652 HRESULT i_getUSBControllerByName(const Utf8Str &aName,
670 HRESULT i_prepareSaveSettings(bool *pfNeedsGlobalSaveSettings);
671 HRESULT i_saveSettings(bool *pfNeedsGlobalSaveSettings, int aFlags = 0);
674 HRESULT i_saveAllSnapshots(settings::MachineConfigFile &config);
675 HRESULT i_saveHardware(settings::Hardware &data, settings::Debugging *pDbg,
677 HRESULT i_saveStorageControllers(settings::Storage &data);
678 HRESULT i_saveStorageDevices(ComObjPtr<StorageController> aStorageController,
680 HRESULT i_saveStateSettings(int aFlags);
684 HRESULT i_createImplicitDiffs(IProgress *aProgress,
687 HRESULT i_deleteImplicitDiffs(bool aOnline);
698 HRESULT i_detachDevice(MediumAttachment *pAttach,
702 HRESULT i_detachAllMedia(AutoWriteLock &writeLock,
720 HRESULT i_getGuestPropertyFromService(const com::Utf8Str &aName, com::Utf8Str &aValue,
722 HRESULT i_setGuestPropertyToService(const com::Utf8Str &aName, const com::Utf8Str &aValue,
724 HRESULT i_getGuestPropertyFromVM(const com::Utf8Str &aName, com::Utf8Str &aValue,
726 HRESULT i_setGuestPropertyToVM(const com::Utf8Str &aName, const com::Utf8Str &aValue,
728 HRESULT i_enumerateGuestPropertiesInService(const com::Utf8Str &aPatterns,
733 HRESULT i_enumerateGuestPropertiesOnVM(const com::Utf8Str &aPatterns,
798 HRESULT createThread()
809 HRESULT rc = Machine::i_setErrorStatic(E_FAIL, Machine::tr("Could not create thread \"%s\" (%Rrc)"), m_strTaskName.c_str(), vrc);
844 HRESULT getParent(ComPtr<IVirtualBox> &aParent);
845 HRESULT getIcon(std::vector<BYTE> &aIcon);
846 HRESULT setIcon(const std::vector<BYTE> &aIcon);
847 HRESULT getAccessible(BOOL *aAccessible);
848 HRESULT getAccessError(ComPtr<IVirtualBoxErrorInfo> &aAccessError);
849 HRESULT getName(com::Utf8Str &aName);
850 HRESULT setName(const com::Utf8Str &aName);
851 HRESULT getDescription(com::Utf8Str &aDescription);
852 HRESULT setDescription(const com::Utf8Str &aDescription);
853 HRESULT getId(com::Guid &aId);
854 HRESULT getGroups(std::vector<com::Utf8Str> &aGroups);
855 HRESULT setGroups(const std::vector<com::Utf8Str> &aGroups);
856 HRESULT getOSTypeId(com::Utf8Str &aOSTypeId);
857 HRESULT setOSTypeId(const com::Utf8Str &aOSTypeId);
858 HRESULT getHardwareVersion(com::Utf8Str &aHardwareVersion);
859 HRESULT setHardwareVersion(const com::Utf8Str &aHardwareVersion);
860 HRESULT getHardwareUUID(com::Guid &aHardwareUUID);
861 HRESULT setHardwareUUID(const com::Guid &aHardwareUUID);
862 HRESULT getCPUCount(ULONG *aCPUCount);
863 HRESULT setCPUCount(ULONG aCPUCount);
864 HRESULT getCPUHotPlugEnabled(BOOL *aCPUHotPlugEnabled);
865 HRESULT setCPUHotPlugEnabled(BOOL aCPUHotPlugEnabled);
866 HRESULT getCPUExecutionCap(ULONG *aCPUExecutionCap);
867 HRESULT setCPUExecutionCap(ULONG aCPUExecutionCap);
868 HRESULT getMemorySize(ULONG *aMemorySize);
869 HRESULT setMemorySize(ULONG aMemorySize);
870 HRESULT getMemoryBalloonSize(ULONG *aMemoryBalloonSize);
871 HRESULT setMemoryBalloonSize(ULONG aMemoryBalloonSize);
872 HRESULT getPageFusionEnabled(BOOL *aPageFusionEnabled);
873 HRESULT setPageFusionEnabled(BOOL aPageFusionEnabled);
874 HRESULT getGraphicsControllerType(GraphicsControllerType_T *aGraphicsControllerType);
875 HRESULT setGraphicsControllerType(GraphicsControllerType_T aGraphicsControllerType);
876 HRESULT getVRAMSize(ULONG *aVRAMSize);
877 HRESULT setVRAMSize(ULONG aVRAMSize);
878 HRESULT getAccelerate3DEnabled(BOOL *aAccelerate3DEnabled);
879 HRESULT setAccelerate3DEnabled(BOOL aAccelerate3DEnabled);
880 HRESULT getAccelerate2DVideoEnabled(BOOL *aAccelerate2DVideoEnabled);
881 HRESULT setAccelerate2DVideoEnabled(BOOL aAccelerate2DVideoEnabled);
882 HRESULT getMonitorCount(ULONG *aMonitorCount);
883 HRESULT setMonitorCount(ULONG aMonitorCount);
884 HRESULT getVideoCaptureEnabled(BOOL *aVideoCaptureEnabled);
885 HRESULT setVideoCaptureEnabled(BOOL aVideoCaptureEnabled);
886 HRESULT getVideoCaptureScreens(std::vector<BOOL> &aVideoCaptureScreens);
887 HRESULT setVideoCaptureScreens(const std::vector<BOOL> &aVideoCaptureScreens);
888 HRESULT getVideoCaptureFile(com::Utf8Str &aVideoCaptureFile);
889 HRESULT setVideoCaptureFile(const com::Utf8Str &aVideoCaptureFile);
890 HRESULT getVideoCaptureWidth(ULONG *aVideoCaptureWidth);
891 HRESULT setVideoCaptureWidth(ULONG aVideoCaptureWidth);
892 HRESULT getVideoCaptureHeight(ULONG *aVideoCaptureHeight);
893 HRESULT setVideoCaptureHeight(ULONG aVideoCaptureHeight);
894 HRESULT getVideoCaptureRate(ULONG *aVideoCaptureRate);
895 HRESULT setVideoCaptureRate(ULONG aVideoCaptureRate);
896 HRESULT getVideoCaptureFPS(ULONG *aVideoCaptureFPS);
897 HRESULT setVideoCaptureFPS(ULONG aVideoCaptureFPS);
898 HRESULT getVideoCaptureMaxTime(ULONG *aVideoCaptureMaxTime);
899 HRESULT setVideoCaptureMaxTime(ULONG aVideoCaptureMaxTime);
900 HRESULT getVideoCaptureMaxFileSize(ULONG *aVideoCaptureMaxFileSize);
901 HRESULT setVideoCaptureMaxFileSize(ULONG aVideoCaptureMaxFileSize);
902 HRESULT getVideoCaptureOptions(com::Utf8Str &aVideoCaptureOptions);
903 HRESULT setVideoCaptureOptions(const com::Utf8Str &aVideoCaptureOptions);
904 HRESULT getBIOSSettings(ComPtr<IBIOSSettings> &aBIOSSettings);
905 HRESULT getFirmwareType(FirmwareType_T *aFirmwareType);
906 HRESULT setFirmwareType(FirmwareType_T aFirmwareType);
907 HRESULT getPointingHIDType(PointingHIDType_T *aPointingHIDType);
908 HRESULT setPointingHIDType(PointingHIDType_T aPointingHIDType);
909 HRESULT getKeyboardHIDType(KeyboardHIDType_T *aKeyboardHIDType);
910 HRESULT setKeyboardHIDType(KeyboardHIDType_T aKeyboardHIDType);
911 HRESULT getHPETEnabled(BOOL *aHPETEnabled);
912 HRESULT setHPETEnabled(BOOL aHPETEnabled);
913 HRESULT getChipsetType(ChipsetType_T *aChipsetType);
914 HRESULT setChipsetType(ChipsetType_T aChipsetType);
915 HRESULT getSnapshotFolder(com::Utf8Str &aSnapshotFolder);
916 HRESULT setSnapshotFolder(const com::Utf8Str &aSnapshotFolder);
917 HRESULT getVRDEServer(ComPtr<IVRDEServer> &aVRDEServer);
918 HRESULT getEmulatedUSBCardReaderEnabled(BOOL *aEmulatedUSBCardReaderEnabled);
919 HRESULT setEmulatedUSBCardReaderEnabled(BOOL aEmulatedUSBCardReaderEnabled);
920 HRESULT getMediumAttachments(std::vector<ComPtr<IMediumAttachment> > &aMediumAttachments);
921 HRESULT getUSBControllers(std::vector<ComPtr<IUSBController> > &aUSBControllers);
922 HRESULT getUSBDeviceFilters(ComPtr<IUSBDeviceFilters> &aUSBDeviceFilters);
923 HRESULT getAudioAdapter(ComPtr<IAudioAdapter> &aAudioAdapter);
924 HRESULT getStorageControllers(std::vector<ComPtr<IStorageController> > &aStorageControllers);
925 HRESULT getSettingsFilePath(com::Utf8Str &aSettingsFilePath);
926 HRESULT getSettingsModified(BOOL *aSettingsModified);
927 HRESULT getSessionState(SessionState_T *aSessionState);
928 HRESULT getSessionType(com::Utf8Str &aSessionType);
929 HRESULT getSessionPID(ULONG *aSessionPID);
930 HRESULT getState(MachineState_T *aState);
931 HRESULT getLastStateChange(LONG64 *aLastStateChange);
932 HRESULT getStateFilePath(com::Utf8Str &aStateFilePath);
933 HRESULT getLogFolder(com::Utf8Str &aLogFolder);
934 HRESULT getCurrentSnapshot(ComPtr<ISnapshot> &aCurrentSnapshot);
935 HRESULT getSnapshotCount(ULONG *aSnapshotCount);
936 HRESULT getCurrentStateModified(BOOL *aCurrentStateModified);
937 HRESULT getSharedFolders(std::vector<ComPtr<ISharedFolder> > &aSharedFolders);
938 HRESULT getClipboardMode(ClipboardMode_T *aClipboardMode);
939 HRESULT setClipboardMode(ClipboardMode_T aClipboardMode);
940 HRESULT getDnDMode(DnDMode_T *aDnDMode);
941 HRESULT setDnDMode(DnDMode_T aDnDMode);
942 HRESULT getGuestPropertyNotificationPatterns(com::Utf8Str &aGuestPropertyNotificationPatterns);
943 HRESULT setGuestPropertyNotificationPatterns(const com::Utf8Str &aGuestPropertyNotificationPatterns);
944 HRESULT getTeleporterEnabled(BOOL *aTeleporterEnabled);
945 HRESULT setTeleporterEnabled(BOOL aTeleporterEnabled);
946 HRESULT getTeleporterPort(ULONG *aTeleporterPort);
947 HRESULT setTeleporterPort(ULONG aTeleporterPort);
948 HRESULT getTeleporterAddress(com::Utf8Str &aTeleporterAddress);
949 HRESULT setTeleporterAddress(const com::Utf8Str &aTeleporterAddress);
950 HRESULT getTeleporterPassword(com::Utf8Str &aTeleporterPassword);
951 HRESULT setTeleporterPassword(const com::Utf8Str &aTeleporterPassword);
952 HRESULT getParavirtProvider(ParavirtProvider_T *aParavirtProvider);
953 HRESULT setParavirtProvider(ParavirtProvider_T aParavirtProvider);
954 HRESULT getFaultToleranceState(FaultToleranceState_T *aFaultToleranceState);
955 HRESULT setFaultToleranceState(FaultToleranceState_T aFaultToleranceState);
956 HRESULT getFaultTolerancePort(ULONG *aFaultTolerancePort);
957 HRESULT setFaultTolerancePort(ULONG aFaultTolerancePort);
958 HRESULT getFaultToleranceAddress(com::Utf8Str &aFaultToleranceAddress);
959 HRESULT setFaultToleranceAddress(const com::Utf8Str &aFaultToleranceAddress);
960 HRESULT getFaultTolerancePassword(com::Utf8Str &aFaultTolerancePassword);
961 HRESULT setFaultTolerancePassword(const com::Utf8Str &aFaultTolerancePassword);
962 HRESULT getFaultToleranceSyncInterval(ULONG *aFaultToleranceSyncInterval);
963 HRESULT setFaultToleranceSyncInterval(ULONG aFaultToleranceSyncInterval);
964 HRESULT getRTCUseUTC(BOOL *aRTCUseUTC);
965 HRESULT setRTCUseUTC(BOOL aRTCUseUTC);
966 HRESULT getIOCacheEnabled(BOOL *aIOCacheEnabled);
967 HRESULT setIOCacheEnabled(BOOL aIOCacheEnabled);
968 HRESULT getIOCacheSize(ULONG *aIOCacheSize);
969 HRESULT setIOCacheSize(ULONG aIOCacheSize);
970 HRESULT getPCIDeviceAssignments(std::vector<ComPtr<IPCIDeviceAttachment> > &aPCIDeviceAssignments);
971 HRESULT getBandwidthControl(ComPtr<IBandwidthControl> &aBandwidthControl);
972 HRESULT getTracingEnabled(BOOL *aTracingEnabled);
973 HRESULT setTracingEnabled(BOOL aTracingEnabled);
974 HRESULT getTracingConfig(com::Utf8Str &aTracingConfig);
975 HRESULT setTracingConfig(const com::Utf8Str &aTracingConfig);
976 HRESULT getAllowTracingToAccessVM(BOOL *aAllowTracingToAccessVM);
977 HRESULT setAllowTracingToAccessVM(BOOL aAllowTracingToAccessVM);
978 HRESULT getAutostartEnabled(BOOL *aAutostartEnabled);
979 HRESULT setAutostartEnabled(BOOL aAutostartEnabled);
980 HRESULT getAutostartDelay(ULONG *aAutostartDelay);
981 HRESULT setAutostartDelay(ULONG aAutostartDelay);
982 HRESULT getAutostopType(AutostopType_T *aAutostopType);
983 HRESULT setAutostopType(AutostopType_T aAutostopType);
984 HRESULT getDefaultFrontend(com::Utf8Str &aDefaultFrontend);
985 HRESULT setDefaultFrontend(const com::Utf8Str &aDefaultFrontend);
986 HRESULT getUSBProxyAvailable(BOOL *aUSBProxyAvailable);
989 HRESULT lockMachine(const ComPtr<ISession> &aSession,
991 HRESULT launchVMProcess(const ComPtr<ISession> &aSession,
995 HRESULT setBootOrder(ULONG aPosition,
997 HRESULT getBootOrder(ULONG aPosition,
999 HRESULT attachDevice(const com::Utf8Str &aName,
1004 HRESULT attachDeviceWithoutMedium(const com::Utf8Str &aName,
1008 HRESULT detachDevice(const com::Utf8Str &aName,
1011 HRESULT passthroughDevice(const com::Utf8Str &aName,
1015 HRESULT temporaryEjectDevice(const com::Utf8Str &aName,
1019 HRESULT nonRotationalDevice(const com::Utf8Str &aName,
1023 HRESULT setAutoDiscardForDevice(const com::Utf8Str &aName,
1027 HRESULT setHotPluggableForDevice(const com::Utf8Str &aName,
1031 HRESULT setBandwidthGroupForDevice(const com::Utf8Str &aName,
1035 HRESULT setNoBandwidthGroupForDevice(const com::Utf8Str &aName,
1038 HRESULT unmountMedium(const com::Utf8Str &aName,
1042 HRESULT mountMedium(const com::Utf8Str &aName,
1047 HRESULT getMedium(const com::Utf8Str &aName,
1051 HRESULT getMediumAttachmentsOfController(const com::Utf8Str &aName,
1053 HRESULT getMediumAttachment(const com::Utf8Str &aName,
1057 HRESULT attachHostPCIDevice(LONG aHostAddress,
1060 HRESULT detachHostPCIDevice(LONG aHostAddress);
1061 HRESULT getNetworkAdapter(ULONG aSlot,
1063 HRESULT addStorageController(const com::Utf8Str &aName,
1066 HRESULT getStorageControllerByName(const com::Utf8Str &aName,
1068 HRESULT getStorageControllerByInstance(ULONG aInstance,
1070 HRESULT removeStorageController(const com::Utf8Str &aName);
1071 HRESULT setStorageControllerBootable(const com::Utf8Str &aName,
1073 HRESULT addUSBController(const com::Utf8Str &aName,
1076 HRESULT removeUSBController(const com::Utf8Str &aName);
1077 HRESULT getUSBControllerByName(const com::Utf8Str &aName,
1079 HRESULT getUSBControllerCountByType(USBControllerType_T aType,
1081 HRESULT getSerialPort(ULONG aSlot,
1083 HRESULT getParallelPort(ULONG aSlot,
1085 HRESULT getExtraDataKeys(std::vector<com::Utf8Str> &aKeys);
1086 HRESULT getExtraData(const com::Utf8Str &aKey,
1088 HRESULT setExtraData(const com::Utf8Str &aKey,
1090 HRESULT getCPUProperty(CPUPropertyType_T aProperty,
1092 HRESULT setCPUProperty(CPUPropertyType_T aProperty,
1094 HRESULT getCPUIDLeaf(ULONG aId,
1099 HRESULT setCPUIDLeaf(ULONG aId,
1104 HRESULT removeCPUIDLeaf(ULONG aId);
1105 HRESULT removeAllCPUIDLeaves();
1106 HRESULT getHWVirtExProperty(HWVirtExPropertyType_T aProperty,
1108 HRESULT setHWVirtExProperty(HWVirtExPropertyType_T aProperty,
1110 HRESULT setSettingsFilePath(const com::Utf8Str &aSettingsFilePath,
1112 HRESULT saveSettings();
1113 HRESULT discardSettings();
1114 HRESULT unregister(CleanupMode_T aCleanupMode,
1116 HRESULT deleteConfig(const std::vector<ComPtr<IMedium> > &aMedia,
1118 HRESULT exportTo(const ComPtr<IAppliance> &aAppliance,
1121 HRESULT findSnapshot(const com::Utf8Str &aNameOrId,
1123 HRESULT createSharedFolder(const com::Utf8Str &aName,
1127 HRESULT removeSharedFolder(const com::Utf8Str &aName);
1128 HRESULT canShowConsoleWindow(BOOL *aCanShow);
1129 HRESULT showConsoleWindow(LONG64 *aWinId);
1130 HRESULT getGuestProperty(const com::Utf8Str &aName,
1134 HRESULT getGuestPropertyValue(const com::Utf8Str &aProperty,
1136 HRESULT getGuestPropertyTimestamp(const com::Utf8Str &aProperty,
1138 HRESULT setGuestProperty(const com::Utf8Str &aProperty,
1141 HRESULT setGuestPropertyValue(const com::Utf8Str &aProperty,
1143 HRESULT deleteGuestProperty(const com::Utf8Str &aName);
1144 HRESULT enumerateGuestProperties(const com::Utf8Str &aPatterns,
1149 HRESULT querySavedGuestScreenInfo(ULONG aScreenId,
1155 HRESULT querySavedThumbnailSize(ULONG aScreenId,
1159 HRESULT readSavedThumbnailToArray(ULONG aScreenId,
1164 HRESULT querySavedScreenshotPNGSize(ULONG aScreenId,
1168 HRESULT readSavedScreenshotPNGToArray(ULONG aScreenId,
1172 HRESULT hotPlugCPU(ULONG aCpu);
1173 HRESULT hotUnplugCPU(ULONG aCpu);
1174 HRESULT getCPUStatus(ULONG aCpu,
1176 HRESULT getEffectiveParavirtProvider(ParavirtProvider_T *aParavirtProvider);
1177 HRESULT queryLogFilename(ULONG aIdx,
1179 HRESULT readLog(ULONG aIdx,
1183 HRESULT cloneTo(const ComPtr<IMachine> &aTarget,
1187 HRESULT saveState(ComPtr<IProgress> &aProgress);
1188 HRESULT adoptSavedState(const com::Utf8Str &aSavedStateFile);
1189 HRESULT discardSavedState(BOOL aFRemoveFile);
1190 HRESULT takeSnapshot(const com::Utf8Str &aName,
1194 HRESULT deleteSnapshot(const com::Guid &aId,
1196 HRESULT deleteSnapshotAndAllChildren(const com::Guid &aId,
1198 HRESULT deleteSnapshotRange(const com::Guid &aStartId,
1201 HRESULT restoreSnapshot(const ComPtr<ISnapshot> &aSnapshot,
1207 HRESULT updateState(MachineState_T aState);
1208 HRESULT beginPowerUp(const ComPtr<IProgress> &aProgress);
1209 HRESULT endPowerUp(LONG aResult);
1210 HRESULT beginPoweringDown(ComPtr<IProgress> &aProgress);
1211 HRESULT endPoweringDown(LONG aResult,
1213 HRESULT runUSBDeviceFilters(const ComPtr<IUSBDevice> &aDevice,
1216 HRESULT captureUSBDevice(const com::Guid &aId,
1218 HRESULT detachUSBDevice(const com::Guid &aId,
1220 HRESULT autoCaptureUSBDevices();
1221 HRESULT detachAllUSBDevices(BOOL aDone);
1222 HRESULT onSessionEnd(const ComPtr<ISession> &aSession,
1224 HRESULT finishOnlineMergeMedium();
1225 HRESULT pullGuestProperties(std::vector<com::Utf8Str> &aNames,
1229 HRESULT pushGuestProperty(const com::Utf8Str &aName,
1233 HRESULT lockMedia();
1234 HRESULT unlockMedia();
1235 HRESULT ejectMedium(const ComPtr<IMediumAttachment> &aAttachment,
1237 HRESULT reportVmStatistics(ULONG aValidStats,
1283 HRESULT FinalConstruct();
1292 HRESULT init(Machine *aMachine);
1318 HRESULT i_onNetworkAdapterChange(INetworkAdapter *networkAdapter, BOOL changeAdapter);
1319 HRESULT i_onNATRedirectRuleChange(ULONG ulSlot, BOOL aNatRuleRemove, IN_BSTR aRuleName,
1322 HRESULT i_onStorageControllerChange();
1323 HRESULT i_onMediumChange(IMediumAttachment *aMediumAttachment, BOOL aForce);
1324 HRESULT i_onSerialPortChange(ISerialPort *serialPort);
1325 HRESULT i_onParallelPortChange(IParallelPort *parallelPort);
1326 HRESULT i_onCPUChange(ULONG aCPU, BOOL aRemove);
1327 HRESULT i_onVRDEServerChange(BOOL aRestart);
1328 HRESULT i_onVideoCaptureChange();
1329 HRESULT i_onUSBControllerChange();
1330 HRESULT i_onUSBDeviceAttach(IUSBDevice *aDevice,
1334 HRESULT i_onUSBDeviceDetach(IN_BSTR aId,
1336 HRESULT i_onSharedFolderChange();
1337 HRESULT i_onClipboardModeChange(ClipboardMode_T aClipboardMode);
1338 HRESULT i_onDnDModeChange(DnDMode_T aDnDMode);
1339 HRESULT i_onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup);
1340 HRESULT i_onStorageDeviceChange(IMediumAttachment *aMediumAttachment, BOOL aRemove, BOOL aSilent);
1341 HRESULT i_onCPUExecutionCapChange(ULONG aCpuExecutionCap);
1345 HRESULT i_lockMedia();
1346 HRESULT i_unlockMedia();
1348 HRESULT i_saveStateWithReason(Reason_T aReason, ComPtr<IProgress> &aProgress);
1355 HRESULT setRemoveSavedStateFile(BOOL aRemove);
1356 HRESULT updateState(MachineState_T aState);
1357 HRESULT beginPowerUp(const ComPtr<IProgress> &aProgress);
1358 HRESULT endPowerUp(LONG aResult);
1359 HRESULT beginPoweringDown(ComPtr<IProgress> &aProgress);
1360 HRESULT endPoweringDown(LONG aResult,
1362 HRESULT runUSBDeviceFilters(const ComPtr<IUSBDevice> &aDevice,
1365 HRESULT captureUSBDevice(const com::Guid &aId, const com::Utf8Str &aCaptureFilename);
1366 HRESULT detachUSBDevice(const com::Guid &aId,
1368 HRESULT autoCaptureUSBDevices();
1369 HRESULT detachAllUSBDevices(BOOL aDone);
1370 HRESULT onSessionEnd(const ComPtr<ISession> &aSession,
1372 HRESULT finishOnlineMergeMedium();
1373 HRESULT pullGuestProperties(std::vector<com::Utf8Str> &aNames,
1377 HRESULT pushGuestProperty(const com::Utf8Str &aName,
1381 HRESULT lockMedia();
1382 HRESULT unlockMedia();
1383 HRESULT ejectMedium(const ComPtr<IMediumAttachment> &aAttachment,
1385 HRESULT reportVmStatistics(ULONG aValidStats,
1431 HRESULT saveState(ComPtr<IProgress> &aProgress);
1432 HRESULT adoptSavedState(const com::Utf8Str &aSavedStateFile);
1433 HRESULT discardSavedState(BOOL aFRemoveFile);
1434 HRESULT takeSnapshot(const com::Utf8Str &aName,
1438 HRESULT deleteSnapshot(const com::Guid &aId,
1440 HRESULT deleteSnapshotAndAllChildren(const com::Guid &aId,
1442 HRESULT deleteSnapshotRange(const com::Guid &aStartId,
1445 HRESULT restoreSnapshot(const ComPtr<ISnapshot> &aSnapshot,
1452 HRESULT i_finishTakingSnapshot(TakeSnapshotTask &aTask, AutoWriteLock &alock, bool aSuccess);
1453 HRESULT i_deleteSnapshot(const com::Guid &aStartId,
1460 HRESULT i_prepareDeleteSnapshotMedium(const ComObjPtr<Medium> &aHD,
1481 HRESULT i_onlineMergeMedium(const ComObjPtr<MediumAttachment> &aMediumAttachment,
1491 HRESULT i_setMachineState(MachineState_T aMachineState);
1492 HRESULT i_updateMachineStateOnClient();
1531 HRESULT FinalConstruct();
1535 HRESULT init(SessionMachine *aSessionMachine,
1538 HRESULT initFromSettings(Machine *aMachine,
1557 HRESULT i_onSnapshotChange(Snapshot *aSnapshot);