00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00130 const HRESULT VBOX_E_OBJECT_NOT_FOUND = 0x80BB0001;
00138 const HRESULT VBOX_E_INVALID_VM_STATE = 0x80BB0002;
00146 const HRESULT VBOX_E_VM_ERROR = 0x80BB0003;
00154 const HRESULT VBOX_E_FILE_ERROR = 0x80BB0004;
00162 const HRESULT VBOX_E_IPRT_ERROR = 0x80BB0005;
00170 const HRESULT VBOX_E_PDM_ERROR = 0x80BB0006;
00178 const HRESULT VBOX_E_INVALID_OBJECT_STATE = 0x80BB0007;
00186 const HRESULT VBOX_E_HOST_ERROR = 0x80BB0008;
00194 const HRESULT VBOX_E_NOT_SUPPORTED = 0x80BB0009;
00202 const HRESULT VBOX_E_XML_ERROR = 0x80BB000A;
00210 const HRESULT VBOX_E_INVALID_SESSION_STATE = 0x80BB000B;
00218 const HRESULT VBOX_E_OBJECT_IN_USE = 0x80BB000C;
00228 enum SettingsVersion
00229 {
00234 SettingsVersion_Null = 0,
00239 SettingsVersion_v1_0 = 1,
00244 SettingsVersion_v1_1 = 2,
00249 SettingsVersion_v1_2 = 3,
00254 SettingsVersion_v1_3pre = 4,
00259 SettingsVersion_v1_3 = 5,
00264 SettingsVersion_v1_4 = 6,
00269 SettingsVersion_v1_5 = 7,
00274 SettingsVersion_v1_6 = 8,
00279 SettingsVersion_v1_7 = 9,
00284 SettingsVersion_v1_8 = 10,
00289 SettingsVersion_v1_9 = 11,
00294 SettingsVersion_v1_10 = 12,
00299 SettingsVersion_v1_11 = 13,
00304 SettingsVersion_Future = 99999,
00305 };
00306
00314 enum AccessMode
00315 {
00316 AccessMode_ReadOnly = 1,
00317 AccessMode_ReadWrite = 2,
00318 };
00319
00437 enum MachineState
00438 {
00443 MachineState_Null = 0,
00451 MachineState_PoweredOff = 1,
00460 MachineState_Saved = 2,
00469 MachineState_Teleported = 3,
00478 MachineState_Aborted = 4,
00485 MachineState_Running = 5,
00492 MachineState_Paused = 6,
00500 MachineState_Stuck = 7,
00510 MachineState_Teleporting = 8,
00521 MachineState_LiveSnapshotting = 9,
00529 MachineState_Starting = 10,
00537 MachineState_Stopping = 11,
00545 MachineState_Saving = 12,
00553 MachineState_Restoring = 13,
00562 MachineState_TeleportingPausedVM = 14,
00569 MachineState_TeleportingIn = 15,
00576 MachineState_FaultTolerantSyncing = 16,
00584 MachineState_DeletingSnapshotOnline = 17,
00592 MachineState_DeletingSnapshotPaused = 18,
00599 MachineState_RestoringSnapshot = 19,
00608 MachineState_DeletingSnapshot = 20,
00615 MachineState_SettingUp = 21,
00622 MachineState_FirstOnline = 5,
00629 MachineState_LastOnline = 18,
00636 MachineState_FirstTransient = 8,
00643 MachineState_LastTransient = 21,
00644 };
00645
00655 enum SessionState
00656 {
00661 SessionState_Null = 0,
00672 SessionState_Unlocked = 1,
00686 SessionState_Locked = 2,
00696 SessionState_Spawning = 3,
00703 SessionState_Unlocking = 4,
00704 };
00705
00714 enum CPUPropertyType
00715 {
00720 CPUPropertyType_Null = 0,
00729 CPUPropertyType_PAE = 1,
00737 CPUPropertyType_Synthetic = 2,
00738 };
00739
00749 enum HWVirtExPropertyType
00750 {
00755 HWVirtExPropertyType_Null = 0,
00763 HWVirtExPropertyType_Enabled = 1,
00772 HWVirtExPropertyType_Exclusive = 2,
00779 HWVirtExPropertyType_VPID = 3,
00786 HWVirtExPropertyType_NestedPaging = 4,
00793 HWVirtExPropertyType_LargePages = 5,
00801 HWVirtExPropertyType_Force = 6,
00802 };
00803
00811 enum FaultToleranceState
00812 {
00817 FaultToleranceState_Inactive = 1,
00822 FaultToleranceState_Master = 2,
00827 FaultToleranceState_Standby = 3,
00828 };
00829
00837 enum LockType
00838 {
00843 LockType_Write = 2,
00848 LockType_Shared = 1,
00849 };
00850
00859 enum SessionType
00860 {
00865 SessionType_Null = 0,
00873 SessionType_WriteLock = 1,
00880 SessionType_Remote = 2,
00887 SessionType_Shared = 3,
00888 };
00889
00897 enum DeviceType
00898 {
00906 DeviceType_Null = 0,
00911 DeviceType_Floppy = 1,
00916 DeviceType_DVD = 2,
00921 DeviceType_HardDisk = 3,
00926 DeviceType_Network = 4,
00931 DeviceType_USB = 5,
00936 DeviceType_SharedFolder = 6,
00937 };
00938
00946 enum DeviceActivity
00947 {
00948 DeviceActivity_Null = 0,
00949 DeviceActivity_Idle = 1,
00950 DeviceActivity_Reading = 2,
00951 DeviceActivity_Writing = 3,
00952 };
00953
00961 enum ClipboardMode
00962 {
00963 ClipboardMode_Disabled = 0,
00964 ClipboardMode_HostToGuest = 1,
00965 ClipboardMode_GuestToHost = 2,
00966 ClipboardMode_Bidirectional = 3,
00967 };
00968
00979 enum Scope
00980 {
00981 Scope_Global = 0,
00982 Scope_Machine = 1,
00983 Scope_Session = 2,
00984 };
00985
00993 enum BIOSBootMenuMode
00994 {
00995 BIOSBootMenuMode_Disabled = 0,
00996 BIOSBootMenuMode_MenuOnly = 1,
00997 BIOSBootMenuMode_MessageAndMenu = 2,
00998 };
00999
01007 enum ProcessorFeature
01008 {
01009 ProcessorFeature_HWVirtEx = 0,
01010 ProcessorFeature_PAE = 1,
01011 ProcessorFeature_LongMode = 2,
01012 ProcessorFeature_NestedPaging = 3,
01013 };
01014
01022 enum FirmwareType
01023 {
01028 FirmwareType_BIOS = 1,
01033 FirmwareType_EFI = 2,
01038 FirmwareType_EFI32 = 3,
01043 FirmwareType_EFI64 = 4,
01048 FirmwareType_EFIDUAL = 5,
01049 };
01050
01058 enum PointingHidType
01059 {
01064 PointingHidType_None = 1,
01069 PointingHidType_PS2Mouse = 2,
01074 PointingHidType_USBMouse = 3,
01079 PointingHidType_USBTablet = 4,
01085 PointingHidType_ComboMouse = 5,
01086 };
01087
01095 enum KeyboardHidType
01096 {
01101 KeyboardHidType_None = 1,
01106 KeyboardHidType_PS2Keyboard = 2,
01111 KeyboardHidType_USBKeyboard = 3,
01117 KeyboardHidType_ComboKeyboard = 4,
01118 };
01119
01127 enum VFSType
01128 {
01129 VFSType_File = 1,
01130 VFSType_Cloud = 2,
01131 VFSType_S3 = 3,
01132 VFSType_WebDav = 4,
01133 };
01134
01142 enum VFSFileType
01143 {
01144 VFSFileType_Unknown = 1,
01145 VFSFileType_Fifo = 2,
01146 VFSFileType_DevChar = 3,
01147 VFSFileType_Directory = 4,
01148 VFSFileType_DevBlock = 5,
01149 VFSFileType_File = 6,
01150 VFSFileType_SymLink = 7,
01151 VFSFileType_Socket = 8,
01152 VFSFileType_WhiteOut = 9,
01153 };
01154
01161 enum VirtualSystemDescriptionType
01162 {
01163 VirtualSystemDescriptionType_Ignore = 1,
01164 VirtualSystemDescriptionType_OS = 2,
01165 VirtualSystemDescriptionType_Name = 3,
01166 VirtualSystemDescriptionType_Product = 4,
01167 VirtualSystemDescriptionType_Vendor = 5,
01168 VirtualSystemDescriptionType_Version = 6,
01169 VirtualSystemDescriptionType_ProductUrl = 7,
01170 VirtualSystemDescriptionType_VendorUrl = 8,
01171 VirtualSystemDescriptionType_Description = 9,
01172 VirtualSystemDescriptionType_License = 10,
01173 VirtualSystemDescriptionType_Miscellaneous = 11,
01174 VirtualSystemDescriptionType_CPU = 12,
01175 VirtualSystemDescriptionType_Memory = 13,
01176 VirtualSystemDescriptionType_HardDiskControllerIDE = 14,
01177 VirtualSystemDescriptionType_HardDiskControllerSATA = 15,
01178 VirtualSystemDescriptionType_HardDiskControllerSCSI = 16,
01179 VirtualSystemDescriptionType_HardDiskControllerSAS = 17,
01180 VirtualSystemDescriptionType_HardDiskImage = 18,
01181 VirtualSystemDescriptionType_Floppy = 19,
01182 VirtualSystemDescriptionType_CDROM = 20,
01183 VirtualSystemDescriptionType_NetworkAdapter = 21,
01184 VirtualSystemDescriptionType_USBController = 22,
01185 VirtualSystemDescriptionType_SoundCard = 23,
01186 };
01187
01194 enum VirtualSystemDescriptionValueType
01195 {
01196 VirtualSystemDescriptionValueType_Reference = 1,
01197 VirtualSystemDescriptionValueType_Original = 2,
01198 VirtualSystemDescriptionValueType_Auto = 3,
01199 VirtualSystemDescriptionValueType_ExtraConfig = 4,
01200 };
01201
01208 enum CleanupMode
01209 {
01214 CleanupMode_UnregisterOnly = 1,
01219 CleanupMode_DetachAllReturnNone = 2,
01224 CleanupMode_DetachAllReturnHardDisksOnly = 3,
01229 CleanupMode_Full = 4,
01230 };
01231
01242 enum HostNetworkInterfaceMediumType
01243 {
01250 HostNetworkInterfaceMediumType_Unknown = 0,
01257 HostNetworkInterfaceMediumType_Ethernet = 1,
01264 HostNetworkInterfaceMediumType_PPP = 2,
01271 HostNetworkInterfaceMediumType_SLIP = 3,
01272 };
01273
01283 enum HostNetworkInterfaceStatus
01284 {
01291 HostNetworkInterfaceStatus_Unknown = 0,
01298 HostNetworkInterfaceStatus_Up = 1,
01305 HostNetworkInterfaceStatus_Down = 2,
01306 };
01307
01315 enum HostNetworkInterfaceType
01316 {
01317 HostNetworkInterfaceType_Bridged = 1,
01318 HostNetworkInterfaceType_HostOnly = 2,
01319 };
01320
01328 enum AdditionsRunLevelType
01329 {
01334 AdditionsRunLevelType_None = 0,
01339 AdditionsRunLevelType_System = 1,
01344 AdditionsRunLevelType_Userland = 2,
01349 AdditionsRunLevelType_Desktop = 3,
01350 };
01351
01359 enum AdditionsUpdateFlag
01360 {
01365 AdditionsUpdateFlag_None = 0,
01371 AdditionsUpdateFlag_WaitForUpdateStartOnly = 1,
01372 };
01373
01381 enum ExecuteProcessFlag
01382 {
01387 ExecuteProcessFlag_None = 0,
01393 ExecuteProcessFlag_WaitForProcessStartOnly = 1,
01398 ExecuteProcessFlag_IgnoreOrphanedProcesses = 2,
01403 ExecuteProcessFlag_Hidden = 4,
01404 };
01405
01413 enum ProcessInputFlag
01414 {
01419 ProcessInputFlag_None = 0,
01424 ProcessInputFlag_EndOfFile = 1,
01425 };
01426
01435 enum CopyFileFlag
01436 {
01441 CopyFileFlag_None = 0,
01446 CopyFileFlag_Recursive = 1,
01451 CopyFileFlag_Update = 2,
01456 CopyFileFlag_FollowLinks = 4,
01457 };
01458
01466 enum CreateDirectoryFlag
01467 {
01472 CreateDirectoryFlag_None = 0,
01477 CreateDirectoryFlag_Parents = 1,
01478 };
01479
01489 enum MediumState
01490 {
01498 MediumState_NotCreated = 0,
01507 MediumState_Created = 1,
01515 MediumState_LockedRead = 2,
01523 MediumState_LockedWrite = 3,
01533 MediumState_Inaccessible = 4,
01540 MediumState_Creating = 5,
01547 MediumState_Deleting = 6,
01548 };
01549
01559 enum MediumType
01560 {
01568 MediumType_Normal = 0,
01576 MediumType_Immutable = 1,
01584 MediumType_Writethrough = 2,
01593 MediumType_Shareable = 3,
01602 MediumType_Readonly = 4,
01614 MediumType_MultiAttach = 5,
01615 };
01616
01626 enum MediumVariant
01627 {
01634 MediumVariant_Standard = 0,
01641 MediumVariant_VmdkSplit2G = 0x01,
01649 MediumVariant_VmdkStreamOptimized = 0x04,
01656 MediumVariant_VmdkESX = 0x08,
01663 MediumVariant_Fixed = 0x10000,
01670 MediumVariant_Diff = 0x20000,
01671 };
01672
01673 enum DataType
01674 {
01675 DataType_Int32 = 0,
01676 DataType_Int8 = 1,
01677 DataType_String = 2,
01678 };
01679
01680 enum DataFlags
01681 {
01682 DataFlags_None = 0x00,
01683 DataFlags_Mandatory = 0x01,
01684 DataFlags_Expert = 0x02,
01685 DataFlags_Array = 0x04,
01686 DataFlags_FlagMask = 0x07,
01687 };
01688
01696 enum MediumFormatCapabilities
01697 {
01704 MediumFormatCapabilities_Uuid = 0x01,
01711 MediumFormatCapabilities_CreateFixed = 0x02,
01719 MediumFormatCapabilities_CreateDynamic = 0x04,
01726 MediumFormatCapabilities_CreateSplit2G = 0x08,
01733 MediumFormatCapabilities_Differencing = 0x10,
01740 MediumFormatCapabilities_Asynchronous = 0x20,
01750 MediumFormatCapabilities_File = 0x40,
01759 MediumFormatCapabilities_Properties = 0x80,
01766 MediumFormatCapabilities_TcpNetworking = 0x100,
01773 MediumFormatCapabilities_VFS = 0x200,
01774 MediumFormatCapabilities_CapabilityMask = 0x3FF,
01775 };
01776
01784 enum MouseButtonState
01785 {
01786 MouseButtonState_LeftButton = 0x01,
01787 MouseButtonState_RightButton = 0x02,
01788 MouseButtonState_MiddleButton = 0x04,
01789 MouseButtonState_WheelUp = 0x08,
01790 MouseButtonState_WheelDown = 0x10,
01791 MouseButtonState_XButton1 = 0x20,
01792 MouseButtonState_XButton2 = 0x40,
01793 MouseButtonState_MouseStateMask = 0x7F,
01794 };
01795
01806 enum FramebufferPixelFormat
01807 {
01815 FramebufferPixelFormat_Opaque = 0,
01823 FramebufferPixelFormat_FOURCC_RGB = 0x32424752,
01824 };
01825
01833 enum NetworkAttachmentType
01834 {
01839 NetworkAttachmentType_Null = 0,
01840 NetworkAttachmentType_NAT = 1,
01841 NetworkAttachmentType_Bridged = 2,
01842 NetworkAttachmentType_Internal = 3,
01843 NetworkAttachmentType_HostOnly = 4,
01844 NetworkAttachmentType_VDE = 5,
01845 };
01846
01854 enum NetworkAdapterType
01855 {
01860 NetworkAdapterType_Null = 0,
01865 NetworkAdapterType_Am79C970A = 1,
01870 NetworkAdapterType_Am79C973 = 2,
01875 NetworkAdapterType_I82540EM = 3,
01880 NetworkAdapterType_I82543GC = 4,
01885 NetworkAdapterType_I82545EM = 5,
01890 NetworkAdapterType_Virtio = 6,
01891 };
01892
01901 enum PortMode
01902 {
01907 PortMode_Disconnected = 0,
01912 PortMode_HostPipe = 1,
01917 PortMode_HostDevice = 2,
01922 PortMode_RawFile = 3,
01923 };
01924
01963 enum USBDeviceState
01964 {
01971 USBDeviceState_NotSupported = 0,
01979 USBDeviceState_Unavailable = 1,
01986 USBDeviceState_Busy = 2,
01994 USBDeviceState_Available = 3,
02002 USBDeviceState_Held = 4,
02010 USBDeviceState_Captured = 5,
02011 };
02012
02022 enum USBDeviceFilterAction
02023 {
02028 USBDeviceFilterAction_Null = 0,
02033 USBDeviceFilterAction_Ignore = 1,
02038 USBDeviceFilterAction_Hold = 2,
02039 };
02040
02048 enum AudioDriverType
02049 {
02054 AudioDriverType_Null = 0,
02059 AudioDriverType_WinMM = 1,
02064 AudioDriverType_OSS = 2,
02069 AudioDriverType_ALSA = 3,
02074 AudioDriverType_DirectSound = 4,
02079 AudioDriverType_CoreAudio = 5,
02084 AudioDriverType_MMPM = 6,
02089 AudioDriverType_Pulse = 7,
02094 AudioDriverType_SolAudio = 8,
02095 };
02096
02104 enum AudioControllerType
02105 {
02106 AudioControllerType_AC97 = 0,
02107 AudioControllerType_SB16 = 1,
02108 AudioControllerType_HDA = 2,
02109 };
02110
02118 enum AuthType
02119 {
02124 AuthType_Null = 0,
02125 AuthType_External = 1,
02126 AuthType_Guest = 2,
02127 };
02128
02137 enum StorageBus
02138 {
02143 StorageBus_Null = 0,
02144 StorageBus_IDE = 1,
02145 StorageBus_SATA = 2,
02146 StorageBus_SCSI = 3,
02147 StorageBus_Floppy = 4,
02148 StorageBus_SAS = 5,
02149 };
02150
02159 enum StorageControllerType
02160 {
02165 StorageControllerType_Null = 0,
02170 StorageControllerType_LsiLogic = 1,
02175 StorageControllerType_BusLogic = 2,
02180 StorageControllerType_IntelAhci = 3,
02185 StorageControllerType_PIIX3 = 4,
02190 StorageControllerType_PIIX4 = 5,
02195 StorageControllerType_ICH6 = 6,
02200 StorageControllerType_I82078 = 7,
02205 StorageControllerType_LsiLogicSas = 8,
02206 };
02207
02215 enum ChipsetType
02216 {
02221 ChipsetType_Null = 0,
02226 ChipsetType_PIIX3 = 1,
02231 ChipsetType_ICH9 = 2,
02232 };
02233
02239 enum NATAliasMode
02240 {
02245 NATAliasMode_AliasLog = 0x1,
02250 NATAliasMode_AliasProxyOnly = 0x02,
02255 NATAliasMode_AliasUseSamePorts = 0x04,
02256 };
02257
02263 enum NATProtocol
02264 {
02269 NATProtocol_UDP = 0,
02274 NATProtocol_TCP = 1,
02275 };
02276
02284 enum BandwidthGroupType
02285 {
02292 BandwidthGroupType_Null = 0,
02299 BandwidthGroupType_Disk = 1,
02306 BandwidthGroupType_Network = 2,
02307 };
02308
02317 enum VBoxEventType
02318 {
02325 VBoxEventType_Invalid = 0,
02334 VBoxEventType_Any = 1,
02342 VBoxEventType_Vetoable = 2,
02350 VBoxEventType_MachineEvent = 3,
02358 VBoxEventType_SnapshotEvent = 4,
02367 VBoxEventType_InputEvent = 5,
02374 VBoxEventType_LastWildcard = 31,
02381 VBoxEventType_OnMachineStateChanged = 32,
02388 VBoxEventType_OnMachineDataChanged = 33,
02395 VBoxEventType_OnExtraDataChanged = 34,
02402 VBoxEventType_OnExtraDataCanChange = 35,
02409 VBoxEventType_OnMediumRegistered = 36,
02416 VBoxEventType_OnMachineRegistered = 37,
02423 VBoxEventType_OnSessionStateChanged = 38,
02430 VBoxEventType_OnSnapshotTaken = 39,
02437 VBoxEventType_OnSnapshotDeleted = 40,
02444 VBoxEventType_OnSnapshotChanged = 41,
02451 VBoxEventType_OnGuestPropertyChanged = 42,
02458 VBoxEventType_OnMousePointerShapeChanged = 43,
02465 VBoxEventType_OnMouseCapabilityChanged = 44,
02472 VBoxEventType_OnKeyboardLedsChanged = 45,
02479 VBoxEventType_OnStateChanged = 46,
02486 VBoxEventType_OnAdditionsStateChanged = 47,
02493 VBoxEventType_OnNetworkAdapterChanged = 48,
02500 VBoxEventType_OnSerialPortChanged = 49,
02507 VBoxEventType_OnParallelPortChanged = 50,
02514 VBoxEventType_OnStorageControllerChanged = 51,
02521 VBoxEventType_OnMediumChanged = 52,
02528 VBoxEventType_OnVRDEServerChanged = 53,
02535 VBoxEventType_OnUSBControllerChanged = 54,
02542 VBoxEventType_OnUSBDeviceStateChanged = 55,
02549 VBoxEventType_OnSharedFolderChanged = 56,
02556 VBoxEventType_OnRuntimeError = 57,
02563 VBoxEventType_OnCanShowWindow = 58,
02570 VBoxEventType_OnShowWindow = 59,
02577 VBoxEventType_OnCPUChanged = 60,
02584 VBoxEventType_OnVRDEServerInfoChanged = 61,
02591 VBoxEventType_OnEventSourceChanged = 62,
02598 VBoxEventType_OnCPUExecutionCapChanged = 63,
02605 VBoxEventType_OnGuestKeyboard = 64,
02612 VBoxEventType_OnGuestMouse = 65,
02619 VBoxEventType_OnNATRedirect = 66,
02626 VBoxEventType_OnHostPciDevicePlug = 67,
02633 VBoxEventType_OnVBoxSVCAvailabilityChanged = 68,
02640 VBoxEventType_OnBandwidthGroupChanged = 69,
02647 VBoxEventType_OnGuestMonitorChanged = 70,
02654 VBoxEventType_Last = 71,
02655 };
02656
02664 enum GuestMonitorChangedEventType
02665 {
02672 GuestMonitorChangedEventType_Enabled = 0,
02679 GuestMonitorChangedEventType_Disabled = 1,
02686 GuestMonitorChangedEventType_NewOrigin = 2,
02687 };
02688
02721 interface IVirtualBoxErrorInfo : $errorinfo
02722 {
02740 readonly attribute long resultCode;
02741
02753 readonly attribute wstringUUID interfaceID;
02754
02765 readonly attribute wstring component;
02766
02777 readonly attribute wstring text;
02778
02789 readonly attribute IVirtualBoxErrorInfo next;
02790
02791 };
02792
02803 interface IDHCPServer : $unknown
02804 {
02810 attribute boolean enabled;
02811
02817 readonly attribute wstring IPAddress;
02818
02824 readonly attribute wstring networkMask;
02825
02831 readonly attribute wstring networkName;
02832
02838 readonly attribute wstring lowerIP;
02839
02845 readonly attribute wstring upperIP;
02846
02875 void setConfiguration (
02876 in wstring IPAddress,
02877 in wstring networkMask,
02878 in wstring FromIPAddress,
02879 in wstring ToIPAddress
02880 );
02881
02906 void start (
02907 in wstring networkName,
02908 in wstring trunkName,
02909 in wstring trunkType
02910 );
02911
02924 void stop();
02925
02926 };
02927
02946 interface IVirtualBox : $unknown
02947 {
02955 readonly attribute wstring version;
02956
02962 readonly attribute unsigned long revision;
02963
02973 readonly attribute wstring packageType;
02974
02990 readonly attribute wstring homeFolder;
02991
02999 readonly attribute wstring settingsFilePath;
03000
03004 readonly attribute IHost host;
03005
03009 readonly attribute ISystemProperties systemProperties;
03010
03016 readonly attribute IMachine[] machines;
03017
03027 readonly attribute IMedium[] hardDisks;
03028
03034 readonly attribute IMedium[] DVDImages;
03035
03041 readonly attribute IMedium[] floppyImages;
03042
03043 readonly attribute IProgress[] progressOperations;
03044
03045 readonly attribute IGuestOSType[] guestOSTypes;
03046
03063 readonly attribute ISharedFolder[] sharedFolders;
03064
03070 readonly attribute IPerformanceCollector performanceCollector;
03071
03077 readonly attribute IDHCPServer[] DHCPServers;
03078
03084 readonly attribute IEventSource eventSource;
03085
03091 readonly attribute IExtPackManager extensionPackManager;
03092
03132 void composeMachineFilename (
03133 in wstring name,
03134 in wstring baseFolder,
03135 [retval] out wstring file
03136 );
03137
03234 void createMachine (
03235 in wstring settingsFile,
03236 in wstring name,
03237 in wstring osTypeId,
03238 in wstringUUID id,
03239 in boolean forceOverwrite,
03240 [retval] out IMachine machine
03241 );
03242
03268 void openMachine (
03269 in wstring settingsFile,
03270 [retval] out IMachine machine
03271 );
03272
03304 void registerMachine (
03305 in IMachine machine
03306 );
03307
03328 void findMachine (
03329 in wstring nameOrId,
03330 [retval] out IMachine machine
03331 );
03332
03342 void createAppliance (
03343 [retval] out IAppliance appliance
03344 );
03345
03408 void createHardDisk (
03409 in wstring format,
03410 in wstring location,
03411 [retval] out IMedium medium
03412 );
03413
03525 void openMedium (
03526 in wstring location,
03527 in DeviceType deviceType,
03528 in AccessMode accessMode,
03529 [retval] out IMedium medium
03530 );
03531
03563 void findMedium (
03564 in wstring location,
03565 in DeviceType type,
03566 [retval] out IMedium medium
03567 );
03568
03597 void getGuestOSType (
03598 in wstringUUID id,
03599 [retval] out IGuestOSType type
03600 );
03601
03624 void createSharedFolder (
03625 in wstring name,
03626 in wstring hostPath,
03627 in boolean writable,
03628 in boolean automount
03629 );
03630
03645 void removeSharedFolder (
03646 in wstring name
03647 );
03648
03657 void getExtraDataKeys (
03658 [retval] out wstring[] value
03659 );
03660
03689 void getExtraData (
03690 in wstring key,
03691 [retval] out wstring value
03692 );
03693
03743 void setExtraData (
03744 in wstring key,
03745 in wstring value
03746 );
03747
03764 void createDHCPServer (
03765 in wstring name,
03766 [retval] out IDHCPServer server
03767 );
03768
03785 void findDHCPServerByNetworkName (
03786 in wstring name,
03787 [retval] out IDHCPServer server
03788 );
03789
03804 void removeDHCPServer (
03805 in IDHCPServer server
03806 );
03807
03832 void checkFirmwarePresent (
03833 in FirmwareType firmwareType,
03834 in wstring version,
03835 out wstring url,
03836 out wstring file,
03837 [retval] out boolean result
03838 );
03839
03840 };
03841
03852 interface IVFSExplorer : $unknown
03853 {
03857 readonly attribute wstring path;
03858
03862 readonly attribute VFSType type;
03863
03871 void update (
03872 [retval] out IProgress aProgress
03873 );
03874
03882 void cd (
03883 in wstring aDir,
03884 [retval] out IProgress aProgress
03885 );
03886
03892 void cdUp (
03893 [retval] out IProgress aProgress
03894 );
03895
03908 void entryList (
03909 out wstring[] aNames,
03910 out unsigned long[] aTypes,
03911 out unsigned long[] aSizes,
03912 out unsigned long[] aModes
03913 );
03914
03923 void exists (
03924 in wstring[] aNames,
03925 [retval] out wstring[] aExists
03926 );
03927
03935 void remove (
03936 in wstring[] aNames,
03937 [retval] out IProgress aProgress
03938 );
03939
03940 };
03941
04007 interface IAppliance : $unknown
04008 {
04016 readonly attribute wstring path;
04017
04048 readonly attribute wstring[] disks;
04049
04057 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04058
04066 readonly attribute wstring[] machines;
04067
04084 void read (
04085 in wstring file,
04086 [retval] out IProgress aProgress
04087 );
04088
04105 void interpret();
04106
04127 void importMachines (
04128 [retval] out IProgress aProgress
04129 );
04130
04138 void createVFSExplorer (
04139 in wstring aUri,
04140 [retval] out IVFSExplorer aExplorer
04141 );
04142
04172 void write (
04173 in wstring format,
04174 in boolean manifest,
04175 in wstring path,
04176 [retval] out IProgress progress
04177 );
04178
04184 void getWarnings (
04185 [retval] out wstring[] aWarnings
04186 );
04187
04188 };
04189
04201 interface IVirtualSystemDescription : $unknown
04202 {
04206 readonly attribute unsigned long count;
04207
04331 void getDescription (
04332 out VirtualSystemDescriptionType[] aTypes,
04333 out wstring[] aRefs,
04334 out wstring[] aOvfValues,
04335 out wstring[] aVBoxValues,
04336 out wstring[] aExtraConfigValues
04337 );
04338
04355 void getDescriptionByType (
04356 in VirtualSystemDescriptionType aType,
04357 out VirtualSystemDescriptionType[] aTypes,
04358 out wstring[] aRefs,
04359 out wstring[] aOvfValues,
04360 out wstring[] aVBoxValues,
04361 out wstring[] aExtraConfigValues
04362 );
04363
04375 void getValuesByType (
04376 in VirtualSystemDescriptionType aType,
04377 in VirtualSystemDescriptionValueType aWhich,
04378 [retval] out wstring[] aValues
04379 );
04380
04406 void setFinalValues (
04407 in boolean[] aEnabled,
04408 in wstring[] aVBoxValues,
04409 in wstring[] aExtraConfigValues
04410 );
04411
04426 void addDescription (
04427 in VirtualSystemDescriptionType aType,
04428 in wstring aVBoxValue,
04429 in wstring aExtraConfigValue
04430 );
04431
04432 };
04433
04434 interface IInternalMachineControl : $unknown
04435 {
04442 void setRemoveSavedStateFile (
04443 in boolean aRemove
04444 );
04445
04457 void updateState (
04458 in MachineState state
04459 );
04460
04461 void getIPCId (
04462 [retval] out wstring id
04463 );
04464
04476 void beginPowerUp (
04477 in IProgress aProgress
04478 );
04479
04489 void endPowerUp (
04490 in long result
04491 );
04492
04506 void runUSBDeviceFilters (
04507 in IUSBDevice device,
04508 out boolean matched,
04509 out unsigned long maskedInterfaces
04510 );
04511
04520 void captureUSBDevice (
04521 in wstringUUID id
04522 );
04523
04539 void detachUSBDevice (
04540 in wstringUUID id,
04541 in boolean done
04542 );
04543
04552 void autoCaptureUSBDevices();
04553
04569 void detachAllUSBDevices (
04570 in boolean done
04571 );
04572
04587 void onSessionEnd (
04588 in ISession session,
04589 [retval] out IProgress progress
04590 );
04591
04607 void beginSavingState (
04608 out IProgress progress,
04609 out wstring stateFilePath
04610 );
04611
04641 void endSavingState (
04642 in long result,
04643 in wstring errMsg
04644 );
04645
04660 void adoptSavedState (
04661 in wstring savedStateFile
04662 );
04663
04712 void beginTakingSnapshot (
04713 in IConsole initiator,
04714 in wstring name,
04715 in wstring description,
04716 in IProgress consoleProgress,
04717 in boolean fTakingSnapshotOnline,
04718 out wstring stateFilePath
04719 );
04720
04730 void endTakingSnapshot (
04731 in boolean success
04732 );
04733
04754 void deleteSnapshot (
04755 in IConsole initiator,
04756 in wstringUUID id,
04757 out MachineState machineState,
04758 [retval] out IProgress progress
04759 );
04760
04779 void finishOnlineMergeMedium (
04780 in IMediumAttachment mediumAttachment,
04781 in IMedium source,
04782 in IMedium target,
04783 in boolean mergeForward,
04784 in IMedium parentForTarget,
04785 in IMedium[] childrenToReparent
04786 );
04787
04801 void restoreSnapshot (
04802 in IConsole initiator,
04803 in ISnapshot snapshot,
04804 out MachineState machineState,
04805 [retval] out IProgress progress
04806 );
04807
04834 void pullGuestProperties (
04835 out wstring[] name,
04836 out wstring[] value,
04837 out long long[] timestamp,
04838 out wstring[] flags
04839 );
04840
04862 void pushGuestProperty (
04863 in wstring name,
04864 in wstring value,
04865 in long long timestamp,
04866 in wstring flags
04867 );
04868
04880 void lockMedia();
04881
04891 void unlockMedia();
04892
04893 };
04894
04903 interface IBIOSSettings : $unknown
04904 {
04908 attribute boolean logoFadeIn;
04909
04913 attribute boolean logoFadeOut;
04914
04918 attribute unsigned long logoDisplayTime;
04919
04926 attribute wstring logoImagePath;
04927
04931 attribute BIOSBootMenuMode bootMenuMode;
04932
04936 attribute boolean ACPIEnabled;
04937
04944 attribute boolean IOAPICEnabled;
04945
04955 attribute long long timeOffset;
04956
04963 attribute boolean PXEDebugEnabled;
04964
04965 };
04966
04974 interface IEventContext : $unknown
04975 {
04976 };
04977
04985 interface IPciAddress : $unknown
04986 {
04992 attribute short bus;
04993
04999 attribute short device;
05000
05006 attribute short devFunction;
05007
05013 void asLong (
05014 [retval] out long result
05015 );
05016
05022 void fromLong (
05023 in long number
05024 );
05025
05026 };
05027
05035 interface IPciDeviceAttachment : $unknown
05036 {
05042 readonly attribute wstring name;
05043
05049 readonly attribute boolean isPhysicalDevice;
05050
05056 readonly attribute long hostAddress;
05057
05063 readonly attribute long guestAddress;
05064
05065 };
05066
05107 interface IMachine : $unknown
05108 {
05112 readonly attribute IVirtualBox parent;
05113
05163 readonly attribute boolean accessible;
05164
05176 readonly attribute IVirtualBoxErrorInfo accessError;
05177
05217 attribute wstring name;
05218
05229 attribute wstring description;
05230
05234 readonly attribute wstringUUID id;
05235
05250 attribute wstring OSTypeId;
05251
05255 attribute wstring HardwareVersion;
05256
05266 attribute wstringUUID hardwareUUID;
05267
05271 attribute unsigned long CPUCount;
05272
05278 attribute boolean CPUHotPlugEnabled;
05279
05287 attribute unsigned long CPUExecutionCap;
05288
05292 attribute unsigned long memorySize;
05293
05297 attribute unsigned long memoryBalloonSize;
05298
05305 attribute boolean PageFusionEnabled;
05306
05310 attribute unsigned long VRAMSize;
05311
05317 attribute boolean accelerate3DEnabled;
05318
05324 attribute boolean accelerate2DVideoEnabled;
05325
05336 attribute unsigned long monitorCount;
05337
05341 readonly attribute IBIOSSettings BIOSSettings;
05342
05347 attribute FirmwareType firmwareType;
05348
05354 attribute PointingHidType pointingHidType;
05355
05361 attribute KeyboardHidType keyboardHidType;
05362
05369 attribute boolean hpetEnabled;
05370
05374 attribute ChipsetType chipsetType;
05375
05409 attribute wstring snapshotFolder;
05410
05414 readonly attribute IVRDEServer VRDEServer;
05415
05419 readonly attribute IMediumAttachment[] mediumAttachments;
05420
05432 readonly attribute IUSBController USBController;
05433
05437 readonly attribute IAudioAdapter audioAdapter;
05438
05442 readonly attribute IStorageController[] storageControllers;
05443
05449 readonly attribute wstring settingsFilePath;
05450
05475 readonly attribute boolean settingsModified;
05476
05480 readonly attribute SessionState sessionState;
05481
05494 readonly attribute wstring sessionType;
05495
05505 readonly attribute unsigned long sessionPid;
05506
05510 readonly attribute MachineState state;
05511
05518 readonly attribute long long lastStateChange;
05519
05531 readonly attribute wstring stateFilePath;
05532
05542 readonly attribute wstring logFolder;
05543
05554 readonly attribute ISnapshot currentSnapshot;
05555
05562 readonly attribute unsigned long snapshotCount;
05563
05595 readonly attribute boolean currentStateModified;
05596
05608 readonly attribute ISharedFolder[] sharedFolders;
05609
05616 attribute ClipboardMode clipboardMode;
05617
05625 attribute wstring guestPropertyNotificationPatterns;
05626
05635 attribute boolean teleporterEnabled;
05636
05647 attribute unsigned long teleporterPort;
05648
05655 attribute wstring teleporterAddress;
05656
05664 attribute wstring teleporterPassword;
05665
05673 attribute FaultToleranceState faultToleranceState;
05674
05681 attribute unsigned long faultTolerancePort;
05682
05688 attribute wstring faultToleranceAddress;
05689
05697 attribute wstring faultTolerancePassword;
05698
05704 attribute unsigned long faultToleranceSyncInterval;
05705
05713 attribute boolean RTCUseUTC;
05714
05721 attribute boolean ioCacheEnabled;
05722
05728 attribute unsigned long ioCacheSize;
05729
05735 readonly attribute IBandwidthControl bandwidthControl;
05736
05745 readonly attribute IPciDeviceAttachment[] pciDeviceAssignments;
05746
05852 void lockMachine (
05853 in ISession session,
05854 in LockType lockType
05855 );
05856
05980 void launchVMProcess (
05981 in ISession session,
05982 in wstring type,
05983 in wstring environment,
05984 [retval] out IProgress progress
05985 );
05986
06024 void setBootOrder (
06025 in unsigned long position,
06026 in DeviceType device
06027 );
06028
06063 void getBootOrder (
06064 in unsigned long position,
06065 [retval] out DeviceType device
06066 );
06067
06169 void attachDevice (
06170 in wstring name,
06171 in long controllerPort,
06172 in long device,
06173 in DeviceType type,
06174 in IMedium medium
06175 );
06176
06229 void detachDevice (
06230 in wstring name,
06231 in long controllerPort,
06232 in long device
06233 );
06234
06277 void passthroughDevice (
06278 in wstring name,
06279 in long controllerPort,
06280 in long device,
06281 in boolean passthrough
06282 );
06283
06326 void setBandwidthGroupForDevice (
06327 in wstring name,
06328 in long controllerPort,
06329 in long device,
06330 in IBandwidthGroup bandwidthGroup
06331 );
06332
06395 void mountMedium (
06396 in wstring name,
06397 in long controllerPort,
06398 in long device,
06399 in IMedium medium,
06400 in boolean force
06401 );
06402
06431 void getMedium (
06432 in wstring name,
06433 in long controllerPort,
06434 in long device,
06435 [retval] out IMedium medium
06436 );
06437
06452 void getMediumAttachmentsOfController (
06453 in wstring name,
06454 [retval] out IMediumAttachment[] mediumAttachments
06455 );
06456
06471 void getMediumAttachment (
06472 in wstring name,
06473 in long controllerPort,
06474 in long device,
06475 [retval] out IMediumAttachment attachment
06476 );
06477
06523 void attachHostPciDevice (
06524 in long hostAddress,
06525 in long desiredGuestAddress,
06526 in IEventContext eventContext,
06527 in boolean tryToUnbind
06528 );
06529
06573 void detachHostPciDevice (
06574 in long hostAddress
06575 );
06576
06594 void getNetworkAdapter (
06595 in unsigned long slot,
06596 [retval] out INetworkAdapter adapter
06597 );
06598
06631 void addStorageController (
06632 in wstring name,
06633 in StorageBus connectionType,
06634 [retval] out IStorageController controller
06635 );
06636
06650 void getStorageControllerByName (
06651 in wstring name,
06652 [retval] out IStorageController storageController
06653 );
06654
06668 void getStorageControllerByInstance (
06669 in unsigned long instance,
06670 [retval] out IStorageController storageController
06671 );
06672
06686 void removeStorageController (
06687 in wstring name
06688 );
06689
06711 void setStorageControllerBootable (
06712 in wstring name,
06713 in boolean bootable
06714 );
06715
06733 void getSerialPort (
06734 in unsigned long slot,
06735 [retval] out ISerialPort port
06736 );
06737
06755 void getParallelPort (
06756 in unsigned long slot,
06757 [retval] out IParallelPort port
06758 );
06759
06768 void getExtraDataKeys (
06769 [retval] out wstring[] value
06770 );
06771
06800 void getExtraData (
06801 in wstring key,
06802 [retval] out wstring value
06803 );
06804
06854 void setExtraData (
06855 in wstring key,
06856 in wstring value
06857 );
06858
06880 void getCPUProperty (
06881 in CPUPropertyType property,
06882 [retval] out boolean value
06883 );
06884
06906 void setCPUProperty (
06907 in CPUPropertyType property,
06908 in boolean value
06909 );
06910
06950 void getCPUIDLeaf (
06951 in unsigned long id,
06952 out unsigned long valEax,
06953 out unsigned long valEbx,
06954 out unsigned long valEcx,
06955 out unsigned long valEdx
06956 );
06957
07001 void setCPUIDLeaf (
07002 in unsigned long id,
07003 in unsigned long valEax,
07004 in unsigned long valEbx,
07005 in unsigned long valEcx,
07006 in unsigned long valEdx
07007 );
07008
07026 void removeCPUIDLeaf (
07027 in unsigned long id
07028 );
07029
07035 void removeAllCPUIDLeaves();
07036
07058 void getHWVirtExProperty (
07059 in HWVirtExPropertyType property,
07060 [retval] out boolean value
07061 );
07062
07084 void setHWVirtExProperty (
07085 in HWVirtExPropertyType property,
07086 in boolean value
07087 );
07088
07134 void saveSettings();
07135
07159 void discardSettings();
07160
07235 void unregister (
07236 in CleanupMode cleanupMode,
07237 [retval] out IMedium[] aMedia
07238 );
07239
07296 void delete (
07297 in IMedium[] aMedia,
07298 [retval] out IProgress aProgress
07299 );
07300
07312 void export (
07313 in IAppliance aAppliance,
07314 in wstring location,
07315 [retval] out IVirtualSystemDescription aDescription
07316 );
07317
07340 void findSnapshot (
07341 in wstring nameOrId,
07342 [retval] out ISnapshot snapshot
07343 );
07344
07378 void createSharedFolder (
07379 in wstring name,
07380 in wstring hostPath,
07381 in boolean writable,
07382 in boolean automount
07383 );
07384
07410 void removeSharedFolder (
07411 in wstring name
07412 );
07413
07437 void canShowConsoleWindow (
07438 [retval] out boolean canShow
07439 );
07440
07475 void showConsoleWindow (
07476 [retval] out long long winId
07477 );
07478
07511 void getGuestProperty (
07512 in wstring name,
07513 out wstring value,
07514 out long long timestamp,
07515 out wstring flags
07516 );
07517
07540 void getGuestPropertyValue (
07541 in wstring property,
07542 [retval] out wstring value
07543 );
07544
07567 void getGuestPropertyTimestamp (
07568 in wstring property,
07569 [retval] out long long value
07570 );
07571
07622 void setGuestProperty (
07623 in wstring property,
07624 in wstring value,
07625 in wstring flags
07626 );
07627
07668 void setGuestPropertyValue (
07669 in wstring property,
07670 in wstring value
07671 );
07672
07703 void enumerateGuestProperties (
07704 in wstring patterns,
07705 out wstring[] name,
07706 out wstring[] value,
07707 out long long[] timestamp,
07708 out wstring[] flags
07709 );
07710
07728 void querySavedGuestSize (
07729 in unsigned long screenId,
07730 out unsigned long width,
07731 out unsigned long height
07732 );
07733
07755 void querySavedThumbnailSize (
07756 in unsigned long screenId,
07757 out unsigned long size,
07758 out unsigned long width,
07759 out unsigned long height
07760 );
07761
07788 void readSavedThumbnailToArray (
07789 in unsigned long screenId,
07790 in boolean BGR,
07791 out unsigned long width,
07792 out unsigned long height,
07793 [retval] out octet[] data
07794 );
07795
07817 void readSavedThumbnailPNGToArray (
07818 in unsigned long screenId,
07819 out unsigned long width,
07820 out unsigned long height,
07821 [retval] out octet[] data
07822 );
07823
07845 void querySavedScreenshotPNGSize (
07846 in unsigned long screenId,
07847 out unsigned long size,
07848 out unsigned long width,
07849 out unsigned long height
07850 );
07851
07873 void readSavedScreenshotPNGToArray (
07874 in unsigned long screenId,
07875 out unsigned long width,
07876 out unsigned long height,
07877 [retval] out octet[] data
07878 );
07879
07889 void hotPlugCPU (
07890 in unsigned long cpu
07891 );
07892
07902 void hotUnplugCPU (
07903 in unsigned long cpu
07904 );
07905
07919 void getCPUStatus (
07920 in unsigned long cpu,
07921 [retval] out boolean attached
07922 );
07923
07938 void queryLogFilename (
07939 in unsigned long idx,
07940 [retval] out wstring filename
07941 );
07942
07968 void readLog (
07969 in unsigned long idx,
07970 in long long offset,
07971 in long long size,
07972 [retval] out octet[] data
07973 );
07974
07975 };
07976
07985 interface IVRDEServerInfo : $unknown
07986 {
07992 readonly attribute boolean active;
07993
08002 readonly attribute long port;
08003
08009 readonly attribute unsigned long numberOfClients;
08010
08016 readonly attribute long long beginTime;
08017
08024 readonly attribute long long endTime;
08025
08031 readonly attribute long long bytesSent;
08032
08038 readonly attribute long long bytesSentTotal;
08039
08045 readonly attribute long long bytesReceived;
08046
08052 readonly attribute long long bytesReceivedTotal;
08053
08059 readonly attribute wstring user;
08060
08066 readonly attribute wstring domain;
08067
08073 readonly attribute wstring clientName;
08074
08080 readonly attribute wstring clientIP;
08081
08087 readonly attribute unsigned long clientVersion;
08088
08096 readonly attribute unsigned long encryptionStyle;
08097
08098 };
08099
08121 interface IConsole : $unknown
08122 {
08134 readonly attribute IMachine machine;
08135
08149 readonly attribute MachineState state;
08150
08154 readonly attribute IGuest guest;
08155
08166 readonly attribute IKeyboard keyboard;
08167
08178 readonly attribute IMouse mouse;
08179
08189 readonly attribute IDisplay display;
08190
08194 readonly attribute IMachineDebugger debugger;
08195
08206 readonly attribute IUSBDevice[] USBDevices;
08207
08215 readonly attribute IHostUSBDevice[] remoteUSBDevices;
08216
08232 readonly attribute ISharedFolder[] sharedFolders;
08233
08239 readonly attribute IVRDEServerInfo VRDEServerInfo;
08240
08246 readonly attribute IEventSource eventSource;
08247
08251 readonly attribute IPciDeviceAttachment[] attachedPciDevices;
08252
08317 void powerUp (
08318 [retval] out IProgress progress
08319 );
08320
08354 void powerUpPaused (
08355 [retval] out IProgress progress
08356 );
08357
08377 void powerDown (
08378 [retval] out IProgress progress
08379 );
08380
08400 void reset();
08401
08421 void pause();
08422
08442 void resume();
08443
08463 void powerButton();
08464
08484 void sleepButton();
08485
08497 void getPowerButtonHandled (
08498 [retval] out boolean handled
08499 );
08500
08514 void getGuestEnteredACPIMode (
08515 [retval] out boolean entered
08516 );
08517
08570 void saveState (
08571 [retval] out IProgress progress
08572 );
08573
08606 void adoptSavedState (
08607 in wstring savedStateFile
08608 );
08609
08640 void discardSavedState (
08641 in boolean fRemoveFile
08642 );
08643
08656 void getDeviceActivity (
08657 in DeviceType type,
08658 [retval] out DeviceActivity activity
08659 );
08660
08697 void attachUSBDevice (
08698 in wstringUUID id
08699 );
08700
08734 void detachUSBDevice (
08735 in wstringUUID id,
08736 [retval] out IUSBDevice device
08737 );
08738
08761 void findUSBDeviceByAddress (
08762 in wstring name,
08763 [retval] out IUSBDevice device
08764 );
08765
08785 void findUSBDeviceById (
08786 in wstringUUID id,
08787 [retval] out IUSBDevice device
08788 );
08789
08823 void createSharedFolder (
08824 in wstring name,
08825 in wstring hostPath,
08826 in boolean writable,
08827 in boolean automount
08828 );
08829
08854 void removeSharedFolder (
08855 in wstring name
08856 );
08857
08895 void takeSnapshot (
08896 in wstring name,
08897 in wstring description,
08898 [retval] out IProgress progress
08899 );
08900
08971 void deleteSnapshot (
08972 in wstringUUID id,
08973 [retval] out IProgress progress
08974 );
08975
09016 void restoreSnapshot (
09017 in ISnapshot snapshot,
09018 [retval] out IProgress progress
09019 );
09020
09059 void teleport (
09060 in wstring hostname,
09061 in unsigned long tcpport,
09062 in wstring password,
09063 in unsigned long maxDowntime,
09064 [retval] out IProgress progress
09065 );
09066
09067 };
09068
09079 interface IHostNetworkInterface : $unknown
09080 {
09084 readonly attribute wstring name;
09085
09089 readonly attribute wstringUUID id;
09090
09094 readonly attribute wstring networkName;
09095
09099 readonly attribute boolean dhcpEnabled;
09100
09104 readonly attribute wstring IPAddress;
09105
09109 readonly attribute wstring networkMask;
09110
09114 readonly attribute boolean IPV6Supported;
09115
09119 readonly attribute wstring IPV6Address;
09120
09124 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
09125
09129 readonly attribute wstring hardwareAddress;
09130
09134 readonly attribute HostNetworkInterfaceMediumType mediumType;
09135
09139 readonly attribute HostNetworkInterfaceStatus status;
09140
09144 readonly attribute HostNetworkInterfaceType interfaceType;
09145
09157 void enableStaticIpConfig (
09158 in wstring IPAddress,
09159 in wstring networkMask
09160 );
09161
09173 void enableStaticIpConfigV6 (
09174 in wstring IPV6Address,
09175 in unsigned long IPV6NetworkMaskPrefixLength
09176 );
09177
09181 void enableDynamicIpConfig();
09182
09186 void dhcpRediscover();
09187
09188 };
09189
09206 interface IHost : $unknown
09207 {
09211 readonly attribute IMedium[] DVDDrives;
09212
09216 readonly attribute IMedium[] floppyDrives;
09217
09231 readonly attribute IHostUSBDevice[] USBDevices;
09232
09255 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
09256
09260 readonly attribute IHostNetworkInterface[] networkInterfaces;
09261
09265 readonly attribute unsigned long processorCount;
09266
09270 readonly attribute unsigned long processorOnlineCount;
09271
09275 readonly attribute unsigned long processorCoreCount;
09276
09280 readonly attribute unsigned long memorySize;
09281
09285 readonly attribute unsigned long memoryAvailable;
09286
09290 readonly attribute wstring operatingSystem;
09291
09295 readonly attribute wstring OSVersion;
09296
09300 readonly attribute long long UTCTime;
09301
09305 readonly attribute boolean Acceleration3DAvailable;
09306
09321 void getProcessorSpeed (
09322 in unsigned long cpuId,
09323 [retval] out unsigned long speed
09324 );
09325
09337 void getProcessorFeature (
09338 in ProcessorFeature feature,
09339 [retval] out boolean supported
09340 );
09341
09360 void getProcessorDescription (
09361 in unsigned long cpuId,
09362 [retval] out wstring description
09363 );
09364
09405 void getProcessorCPUIDLeaf (
09406 in unsigned long cpuId,
09407 in unsigned long leaf,
09408 in unsigned long subLeaf,
09409 out unsigned long valEax,
09410 out unsigned long valEbx,
09411 out unsigned long valEcx,
09412 out unsigned long valEdx
09413 );
09414
09435 void createHostOnlyNetworkInterface (
09436 out IHostNetworkInterface hostInterface,
09437 [retval] out IProgress progress
09438 );
09439
09460 void removeHostOnlyNetworkInterface (
09461 in wstringUUID id,
09462 [retval] out IProgress progress
09463 );
09464
09484 void createUSBDeviceFilter (
09485 in wstring name,
09486 [retval] out IHostUSBDeviceFilter filter
09487 );
09488
09531 void insertUSBDeviceFilter (
09532 in unsigned long position,
09533 in IHostUSBDeviceFilter filter
09534 );
09535
09563 void removeUSBDeviceFilter (
09564 in unsigned long position
09565 );
09566
09584 void findHostDVDDrive (
09585 in wstring name,
09586 [retval] out IMedium drive
09587 );
09588
09606 void findHostFloppyDrive (
09607 in wstring name,
09608 [retval] out IMedium drive
09609 );
09610
09626 void findHostNetworkInterfaceByName (
09627 in wstring name,
09628 [retval] out IHostNetworkInterface networkInterface
09629 );
09630
09646 void findHostNetworkInterfaceById (
09647 in wstringUUID id,
09648 [retval] out IHostNetworkInterface networkInterface
09649 );
09650
09660 void findHostNetworkInterfacesOfType (
09661 in HostNetworkInterfaceType type,
09662 [retval] out IHostNetworkInterface[] networkInterfaces
09663 );
09664
09684 void findUSBDeviceById (
09685 in wstringUUID id,
09686 [retval] out IHostUSBDevice device
09687 );
09688
09711 void findUSBDeviceByAddress (
09712 in wstring name,
09713 [retval] out IHostUSBDevice device
09714 );
09715
09716 };
09717
09730 interface ISystemProperties : $unknown
09731 {
09735 readonly attribute unsigned long minGuestRAM;
09736
09740 readonly attribute unsigned long maxGuestRAM;
09741
09745 readonly attribute unsigned long minGuestVRAM;
09746
09750 readonly attribute unsigned long maxGuestVRAM;
09751
09755 readonly attribute unsigned long minGuestCPUCount;
09756
09760 readonly attribute unsigned long maxGuestCPUCount;
09761
09765 readonly attribute unsigned long maxGuestMonitors;
09766
09771 readonly attribute long long infoVDSize;
09772
09779 readonly attribute unsigned long networkAdapterCount;
09780
09787 readonly attribute unsigned long serialPortCount;
09788
09795 readonly attribute unsigned long parallelPortCount;
09796
09806 readonly attribute unsigned long maxBootPosition;
09807
09831 attribute wstring defaultMachineFolder;
09832
09858 readonly attribute IMediumFormat[] mediumFormats;
09859
09893 attribute wstring defaultHardDiskFormat;
09894
09900 attribute long long freeDiskSpaceWarning;
09901
09906 attribute unsigned long freeDiskSpacePercentWarning;
09907
09913 attribute long long freeDiskSpaceError;
09914
09919 attribute unsigned long freeDiskSpacePercentError;
09920
09944 attribute wstring VRDEAuthLibrary;
09945
09974 attribute wstring webServiceAuthLibrary;
09975
09989 attribute wstring defaultVRDEExtPack;
09990
09996 attribute unsigned long LogHistoryCount;
09997
10002 readonly attribute AudioDriverType defaultAudioDriver;
10003
10013 void getMaxDevicesPerPortForStorageBus (
10014 in StorageBus bus,
10015 [retval] out unsigned long maxDevicesPerPort
10016 );
10017
10025 void getMinPortCountForStorageBus (
10026 in StorageBus bus,
10027 [retval] out unsigned long minPortCount
10028 );
10029
10037 void getMaxPortCountForStorageBus (
10038 in StorageBus bus,
10039 [retval] out unsigned long maxPortCount
10040 );
10041
10054 void getMaxInstancesOfStorageBus (
10055 in ChipsetType chipset,
10056 in StorageBus bus,
10057 [retval] out unsigned long maxInstances
10058 );
10059
10069 void getDeviceTypesForStorageBus (
10070 in StorageBus bus,
10071 [retval] out DeviceType[] deviceTypes
10072 );
10073
10082 void getDefaultIoCacheSettingForStorageController (
10083 in StorageControllerType controllerType,
10084 [retval] out boolean enabled
10085 );
10086
10087 };
10088
10094 interface IGuestOSType : $unknown
10095 {
10099 readonly attribute wstring familyId;
10100
10104 readonly attribute wstring familyDescription;
10105
10109 readonly attribute wstring id;
10110
10114 readonly attribute wstring description;
10115
10119 readonly attribute boolean is64Bit;
10120
10124 readonly attribute boolean recommendedIOAPIC;
10125
10129 readonly attribute boolean recommendedVirtEx;
10130
10134 readonly attribute unsigned long recommendedRAM;
10135
10139 readonly attribute unsigned long recommendedVRAM;
10140
10144 readonly attribute long long recommendedHDD;
10145
10149 readonly attribute NetworkAdapterType adapterType;
10150
10154 readonly attribute boolean recommendedPae;
10155
10159 readonly attribute StorageControllerType recommendedDvdStorageController;
10160
10164 readonly attribute StorageBus recommendedDvdStorageBus;
10165
10169 readonly attribute StorageControllerType recommendedHdStorageController;
10170
10174 readonly attribute StorageBus recommendedHdStorageBus;
10175
10179 readonly attribute FirmwareType recommendedFirmware;
10180
10184 readonly attribute boolean recommendedUsbHid;
10185
10189 readonly attribute boolean recommendedHpet;
10190
10194 readonly attribute boolean recommendedUsbTablet;
10195
10199 readonly attribute boolean recommendedRtcUseUtc;
10200
10204 readonly attribute ChipsetType recommendedChipset;
10205
10209 readonly attribute AudioControllerType recommendedAudioController;
10210
10211 };
10212
10226 interface IGuest : $unknown
10227 {
10242 readonly attribute wstring OSTypeId;
10243
10249 readonly attribute AdditionsRunLevelType additionsRunLevel;
10250
10258 readonly attribute wstring additionsVersion;
10259
10266 readonly attribute boolean supportsSeamless;
10267
10276 readonly attribute boolean supportsGraphics;
10277
10281 attribute unsigned long memoryBalloonSize;
10282
10286 attribute unsigned long statisticsUpdateInterval;
10287
10319 void internalGetStatistics (
10320 out unsigned long cpuUser,
10321 out unsigned long cpuKernel,
10322 out unsigned long cpuIdle,
10323 out unsigned long memTotal,
10324 out unsigned long memFree,
10325 out unsigned long memBalloon,
10326 out unsigned long memShared,
10327 out unsigned long memCache,
10328 out unsigned long pagedTotal,
10329 out unsigned long memAllocTotal,
10330 out unsigned long memFreeTotal,
10331 out unsigned long memBalloonTotal,
10332 out unsigned long memSharedTotal
10333 );
10334
10352 void getAdditionsStatus (
10353 in AdditionsRunLevelType level,
10354 [retval] out boolean active
10355 );
10356
10386 void setCredentials (
10387 in wstring userName,
10388 in wstring password,
10389 in wstring domain,
10390 in boolean allowInteractiveLogon
10391 );
10392
10444 void executeProcess (
10445 in wstring execName,
10446 in unsigned long flags,
10447 in wstring[] arguments,
10448 in wstring[] environment,
10449 in wstring userName,
10450 in wstring password,
10451 in unsigned long timeoutMS,
10452 out unsigned long pid,
10453 [retval] out IProgress progress
10454 );
10455
10493 void getProcessOutput (
10494 in unsigned long pid,
10495 in unsigned long flags,
10496 in unsigned long timeoutMS,
10497 in long long size,
10498 [retval] out octet[] data
10499 );
10500
10531 void getProcessStatus (
10532 in unsigned long pid,
10533 out unsigned long exitcode,
10534 out unsigned long flags,
10535 [retval] out unsigned long reason
10536 );
10537
10574 void copyToGuest (
10575 in wstring source,
10576 in wstring dest,
10577 in wstring userName,
10578 in wstring password,
10579 in unsigned long flags,
10580 [retval] out IProgress progress
10581 );
10582
10619 void createDirectory (
10620 in wstring directory,
10621 in wstring userName,
10622 in wstring password,
10623 in unsigned long mode,
10624 in unsigned long flags,
10625 [retval] out IProgress progress
10626 );
10627
10661 void setProcessInput (
10662 in unsigned long pid,
10663 in unsigned long flags,
10664 in unsigned long timeoutMS,
10665 in octet[] data,
10666 [retval] out unsigned long written
10667 );
10668
10692 void updateGuestAdditions (
10693 in wstring source,
10694 in unsigned long flags,
10695 [retval] out IProgress progress
10696 );
10697
10698 };
10699
10740 interface IProgress : $unknown
10741 {
10745 readonly attribute wstringUUID id;
10746
10750 readonly attribute wstring description;
10751
10755 readonly attribute $unknown initiator;
10756
10760 readonly attribute boolean cancelable;
10761
10769 readonly attribute unsigned long percent;
10770
10784 readonly attribute long timeRemaining;
10785
10789 readonly attribute boolean completed;
10790
10794 readonly attribute boolean canceled;
10795
10802 readonly attribute long resultCode;
10803
10813 readonly attribute IVirtualBoxErrorInfo errorInfo;
10814
10821 readonly attribute unsigned long operationCount;
10822
10826 readonly attribute unsigned long operation;
10827
10833 readonly attribute wstring operationDescription;
10834
10838 readonly attribute unsigned long operationPercent;
10839
10843 readonly attribute unsigned long operationWeight;
10844
10852 attribute unsigned long timeout;
10853
10857 void setCurrentOperationProgress (
10858 in unsigned long percent
10859 );
10860
10864 void setNextOperation (
10865 in wstring nextOperationDescription,
10866 in unsigned long nextOperationsWeight
10867 );
10868
10895 void waitForCompletion (
10896 in long timeout
10897 );
10898
10922 void waitForOperationCompletion (
10923 in unsigned long operation,
10924 in long timeout
10925 );
10926
10943 void cancel();
10944
10945 };
10946
11025 interface ISnapshot : $unknown
11026 {
11030 readonly attribute wstringUUID id;
11031
11035 attribute wstring name;
11036
11040 attribute wstring description;
11041
11047 readonly attribute long long timeStamp;
11048
11060 readonly attribute boolean online;
11061
11073 readonly attribute IMachine machine;
11074
11081 readonly attribute ISnapshot parent;
11082
11088 readonly attribute ISnapshot[] children;
11089
11090 };
11091
11114 interface IMediumAttachment : $unknown
11115 {
11120 readonly attribute IMedium medium;
11121
11127 readonly attribute wstring controller;
11128
11134 readonly attribute long port;
11135
11141 readonly attribute long device;
11142
11146 readonly attribute DeviceType type;
11147
11151 readonly attribute boolean passthrough;
11152
11156 readonly attribute IBandwidthGroup bandwidthGroup;
11157
11158 };
11159
11501 interface IMedium : $unknown
11502 {
11516 readonly attribute wstringUUID id;
11517
11536 attribute wstring description;
11537
11553 readonly attribute MediumState state;
11554
11563 readonly attribute unsigned long variant;
11564
11586 attribute wstring location;
11587
11607 readonly attribute wstring name;
11608
11613 readonly attribute DeviceType deviceType;
11614
11618 readonly attribute boolean hostDrive;
11619
11632 readonly attribute long long size;
11633
11648 readonly attribute wstring format;
11649
11665 readonly attribute IMediumFormat mediumFormat;
11666
11691 attribute MediumType type;
11692
11702 readonly attribute IMedium parent;
11703
11711 readonly attribute IMedium[] children;
11712
11723 readonly attribute IMedium base;
11724
11757 readonly attribute boolean readOnly;
11758
11779 readonly attribute long long logicalSize;
11780
11808 attribute boolean autoReset;
11809
11824 readonly attribute wstring lastAccessError;
11825
11842 readonly attribute wstringUUID[] machineIds;
11843
11869 void setIDs (
11870 in boolean setImageId,
11871 in wstringUUID imageId,
11872 in boolean setParentId,
11873 in wstringUUID parentId
11874 );
11875
11910 void refreshState (
11911 [retval] out MediumState state
11912 );
11913
11940 void getSnapshotIds (
11941 in wstringUUID machineId,
11942 [retval] out wstringUUID[] snapshotIds
11943 );
11944
12004 void lockRead (
12005 [retval] out MediumState state
12006 );
12007
12030 void unlockRead (
12031 [retval] out MediumState state
12032 );
12033
12088 void lockWrite (
12089 [retval] out MediumState state
12090 );
12091
12114 void unlockWrite (
12115 [retval] out MediumState state
12116 );
12117
12167 void close();
12168
12198 void getProperty (
12199 in wstring name,
12200 [retval] out wstring value
12201 );
12202
12234 void setProperty (
12235 in wstring name,
12236 in wstring value
12237 );
12238
12272 void getProperties (
12273 in wstring names,
12274 out wstring[] returnNames,
12275 [retval] out wstring[] returnValues
12276 );
12277
12309 void setProperties (
12310 in wstring[] names,
12311 in wstring[] values
12312 );
12313
12346 void createBaseStorage (
12347 in long long logicalSize,
12348 in unsigned long variant,
12349 [retval] out IProgress progress
12350 );
12351
12403 void deleteStorage (
12404 [retval] out IProgress progress
12405 );
12406
12445 void createDiffStorage (
12446 in IMedium target,
12447 in unsigned long variant,
12448 [retval] out IProgress progress
12449 );
12450
12526 void mergeTo (
12527 in IMedium target,
12528 [retval] out IProgress progress
12529 );
12530
12580 void cloneTo (
12581 in IMedium target,
12582 in unsigned long variant,
12583 in IMedium parent,
12584 [retval] out IProgress progress
12585 );
12586
12615 void compact (
12616 [retval] out IProgress progress
12617 );
12618
12651 void resize (
12652 in long long logicalSize,
12653 [retval] out IProgress progress
12654 );
12655
12689 void reset (
12690 [retval] out IProgress progress
12691 );
12692
12693 };
12694
12717 interface IMediumFormat : $unknown
12718 {
12737 readonly attribute wstring id;
12738
12746 readonly attribute wstring name;
12747
12756 readonly attribute unsigned long capabilities;
12757
12776 void describeFileExtensions (
12777 out wstring[] extensions,
12778 out DeviceType[] type
12779 );
12780
12810 void describeProperties (
12811 out wstring[] names,
12812 out wstring[] description,
12813 out DataType[] types,
12814 out unsigned long[] flags,
12815 out wstring[] defaults
12816 );
12817
12818 };
12819
12832 interface IKeyboard : $unknown
12833 {
12839 readonly attribute IEventSource eventSource;
12840
12853 void putScancode (
12854 in long scancode
12855 );
12856
12869 void putScancodes (
12870 in long[] scancodes,
12871 [retval] out unsigned long codesStored
12872 );
12873
12888 void putCAD();
12889
12890 };
12891
12903 interface IMouse : $unknown
12904 {
12919 readonly attribute boolean absoluteSupported;
12920
12935 readonly attribute boolean relativeSupported;
12936
12951 readonly attribute boolean needsHostCursor;
12952
12958 readonly attribute IEventSource eventSource;
12959
13025 void putMouseEvent (
13026 in long dx,
13027 in long dy,
13028 in long dz,
13029 in long dw,
13030 in long buttonState
13031 );
13032
13105 void putMouseEventAbsolute (
13106 in long x,
13107 in long y,
13108 in long dz,
13109 in long dw,
13110 in long buttonState
13111 );
13112
13113 };
13114
13115 interface IFramebuffer : $unknown
13116 {
13125 readonly attribute octetPtr address;
13126
13130 readonly attribute unsigned long width;
13131
13135 readonly attribute unsigned long height;
13136
13143 readonly attribute unsigned long bitsPerPixel;
13144
13151 readonly attribute unsigned long bytesPerLine;
13152
13163 readonly attribute unsigned long pixelFormat;
13164
13171 readonly attribute boolean usesGuestVRAM;
13172
13182 readonly attribute unsigned long heightReduction;
13183
13198 readonly attribute IFramebufferOverlay overlay;
13199
13206 readonly attribute long long winId;
13207
13215 void lock();
13216
13224 void unlock();
13225
13233 void notifyUpdate (
13234 in unsigned long x,
13235 in unsigned long y,
13236 in unsigned long width,
13237 in unsigned long height
13238 );
13239
13352 void requestResize (
13353 in unsigned long screenId,
13354 in unsigned long pixelFormat,
13355 in octetPtr VRAM,
13356 in unsigned long bitsPerPixel,
13357 in unsigned long bytesPerLine,
13358 in unsigned long width,
13359 in unsigned long height,
13360 [retval] out boolean finished
13361 );
13362
13374 void videoModeSupported (
13375 in unsigned long width,
13376 in unsigned long height,
13377 in unsigned long bpp,
13378 [retval] out boolean supported
13379 );
13380
13417 void getVisibleRegion (
13418 in octetPtr rectangles,
13419 in unsigned long count,
13420 [retval] out unsigned long countCopied
13421 );
13422
13457 void setVisibleRegion (
13458 in octetPtr rectangles,
13459 in unsigned long count
13460 );
13461
13482 void processVHWACommand (
13483 in octetPtr command
13484 );
13485
13486 };
13487
13502 interface IFramebufferOverlay : IFramebuffer
13503 {
13507 readonly attribute unsigned long x;
13508
13512 readonly attribute unsigned long y;
13513
13519 attribute boolean visible;
13520
13527 attribute unsigned long alpha;
13528
13534 void move (
13535 in unsigned long x,
13536 in unsigned long y
13537 );
13538
13539 };
13540
13556 interface IDisplay : $unknown
13557 {
13561 void getScreenResolution (
13562 in unsigned long screenId,
13563 out unsigned long width,
13564 out unsigned long height,
13565 out unsigned long bitsPerPixel
13566 );
13567
13573 void setFramebuffer (
13574 in unsigned long screenId,
13575 in IFramebuffer framebuffer
13576 );
13577
13583 void getFramebuffer (
13584 in unsigned long screenId,
13585 out IFramebuffer framebuffer,
13586 out long xOrigin,
13587 out long yOrigin
13588 );
13589
13618 void setVideoModeHint (
13619 in unsigned long width,
13620 in unsigned long height,
13621 in unsigned long bitsPerPixel,
13622 in unsigned long display
13623 );
13624
13635 void setSeamlessMode (
13636 in boolean enabled
13637 );
13638
13672 void takeScreenShot (
13673 in unsigned long screenId,
13674 in octetPtr address,
13675 in unsigned long width,
13676 in unsigned long height
13677 );
13678
13722 void takeScreenShotToArray (
13723 in unsigned long screenId,
13724 in unsigned long width,
13725 in unsigned long height,
13726 [retval] out octet[] screenData
13727 );
13728
13767 void takeScreenShotPNGToArray (
13768 in unsigned long screenId,
13769 in unsigned long width,
13770 in unsigned long height,
13771 [retval] out octet[] screenData
13772 );
13773
13825 void drawToScreen (
13826 in unsigned long screenId,
13827 in octetPtr address,
13828 in unsigned long x,
13829 in unsigned long y,
13830 in unsigned long width,
13831 in unsigned long height
13832 );
13833
13848 void invalidateAndUpdate();
13849
13863 void resizeCompleted (
13864 in unsigned long screenId
13865 );
13866
13879 void completeVHWACommand (
13880 in octetPtr command
13881 );
13882
13883 };
13884
13900 interface INetworkAdapter : $unknown
13901 {
13909 attribute NetworkAdapterType adapterType;
13910
13918 readonly attribute unsigned long slot;
13919
13928 attribute boolean enabled;
13929
13936 attribute wstring MACAddress;
13937
13938 readonly attribute NetworkAttachmentType attachmentType;
13939
13945 attribute wstring hostInterface;
13946
13952 attribute wstring internalNetwork;
13953
13959 attribute wstring NATNetwork;
13960
13966 attribute wstring VDENetwork;
13967
13974 attribute boolean cableConnected;
13975
13981 attribute unsigned long lineSpeed;
13982
13989 attribute boolean traceEnabled;
13990
13997 attribute wstring traceFile;
13998
14006 readonly attribute INATEngine natDriver;
14007
14014 attribute unsigned long bootPriority;
14015
14022 attribute unsigned long bandwidthLimit;
14023
14029 void attachToNAT();
14030
14036 void attachToBridgedInterface();
14037
14043 void attachToInternalNetwork();
14044
14050 void attachToHostOnlyInterface();
14051
14057 void attachToVDE();
14058
14064 void detach();
14065
14066 };
14067
14096 interface ISerialPort : $unknown
14097 {
14105 readonly attribute unsigned long slot;
14106
14113 attribute boolean enabled;
14114
14118 attribute unsigned long IOBase;
14119
14123 attribute unsigned long IRQ;
14124
14135 attribute PortMode hostMode;
14136
14144 attribute boolean server;
14145
14155 attribute wstring path;
14156
14157 };
14158
14178 interface IParallelPort : $unknown
14179 {
14187 readonly attribute unsigned long slot;
14188
14195 attribute boolean enabled;
14196
14200 attribute unsigned long IOBase;
14201
14205 attribute unsigned long IRQ;
14206
14214 attribute wstring path;
14215
14216 };
14217
14218 interface IMachineDebugger : $unknown
14219 {
14223 attribute boolean singlestep;
14224
14228 attribute boolean recompileUser;
14229
14233 attribute boolean recompileSupervisor;
14234
14238 attribute boolean PATMEnabled;
14239
14243 attribute boolean CSAMEnabled;
14244
14248 attribute boolean logEnabled;
14249
14253 readonly attribute wstring logFlags;
14254
14258 readonly attribute wstring logGroups;
14259
14263 readonly attribute wstring logDestinations;
14264
14271 readonly attribute boolean HWVirtExEnabled;
14272
14279 readonly attribute boolean HWVirtExNestedPagingEnabled;
14280
14287 readonly attribute boolean HWVirtExVPIDEnabled;
14288
14297 readonly attribute wstring OSName;
14298
14307 readonly attribute wstring OSVersion;
14308
14315 readonly attribute boolean PAEEnabled;
14316
14323 attribute unsigned long virtualTimeRate;
14324
14331 readonly attribute long long VM;
14332
14348 void dumpGuestCore (
14349 in wstring filename,
14350 in wstring compression
14351 );
14352
14369 void dumpHostProcessCore (
14370 in wstring filename,
14371 in wstring compression
14372 );
14373
14394 void info (
14395 in wstring name,
14396 in wstring args,
14397 [retval] out wstring info
14398 );
14399
14405 void injectNMI();
14406
14417 void modifyLogGroups (
14418 in wstring settings
14419 );
14420
14431 void modifyLogFlags (
14432 in wstring settings
14433 );
14434
14445 void modifyLogDestinations (
14446 in wstring settings
14447 );
14448
14463 void readPhysicalMemory (
14464 in long long address,
14465 in unsigned long size,
14466 [retval] out octet[] bytes
14467 );
14468
14483 void writePhysicalMemory (
14484 in long long address,
14485 in unsigned long size,
14486 in octet[] bytes
14487 );
14488
14505 void readVirtualMemory (
14506 in unsigned long cpuId,
14507 in long long address,
14508 in unsigned long size,
14509 [retval] out octet[] bytes
14510 );
14511
14528 void writeVirtualMemory (
14529 in unsigned long cpuId,
14530 in long long address,
14531 in unsigned long size,
14532 in octet[] bytes
14533 );
14534
14547 void detectOS (
14548 [retval] out wstring os
14549 );
14550
14568 void getRegister (
14569 in unsigned long cpuId,
14570 in wstring name,
14571 [retval] out wstring value
14572 );
14573
14591 void getRegisters (
14592 in unsigned long cpuId,
14593 out wstring[] names,
14594 out wstring[] values
14595 );
14596
14615 void setRegister (
14616 in unsigned long cpuId,
14617 in wstring name,
14618 in wstring value
14619 );
14620
14639 void setRegisters (
14640 in unsigned long cpuId,
14641 in wstring[] names,
14642 in wstring[] values
14643 );
14644
14657 void dumpGuestStack (
14658 in unsigned long cpuId,
14659 [retval] out wstring stack
14660 );
14661
14669 void resetStats (
14670 in wstring pattern
14671 );
14672
14680 void dumpStats (
14681 in wstring pattern
14682 );
14683
14695 void getStats (
14696 in wstring pattern,
14697 in boolean withDescriptions,
14698 out wstring stats
14699 );
14700
14701 };
14702
14703 interface IUSBController : $unknown
14704 {
14713 attribute boolean enabled;
14714
14723 attribute boolean enabledEhci;
14724
14730 readonly attribute boolean proxyAvailable;
14731
14739 readonly attribute unsigned short USBStandard;
14740
14766 readonly attribute IUSBDeviceFilter[] deviceFilters;
14767
14795 void createDeviceFilter (
14796 in wstring name,
14797 [retval] out IUSBDeviceFilter filter
14798 );
14799
14844 void insertDeviceFilter (
14845 in unsigned long position,
14846 in IUSBDeviceFilter filter
14847 );
14848
14881 void removeDeviceFilter (
14882 in unsigned long position,
14883 [retval] out IUSBDeviceFilter filter
14884 );
14885
14886 };
14887
14900 interface IUSBDevice : $unknown
14901 {
14908 readonly attribute wstringUUID id;
14909
14913 readonly attribute unsigned short vendorId;
14914
14918 readonly attribute unsigned short productId;
14919
14927 readonly attribute unsigned short revision;
14928
14932 readonly attribute wstring manufacturer;
14933
14937 readonly attribute wstring product;
14938
14942 readonly attribute wstring serialNumber;
14943
14947 readonly attribute wstring address;
14948
14955 readonly attribute unsigned short port;
14956
14962 readonly attribute unsigned short version;
14963
14971 readonly attribute unsigned short portVersion;
14972
14979 readonly attribute boolean remote;
14980
14981 };
14982
15056 interface IUSBDeviceFilter : $unknown
15057 {
15065 attribute wstring name;
15066
15070 attribute boolean active;
15071
15079 attribute wstring vendorId;
15080
15088 attribute wstring productId;
15089
15103 attribute wstring revision;
15104
15109 attribute wstring manufacturer;
15110
15115 attribute wstring product;
15116
15121 attribute wstring serialNumber;
15122
15127 attribute wstring port;
15128
15138 attribute wstring remote;
15139
15149 attribute unsigned long maskedInterfaces;
15150
15151 };
15152
15168 interface IHostUSBDevice : IUSBDevice
15169 {
15175 readonly attribute USBDeviceState state;
15176
15177 };
15178
15201 interface IHostUSBDeviceFilter : IUSBDeviceFilter
15202 {
15209 attribute USBDeviceFilterAction action;
15210
15211 };
15212
15221 interface IAudioAdapter : $unknown
15222 {
15231 attribute boolean enabled;
15232
15238 attribute AudioControllerType audioController;
15239
15246 attribute AudioDriverType audioDriver;
15247
15248 };
15249
15250 interface IVRDEServer : $unknown
15251 {
15255 attribute boolean enabled;
15256
15260 attribute AuthType authType;
15261
15265 attribute unsigned long authTimeout;
15266
15273 attribute boolean allowMultiConnection;
15274
15282 attribute boolean reuseSingleConnection;
15283
15290 attribute wstring VRDEExtPack;
15291
15298 attribute wstring AuthLibrary;
15299
15305 readonly attribute wstring[] VRDEProperties;
15306
15320 void setVRDEProperty (
15321 in wstring key,
15322 in wstring value
15323 );
15324
15338 void getVRDEProperty (
15339 in wstring key,
15340 [retval] out wstring value
15341 );
15342
15343 };
15344
15402 interface ISharedFolder : $unknown
15403 {
15407 readonly attribute wstring name;
15408
15412 readonly attribute wstring hostPath;
15413
15423 readonly attribute boolean accessible;
15424
15431 readonly attribute boolean writable;
15432
15438 readonly attribute boolean autoMount;
15439
15452 readonly attribute wstring lastAccessError;
15453
15454 };
15455
15456 interface IInternalSessionControl : $unknown
15457 {
15462 void getPID (
15463 [retval] out unsigned long pid
15464 );
15465
15487 void getRemoteConsole (
15488 [retval] out IConsole console
15489 );
15490
15514 void assignMachine (
15515 in IMachine machine
15516 );
15517
15532 void assignRemoteMachine (
15533 in IMachine machine,
15534 in IConsole console
15535 );
15536
15560 void updateMachineState (
15561 in MachineState aMachineState
15562 );
15563
15579 void uninitialize();
15580
15603 void onNetworkAdapterChange (
15604 in INetworkAdapter networkAdapter,
15605 in boolean changeAdapter
15606 );
15607
15630 void onSerialPortChange (
15631 in ISerialPort serialPort
15632 );
15633
15656 void onParallelPortChange (
15657 in IParallelPort parallelPort
15658 );
15659
15682 void onStorageControllerChange();
15683
15706 void onMediumChange (
15707 in IMediumAttachment mediumAttachment,
15708 in boolean force
15709 );
15710
15720 void onCPUChange (
15721 in unsigned long cpu,
15722 in boolean add
15723 );
15724
15732 void onCPUExecutionCapChange (
15733 in unsigned long executionCap
15734 );
15735
15760 void onVRDEServerChange (
15761 in boolean restart
15762 );
15763
15786 void onUSBControllerChange();
15787
15816 void onSharedFolderChange (
15817 in boolean global
15818 );
15819
15845 void onUSBDeviceAttach (
15846 in IUSBDevice device,
15847 in IVirtualBoxErrorInfo error,
15848 in unsigned long maskedInterfaces
15849 );
15850
15876 void onUSBDeviceDetach (
15877 in wstringUUID id,
15878 in IVirtualBoxErrorInfo error
15879 );
15880
15898 void onShowWindow (
15899 in boolean check,
15900 out boolean canShow,
15901 out long long winId
15902 );
15903
15911 void onBandwidthGroupChange (
15912 in IBandwidthGroup bandwidthGroup
15913 );
15914
15938 void accessGuestProperty (
15939 in wstring name,
15940 in wstring value,
15941 in wstring flags,
15942 in boolean isSetter,
15943 out wstring retValue,
15944 out long long retTimestamp,
15945 out wstring retFlags
15946 );
15947
15995 void enumerateGuestProperties (
15996 in wstring patterns,
15997 out wstring[] key,
15998 out wstring[] value,
15999 out long long[] timestamp,
16000 out wstring[] flags
16001 );
16002
16048 void onlineMergeMedium (
16049 in IMediumAttachment mediumAttachment,
16050 in unsigned long sourceIdx,
16051 in unsigned long targetIdx,
16052 in IMedium source,
16053 in IMedium target,
16054 in boolean mergeForward,
16055 in IMedium parentForTarget,
16056 in IMedium[] childrenToReparent,
16057 in IProgress progress
16058 );
16059
16060 };
16061
16120 interface ISession : $unknown
16121 {
16125 readonly attribute SessionState state;
16126
16134 readonly attribute SessionType type;
16135
16139 readonly attribute IMachine machine;
16140
16144 readonly attribute IConsole console;
16145
16177 void unlockMachine();
16178
16179 };
16180
16203 interface IStorageController : $unknown
16204 {
16213 readonly attribute wstring name;
16214
16220 readonly attribute unsigned long maxDevicesPerPortCount;
16221
16227 readonly attribute unsigned long minPortCount;
16228
16234 readonly attribute unsigned long maxPortCount;
16235
16241 attribute unsigned long instance;
16242
16251 attribute unsigned long portCount;
16252
16258 readonly attribute StorageBus bus;
16259
16272 attribute StorageControllerType controllerType;
16273
16288 attribute boolean useHostIOCache;
16289
16295 readonly attribute boolean bootable;
16296
16319 void getIDEEmulationPort (
16320 in long devicePosition,
16321 [retval] out long portNumber
16322 );
16323
16347 void setIDEEmulationPort (
16348 in long devicePosition,
16349 in long portNumber
16350 );
16351
16352 };
16353
16377 interface IManagedObjectRef : $unknown
16378 {
16385 void getInterfaceName (
16386 [retval] out wstring return
16387 );
16388
16396 void release();
16397
16398 };
16399
16408 interface IWebsessionManager : $unknown
16409 {
16418 void logon (
16419 in wstring username,
16420 in wstring password,
16421 [retval] out IVirtualBox return
16422 );
16423
16433 void getSessionObject (
16434 in IVirtualBox refIVirtualBox,
16435 [retval] out ISession return
16436 );
16437
16445 void logoff (
16446 in IVirtualBox refIVirtualBox
16447 );
16448
16449 };
16450
16459 interface IPerformanceMetric : $unknown
16460 {
16466 readonly attribute wstring metricName;
16467
16473 readonly attribute $unknown object;
16474
16480 readonly attribute wstring description;
16481
16487 readonly attribute unsigned long period;
16488
16498 readonly attribute unsigned long count;
16499
16505 readonly attribute wstring unit;
16506
16512 readonly attribute long minimumValue;
16513
16519 readonly attribute long maximumValue;
16520
16521 };
16522
16628 interface IPerformanceCollector : $unknown
16629 {
16640 readonly attribute wstring[] metricNames;
16641
16665 void getMetrics (
16666 in wstring[] metricNames,
16667 in $unknown[] objects,
16668 [retval] out IPerformanceMetric[] metrics
16669 );
16670
16709 void setupMetrics (
16710 in wstring[] metricNames,
16711 in $unknown[] objects,
16712 in unsigned long period,
16713 in unsigned long count,
16714 [retval] out IPerformanceMetric[] affectedMetrics
16715 );
16716
16745 void enableMetrics (
16746 in wstring[] metricNames,
16747 in $unknown[] objects,
16748 [retval] out IPerformanceMetric[] affectedMetrics
16749 );
16750
16779 void disableMetrics (
16780 in wstring[] metricNames,
16781 in $unknown[] objects,
16782 [retval] out IPerformanceMetric[] affectedMetrics
16783 );
16784
16873 void queryMetricsData (
16874 in wstring[] metricNames,
16875 in $unknown[] objects,
16876 out wstring[] returnMetricNames,
16877 out $unknown[] returnObjects,
16878 out wstring[] returnUnits,
16879 out unsigned long[] returnScales,
16880 out unsigned long[] returnSequenceNumbers,
16881 out unsigned long[] returnDataIndices,
16882 out unsigned long[] returnDataLengths,
16883 [retval] out long[] returnData
16884 );
16885
16886 };
16887
16895 interface INATEngine : $unknown
16896 {
16901 attribute wstring network;
16902
16909 attribute wstring hostIP;
16910
16915 attribute wstring tftpPrefix;
16916
16921 attribute wstring tftpBootFile;
16922
16930 attribute wstring tftpNextServer;
16931
16935 attribute unsigned long aliasMode;
16936
16940 attribute boolean dnsPassDomain;
16941
16946 attribute boolean dnsProxy;
16947
16952 attribute boolean dnsUseHostResolver;
16953
16958 readonly attribute wstring[] redirects;
16959
16975 void setNetworkSettings (
16976 in unsigned long mtu,
16977 in unsigned long sockSnd,
16978 in unsigned long sockRcv,
16979 in unsigned long TcpWndSnd,
16980 in unsigned long TcpWndRcv
16981 );
16982
16987 void getNetworkSettings (
16988 out unsigned long mtu,
16989 out unsigned long sockSnd,
16990 out unsigned long sockRcv,
16991 out unsigned long TcpWndSnd,
16992 out unsigned long TcpWndRcv
16993 );
16994
17014 void addRedirect (
17015 in wstring name,
17016 in NATProtocol proto,
17017 in wstring hostIp,
17018 in unsigned short hostPort,
17019 in wstring guestIp,
17020 in unsigned short guestPort
17021 );
17022
17028 void removeRedirect (
17029 in wstring name
17030 );
17031
17032 };
17033
17042 interface IExtPackPlugIn : $unknown
17043 {
17047 readonly attribute wstring name;
17048
17052 readonly attribute wstring description;
17053
17059 readonly attribute wstring frontend;
17060
17064 readonly attribute wstring modulePath;
17065
17066 };
17067
17076 interface IExtPackBase : $unknown
17077 {
17081 readonly attribute wstring name;
17082
17086 readonly attribute wstring description;
17087
17096 readonly attribute wstring version;
17097
17101 readonly attribute unsigned long revision;
17102
17106 readonly attribute wstring VRDEModule;
17107
17111 readonly attribute IExtPackPlugIn[] plugIns;
17112
17122 readonly attribute boolean usable;
17123
17130 readonly attribute wstring whyUnusable;
17131
17135 readonly attribute boolean showLicense;
17136
17145 readonly attribute wstring license;
17146
17170 void queryLicense (
17171 in wstring preferredLocale,
17172 in wstring preferredLanguage,
17173 in wstring format,
17174 [retval] out wstring licenseText
17175 );
17176
17177 };
17178
17187 interface IExtPack : IExtPackBase
17188 {
17200 void queryObject (
17201 in wstring objUuid,
17202 [retval] out $unknown returnInterface
17203 );
17204
17205 };
17206
17217 interface IExtPackFile : IExtPackBase
17218 {
17224 readonly attribute wstring filePath;
17225
17245 void install (
17246 in boolean replace,
17247 in wstring displayInfo,
17248 [retval] out IProgress progess
17249 );
17250
17251 };
17252
17263 interface IExtPackManager : $unknown
17264 {
17270 readonly attribute IExtPack[] installedExtPacks;
17271
17289 void find (
17290 in wstring name,
17291 [retval] out IExtPack returnData
17292 );
17293
17304 void openExtPackFile (
17305 in wstring path,
17306 [retval] out IExtPackFile file
17307 );
17308
17328 void uninstall (
17329 in wstring name,
17330 in boolean forcedRemoval,
17331 in wstring displayInfo,
17332 [retval] out IProgress progess
17333 );
17334
17338 void cleanup();
17339
17352 void QueryAllPlugInsForFrontend (
17353 in wstring frontendName,
17354 [retval] out wstring[] plugInModules
17355 );
17356
17362 void IsExtPackUsable (
17363 in wstring name,
17364 [retval] out boolean usable
17365 );
17366
17367 };
17368
17374 interface IBandwidthGroup : $unknown
17375 {
17379 readonly attribute wstring name;
17380
17384 readonly attribute BandwidthGroupType type;
17385
17389 readonly attribute unsigned long reference;
17390
17395 attribute unsigned long maxMbPerSec;
17396
17397 };
17398
17407 interface IBandwidthControl : $unknown
17408 {
17414 readonly attribute unsigned long numGroups;
17415
17428 void CreateBandwidthGroup (
17429 in wstring name,
17430 in BandwidthGroupType type,
17431 in unsigned long maxBytesPerSec
17432 );
17433
17441 void DeleteBandwidthGroup (
17442 in wstring name
17443 );
17444
17454 void GetBandwidthGroup (
17455 in wstring name,
17456 [retval] out IBandwidthGroup bandwidthGroup
17457 );
17458
17466 void GetAllBandwidthGroups (
17467 [retval] out IBandwidthGroup[] bandwidthGroups
17468 );
17469
17470 };
17471
17484 interface IVirtualBoxClient : $unknown
17485 {
17491 readonly attribute IVirtualBox virtualBox;
17492
17498 readonly attribute ISession session;
17499
17505 readonly attribute IEventSource eventSource;
17506
17507 };
17508
17522 interface IEventSource : $unknown
17523 {
17529 void createListener (
17530 [retval] out IEventListener listener
17531 );
17532
17544 void createAggregator (
17545 in IEventSource[] subordinates,
17546 [retval] out IEventSource result
17547 );
17548
17581 void registerListener (
17582 in IEventListener listener,
17583 in VBoxEventType[] interesting,
17584 in boolean active
17585 );
17586
17595 void unregisterListener (
17596 in IEventListener listener
17597 );
17598
17613 void fireEvent (
17614 in IEvent event,
17615 in long timeout,
17616 [retval] out boolean result
17617 );
17618
17643 void getEvent (
17644 in IEventListener listener,
17645 in long timeout,
17646 [retval] out IEvent event
17647 );
17648
17660 void eventProcessed (
17661 in IEventListener listener,
17662 in IEvent event
17663 );
17664
17665 };
17666
17676 interface IEventListener : $unknown
17677 {
17688 void handleEvent (
17689 in IEvent event
17690 );
17691
17692 };
17693
17770 interface IEvent : $unknown
17771 {
17777 readonly attribute VBoxEventType type;
17778
17784 readonly attribute IEventSource source;
17785
17796 readonly attribute boolean waitable;
17797
17804 void setProcessed();
17805
17819 void waitProcessed (
17820 in long timeout,
17821 [retval] out boolean result
17822 );
17823
17824 };
17825
17831 interface IReusableEvent : IEvent
17832 {
17836 readonly attribute unsigned long generation;
17837
17844 void reuse();
17845
17846 };
17847
17853 interface IMachineEvent : IEvent
17854 {
17858 readonly attribute wstringUUID machineId;
17859
17860 };
17861
17867 interface IMachineStateChangedEvent : IMachineEvent
17868 {
17872 readonly attribute MachineState state;
17873
17874 };
17875
17883 interface IMachineDataChangedEvent : IMachineEvent
17884 {
17885 };
17886
17895 interface IMediumRegisteredEvent : IEvent
17896 {
17900 readonly attribute wstringUUID mediumId;
17901
17905 readonly attribute DeviceType mediumType;
17906
17913 readonly attribute boolean registered;
17914
17915 };
17916
17925 interface IMachineRegisteredEvent : IMachineEvent
17926 {
17933 readonly attribute boolean registered;
17934
17935 };
17936
17946 interface ISessionStateChangedEvent : IMachineEvent
17947 {
17953 readonly attribute SessionState state;
17954
17955 };
17956
17964 interface IGuestPropertyChangedEvent : IMachineEvent
17965 {
17971 readonly attribute wstring name;
17972
17978 readonly attribute wstring value;
17979
17985 readonly attribute wstring flags;
17986
17987 };
17988
17994 interface ISnapshotEvent : IMachineEvent
17995 {
17999 readonly attribute wstringUUID snapshotId;
18000
18001 };
18002
18012 interface ISnapshotTakenEvent : ISnapshotEvent
18013 {
18014 };
18015
18032 interface ISnapshotDeletedEvent : ISnapshotEvent
18033 {
18034 };
18035
18045 interface ISnapshotChangedEvent : ISnapshotEvent
18046 {
18047 };
18048
18057 interface IMousePointerShapeChangedEvent : IEvent
18058 {
18064 readonly attribute boolean visible;
18065
18071 readonly attribute boolean alpha;
18072
18078 readonly attribute unsigned long xhot;
18079
18085 readonly attribute unsigned long yhot;
18086
18092 readonly attribute unsigned long width;
18093
18099 readonly attribute unsigned long height;
18100
18133 readonly attribute octet[] shape;
18134
18135 };
18136
18145 interface IMouseCapabilityChangedEvent : IEvent
18146 {
18152 readonly attribute boolean supportsAbsolute;
18153
18159 readonly attribute boolean supportsRelative;
18160
18166 readonly attribute boolean needsHostCursor;
18167
18168 };
18169
18178 interface IKeyboardLedsChangedEvent : IEvent
18179 {
18185 readonly attribute boolean numLock;
18186
18192 readonly attribute boolean capsLock;
18193
18199 readonly attribute boolean scrollLock;
18200
18201 };
18202
18211 interface IStateChangedEvent : IEvent
18212 {
18218 readonly attribute MachineState state;
18219
18220 };
18221
18231 interface IAdditionsStateChangedEvent : IEvent
18232 {
18233 };
18234
18245 interface INetworkAdapterChangedEvent : IEvent
18246 {
18252 readonly attribute INetworkAdapter networkAdapter;
18253
18254 };
18255
18266 interface ISerialPortChangedEvent : IEvent
18267 {
18273 readonly attribute ISerialPort serialPort;
18274
18275 };
18276
18287 interface IParallelPortChangedEvent : IEvent
18288 {
18294 readonly attribute IParallelPort parallelPort;
18295
18296 };
18297
18307 interface IStorageControllerChangedEvent : IEvent
18308 {
18309 };
18310
18320 interface IMediumChangedEvent : IEvent
18321 {
18327 readonly attribute IMediumAttachment mediumAttachment;
18328
18329 };
18330
18338 interface ICPUChangedEvent : IEvent
18339 {
18345 readonly attribute unsigned long cpu;
18346
18352 readonly attribute boolean add;
18353
18354 };
18355
18363 interface ICPUExecutionCapChangedEvent : IEvent
18364 {
18370 readonly attribute unsigned long executionCap;
18371
18372 };
18373
18381 interface IGuestKeyboardEvent : IEvent
18382 {
18388 readonly attribute long[] scancodes;
18389
18390 };
18391
18399 interface IGuestMouseEvent : IReusableEvent
18400 {
18406 readonly attribute boolean absolute;
18407
18413 readonly attribute long x;
18414
18420 readonly attribute long y;
18421
18427 readonly attribute long z;
18428
18434 readonly attribute long w;
18435
18441 readonly attribute long buttons;
18442
18443 };
18444
18455 interface IVRDEServerChangedEvent : IEvent
18456 {
18457 };
18458
18468 interface IVRDEServerInfoChangedEvent : IEvent
18469 {
18470 };
18471
18482 interface IUSBControllerChangedEvent : IEvent
18483 {
18484 };
18485
18509 interface IUSBDeviceStateChangedEvent : IEvent
18510 {
18516 readonly attribute IUSBDevice device;
18517
18523 readonly attribute boolean attached;
18524
18530 readonly attribute IVirtualBoxErrorInfo error;
18531
18532 };
18533
18549 interface ISharedFolderChangedEvent : IEvent
18550 {
18556 readonly attribute Scope scope;
18557
18558 };
18559
18611 interface IRuntimeErrorEvent : IEvent
18612 {
18618 readonly attribute boolean fatal;
18619
18625 readonly attribute wstring id;
18626
18632 readonly attribute wstring message;
18633
18634 };
18635
18643 interface IEventSourceChangedEvent : IEvent
18644 {
18650 readonly attribute IEventListener listener;
18651
18657 readonly attribute boolean add;
18658
18659 };
18660
18669 interface IExtraDataChangedEvent : IEvent
18670 {
18677 readonly attribute wstringUUID machineId;
18678
18684 readonly attribute wstring key;
18685
18691 readonly attribute wstring value;
18692
18693 };
18694
18700 interface IVetoEvent : IEvent
18701 {
18711 void addVeto (
18712 in wstring reason
18713 );
18714
18724 void isVetoed (
18725 [retval] out boolean result
18726 );
18727
18737 void getVetos (
18738 [retval] out wstring[] result
18739 );
18740
18741 };
18742
18752 interface IExtraDataCanChangeEvent : IVetoEvent
18753 {
18760 readonly attribute wstringUUID machineId;
18761
18767 readonly attribute wstring key;
18768
18774 readonly attribute wstring value;
18775
18776 };
18777
18793 interface ICanShowWindowEvent : IVetoEvent
18794 {
18795 };
18796
18828 interface IShowWindowEvent : IEvent
18829 {
18838 attribute long long winId;
18839
18840 };
18841
18849 interface INATRedirectEvent : IMachineEvent
18850 {
18856 readonly attribute unsigned long slot;
18857
18863 readonly attribute boolean remove;
18864
18870 readonly attribute wstring name;
18871
18877 readonly attribute NATProtocol proto;
18878
18884 readonly attribute wstring hostIp;
18885
18891 readonly attribute long hostPort;
18892
18898 readonly attribute wstring guestIp;
18899
18905 readonly attribute long guestPort;
18906
18907 };
18908
18916 interface IHostPciDevicePlugEvent : IMachineEvent
18917 {
18923 readonly attribute boolean plugged;
18924
18931 readonly attribute boolean success;
18932
18938 readonly attribute IPciDeviceAttachment attachment;
18939
18946 readonly attribute IEventContext eventContext;
18947
18953 readonly attribute wstring message;
18954
18955 };
18956
18965 interface IVBoxSVCAvailabilityChangedEvent : IEvent
18966 {
18972 readonly attribute boolean available;
18973
18974 };
18975
18983 interface IBandwidthGroupChangedEvent : IEvent
18984 {
18990 readonly attribute IBandwidthGroup bandwidthGroup;
18991
18992 };
18993
19001 interface IGuestMonitorChangedEvent : IEvent
19002 {
19008 readonly attribute GuestMonitorChangedEventType changeType;
19009
19015 readonly attribute unsigned long screenId;
19016
19023 readonly attribute unsigned long originX;
19024
19031 readonly attribute unsigned long originY;
19032
19039 readonly attribute unsigned long width;
19040
19047 readonly attribute unsigned long height;
19048
19049 };
19050
19051