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;
00227 enum SettingsVersion
00228 {
00233 SettingsVersion_Null = 0,
00238 SettingsVersion_v1_0 = 1,
00243 SettingsVersion_v1_1 = 2,
00248 SettingsVersion_v1_2 = 3,
00253 SettingsVersion_v1_3pre = 4,
00258 SettingsVersion_v1_3 = 5,
00263 SettingsVersion_v1_4 = 6,
00268 SettingsVersion_v1_5 = 7,
00273 SettingsVersion_v1_6 = 8,
00278 SettingsVersion_v1_7 = 9,
00283 SettingsVersion_v1_8 = 10,
00288 SettingsVersion_v1_9 = 11,
00293 SettingsVersion_v1_10 = 12,
00298 SettingsVersion_Future = 13,
00299 };
00300
00308 enum AccessMode
00309 {
00310 AccessMode_ReadOnly = 1,
00311 AccessMode_ReadWrite = 2,
00312 };
00313
00431 enum MachineState
00432 {
00437 MachineState_Null = 0,
00445 MachineState_PoweredOff = 1,
00454 MachineState_Saved = 2,
00463 MachineState_Teleported = 3,
00472 MachineState_Aborted = 4,
00479 MachineState_Running = 5,
00486 MachineState_Paused = 6,
00494 MachineState_Stuck = 7,
00504 MachineState_Teleporting = 8,
00515 MachineState_LiveSnapshotting = 9,
00523 MachineState_Starting = 10,
00531 MachineState_Stopping = 11,
00539 MachineState_Saving = 12,
00547 MachineState_Restoring = 13,
00556 MachineState_TeleportingPausedVM = 14,
00563 MachineState_TeleportingIn = 15,
00570 MachineState_DeletingSnapshotOnline = 16,
00577 MachineState_DeletingSnapshotPaused = 17,
00584 MachineState_RestoringSnapshot = 18,
00592 MachineState_DeletingSnapshot = 19,
00599 MachineState_SettingUp = 20,
00606 MachineState_FirstOnline = 5,
00613 MachineState_LastOnline = 17,
00620 MachineState_FirstTransient = 8,
00627 MachineState_LastTransient = 20,
00628 };
00629
00640 enum SessionState
00641 {
00646 SessionState_Null = 0,
00654 SessionState_Closed = 1,
00662 SessionState_Open = 2,
00673 SessionState_Spawning = 3,
00681 SessionState_Closing = 4,
00682 };
00683
00692 enum CPUPropertyType
00693 {
00698 CPUPropertyType_Null = 0,
00707 CPUPropertyType_PAE = 1,
00715 CPUPropertyType_Synthetic = 2,
00716 };
00717
00727 enum HWVirtExPropertyType
00728 {
00733 HWVirtExPropertyType_Null = 0,
00741 HWVirtExPropertyType_Enabled = 1,
00750 HWVirtExPropertyType_Exclusive = 2,
00757 HWVirtExPropertyType_VPID = 3,
00764 HWVirtExPropertyType_NestedPaging = 4,
00771 HWVirtExPropertyType_LargePages = 5,
00772 };
00773
00782 enum SessionType
00783 {
00788 SessionType_Null = 0,
00796 SessionType_Direct = 1,
00804 SessionType_Remote = 2,
00812 SessionType_Existing = 3,
00813 };
00814
00822 enum DeviceType
00823 {
00831 DeviceType_Null = 0,
00836 DeviceType_Floppy = 1,
00841 DeviceType_DVD = 2,
00846 DeviceType_HardDisk = 3,
00851 DeviceType_Network = 4,
00856 DeviceType_USB = 5,
00861 DeviceType_SharedFolder = 6,
00862 };
00863
00871 enum DeviceActivity
00872 {
00873 DeviceActivity_Null = 0,
00874 DeviceActivity_Idle = 1,
00875 DeviceActivity_Reading = 2,
00876 DeviceActivity_Writing = 3,
00877 };
00878
00886 enum ClipboardMode
00887 {
00888 ClipboardMode_Disabled = 0,
00889 ClipboardMode_HostToGuest = 1,
00890 ClipboardMode_GuestToHost = 2,
00891 ClipboardMode_Bidirectional = 3,
00892 };
00893
00904 enum Scope
00905 {
00906 Scope_Global = 0,
00907 Scope_Machine = 1,
00908 Scope_Session = 2,
00909 };
00910
00918 enum BIOSBootMenuMode
00919 {
00920 BIOSBootMenuMode_Disabled = 0,
00921 BIOSBootMenuMode_MenuOnly = 1,
00922 BIOSBootMenuMode_MessageAndMenu = 2,
00923 };
00924
00932 enum ProcessorFeature
00933 {
00934 ProcessorFeature_HWVirtEx = 0,
00935 ProcessorFeature_PAE = 1,
00936 ProcessorFeature_LongMode = 2,
00937 ProcessorFeature_NestedPaging = 3,
00938 };
00939
00947 enum FirmwareType
00948 {
00953 FirmwareType_BIOS = 1,
00958 FirmwareType_EFI = 2,
00963 FirmwareType_EFI32 = 3,
00968 FirmwareType_EFI64 = 4,
00973 FirmwareType_EFIDUAL = 5,
00974 };
00975
00983 enum PointingHidType
00984 {
00989 PointingHidType_None = 1,
00994 PointingHidType_PS2Mouse = 2,
00999 PointingHidType_USBMouse = 3,
01004 PointingHidType_USBTablet = 4,
01010 PointingHidType_ComboMouse = 5,
01011 };
01012
01020 enum KeyboardHidType
01021 {
01026 KeyboardHidType_None = 1,
01031 KeyboardHidType_PS2Keyboard = 2,
01036 KeyboardHidType_USBKeyboard = 3,
01042 KeyboardHidType_ComboKeyboard = 4,
01043 };
01044
01052 enum IoMgrType
01053 {
01059 IoMgrType_Simple = 1,
01065 IoMgrType_Async = 2,
01066 };
01067
01075 enum IoBackendType
01076 {
01083 IoBackendType_Buffered = 1,
01091 IoBackendType_Unbuffered = 2,
01092 };
01093
01101 enum VFSType
01102 {
01103 VFSType_File = 1,
01104 VFSType_Cloud = 2,
01105 VFSType_S3 = 3,
01106 VFSType_WebDav = 4,
01107 };
01108
01116 enum VFSFileType
01117 {
01118 VFSFileType_Unknown = 1,
01119 VFSFileType_Fifo = 2,
01120 VFSFileType_DevChar = 3,
01121 VFSFileType_Directory = 4,
01122 VFSFileType_DevBlock = 5,
01123 VFSFileType_File = 6,
01124 VFSFileType_SymLink = 7,
01125 VFSFileType_Socket = 8,
01126 VFSFileType_WhiteOut = 9,
01127 };
01128
01135 enum VirtualSystemDescriptionType
01136 {
01137 VirtualSystemDescriptionType_Ignore = 1,
01138 VirtualSystemDescriptionType_OS = 2,
01139 VirtualSystemDescriptionType_Name = 3,
01140 VirtualSystemDescriptionType_Product = 4,
01141 VirtualSystemDescriptionType_Vendor = 5,
01142 VirtualSystemDescriptionType_Version = 6,
01143 VirtualSystemDescriptionType_ProductUrl = 7,
01144 VirtualSystemDescriptionType_VendorUrl = 8,
01145 VirtualSystemDescriptionType_Description = 9,
01146 VirtualSystemDescriptionType_License = 10,
01147 VirtualSystemDescriptionType_Miscellaneous = 11,
01148 VirtualSystemDescriptionType_CPU = 12,
01149 VirtualSystemDescriptionType_Memory = 13,
01150 VirtualSystemDescriptionType_HardDiskControllerIDE = 14,
01151 VirtualSystemDescriptionType_HardDiskControllerSATA = 15,
01152 VirtualSystemDescriptionType_HardDiskControllerSCSI = 16,
01153 VirtualSystemDescriptionType_HardDiskImage = 17,
01154 VirtualSystemDescriptionType_Floppy = 18,
01155 VirtualSystemDescriptionType_CDROM = 19,
01156 VirtualSystemDescriptionType_NetworkAdapter = 20,
01157 VirtualSystemDescriptionType_USBController = 21,
01158 VirtualSystemDescriptionType_SoundCard = 22,
01159 };
01160
01167 enum VirtualSystemDescriptionValueType
01168 {
01169 VirtualSystemDescriptionValueType_Reference = 1,
01170 VirtualSystemDescriptionValueType_Original = 2,
01171 VirtualSystemDescriptionValueType_Auto = 3,
01172 VirtualSystemDescriptionValueType_ExtraConfig = 4,
01173 };
01174
01185 enum HostNetworkInterfaceMediumType
01186 {
01193 HostNetworkInterfaceMediumType_Unknown = 0,
01200 HostNetworkInterfaceMediumType_Ethernet = 1,
01207 HostNetworkInterfaceMediumType_PPP = 2,
01214 HostNetworkInterfaceMediumType_SLIP = 3,
01215 };
01216
01226 enum HostNetworkInterfaceStatus
01227 {
01234 HostNetworkInterfaceStatus_Unknown = 0,
01241 HostNetworkInterfaceStatus_Up = 1,
01248 HostNetworkInterfaceStatus_Down = 2,
01249 };
01250
01258 enum HostNetworkInterfaceType
01259 {
01260 HostNetworkInterfaceType_Bridged = 1,
01261 HostNetworkInterfaceType_HostOnly = 2,
01262 };
01263
01273 enum MediumState
01274 {
01282 MediumState_NotCreated = 0,
01291 MediumState_Created = 1,
01299 MediumState_LockedRead = 2,
01307 MediumState_LockedWrite = 3,
01317 MediumState_Inaccessible = 4,
01324 MediumState_Creating = 5,
01331 MediumState_Deleting = 6,
01332 };
01333
01343 enum MediumType
01344 {
01352 MediumType_Normal = 0,
01360 MediumType_Immutable = 1,
01368 MediumType_Writethrough = 2,
01369 };
01370
01380 enum MediumVariant
01381 {
01388 MediumVariant_Standard = 0,
01395 MediumVariant_VmdkSplit2G = 0x01,
01403 MediumVariant_VmdkStreamOptimized = 0x04,
01410 MediumVariant_VmdkESX = 0x08,
01417 MediumVariant_Fixed = 0x10000,
01424 MediumVariant_Diff = 0x20000,
01425 };
01426
01427 enum DataType
01428 {
01429 DataType_Int32 = 0,
01430 DataType_Int8 = 1,
01431 DataType_String = 2,
01432 };
01433
01434 enum DataFlags
01435 {
01436 DataFlags_None = 0x00,
01437 DataFlags_Mandatory = 0x01,
01438 DataFlags_Expert = 0x02,
01439 DataFlags_Array = 0x04,
01440 DataFlags_FlagMask = 0x07,
01441 };
01442
01450 enum MediumFormatCapabilities
01451 {
01458 MediumFormatCapabilities_Uuid = 0x01,
01465 MediumFormatCapabilities_CreateFixed = 0x02,
01473 MediumFormatCapabilities_CreateDynamic = 0x04,
01480 MediumFormatCapabilities_CreateSplit2G = 0x08,
01487 MediumFormatCapabilities_Differencing = 0x10,
01494 MediumFormatCapabilities_Asynchronous = 0x20,
01504 MediumFormatCapabilities_File = 0x40,
01513 MediumFormatCapabilities_Properties = 0x80,
01514 MediumFormatCapabilities_CapabilityMask = 0xFF,
01515 };
01516
01524 enum MouseButtonState
01525 {
01526 MouseButtonState_LeftButton = 0x01,
01527 MouseButtonState_RightButton = 0x02,
01528 MouseButtonState_MiddleButton = 0x04,
01529 MouseButtonState_WheelUp = 0x08,
01530 MouseButtonState_WheelDown = 0x10,
01531 MouseButtonState_XButton1 = 0x20,
01532 MouseButtonState_XButton2 = 0x40,
01533 MouseButtonState_MouseStateMask = 0x7F,
01534 };
01535
01546 enum FramebufferPixelFormat
01547 {
01555 FramebufferPixelFormat_Opaque = 0,
01563 FramebufferPixelFormat_FOURCC_RGB = 0x32424752,
01564 };
01565
01573 enum NetworkAttachmentType
01574 {
01579 NetworkAttachmentType_Null = 0,
01580 NetworkAttachmentType_NAT = 1,
01581 NetworkAttachmentType_Bridged = 2,
01582 NetworkAttachmentType_Internal = 3,
01583 NetworkAttachmentType_HostOnly = 4,
01584 NetworkAttachmentType_VDE = 5,
01585 };
01586
01594 enum NetworkAdapterType
01595 {
01600 NetworkAdapterType_Null = 0,
01605 NetworkAdapterType_Am79C970A = 1,
01610 NetworkAdapterType_Am79C973 = 2,
01615 NetworkAdapterType_I82540EM = 3,
01620 NetworkAdapterType_I82543GC = 4,
01625 NetworkAdapterType_I82545EM = 5,
01630 NetworkAdapterType_Virtio = 6,
01631 };
01632
01641 enum PortMode
01642 {
01647 PortMode_Disconnected = 0,
01652 PortMode_HostPipe = 1,
01657 PortMode_HostDevice = 2,
01662 PortMode_RawFile = 3,
01663 };
01664
01703 enum USBDeviceState
01704 {
01711 USBDeviceState_NotSupported = 0,
01719 USBDeviceState_Unavailable = 1,
01726 USBDeviceState_Busy = 2,
01734 USBDeviceState_Available = 3,
01742 USBDeviceState_Held = 4,
01750 USBDeviceState_Captured = 5,
01751 };
01752
01762 enum USBDeviceFilterAction
01763 {
01768 USBDeviceFilterAction_Null = 0,
01773 USBDeviceFilterAction_Ignore = 1,
01778 USBDeviceFilterAction_Hold = 2,
01779 };
01780
01788 enum AudioDriverType
01789 {
01794 AudioDriverType_Null = 0,
01799 AudioDriverType_WinMM = 1,
01804 AudioDriverType_OSS = 2,
01809 AudioDriverType_ALSA = 3,
01814 AudioDriverType_DirectSound = 4,
01819 AudioDriverType_CoreAudio = 5,
01824 AudioDriverType_MMPM = 6,
01829 AudioDriverType_Pulse = 7,
01834 AudioDriverType_SolAudio = 8,
01835 };
01836
01844 enum AudioControllerType
01845 {
01846 AudioControllerType_AC97 = 0,
01847 AudioControllerType_SB16 = 1,
01848 };
01849
01857 enum VRDPAuthType
01858 {
01863 VRDPAuthType_Null = 0,
01864 VRDPAuthType_External = 1,
01865 VRDPAuthType_Guest = 2,
01866 };
01867
01876 enum StorageBus
01877 {
01882 StorageBus_Null = 0,
01883 StorageBus_IDE = 1,
01884 StorageBus_SATA = 2,
01885 StorageBus_SCSI = 3,
01886 StorageBus_Floppy = 4,
01887 StorageBus_SAS = 5,
01888 };
01889
01898 enum StorageControllerType
01899 {
01904 StorageControllerType_Null = 0,
01909 StorageControllerType_LsiLogic = 1,
01914 StorageControllerType_BusLogic = 2,
01919 StorageControllerType_IntelAhci = 3,
01924 StorageControllerType_PIIX3 = 4,
01929 StorageControllerType_PIIX4 = 5,
01934 StorageControllerType_ICH6 = 6,
01939 StorageControllerType_I82078 = 7,
01944 StorageControllerType_LsiLogicSas = 8,
01945 };
01946
01952 enum NATAliasMode
01953 {
01958 NATAliasMode_AliasLog = 0x1,
01963 NATAliasMode_AliasProxyOnly = 0x02,
01968 NATAliasMode_AliasUseSamePorts = 0x04,
01969 };
01970
01976 enum NATProtocol
01977 {
01982 NATProtocol_UDP = 0,
01987 NATProtocol_TCP = 1,
01988 };
01989
02022 interface IVirtualBoxErrorInfo : $errorinfo
02023 {
02041 readonly attribute long resultCode;
02042
02054 readonly attribute wstringUUID interfaceID;
02055
02066 readonly attribute wstring component;
02067
02078 readonly attribute wstring text;
02079
02090 readonly attribute IVirtualBoxErrorInfo next;
02091
02092 };
02093
02106 interface ILocalOwner : $unknown
02107 {
02116 void setLocalObject (
02117 in $unknown object
02118 );
02119
02120 };
02121
02122 interface IVirtualBoxCallback : $unknown
02123 {
02135 void onMachineStateChange (
02136 in wstringUUID machineId,
02137 in MachineState state
02138 );
02139
02147 void onMachineDataChange (
02148 in wstringUUID machineId
02149 );
02150
02181 void onExtraDataCanChange (
02182 in wstringUUID machineId,
02183 in wstring key,
02184 in wstring value,
02185 out wstring error,
02186 [retval] out boolean allowChange
02187 );
02188
02208 void onExtraDataChange (
02209 in wstringUUID machineId,
02210 in wstring key,
02211 in wstring value
02212 );
02213
02251 void onMediumRegistered (
02252 in wstringUUID mediumId,
02253 in DeviceType mediumType,
02254 in boolean registered
02255 );
02256
02270 void onMachineRegistered (
02271 in wstringUUID machineId,
02272 in boolean registered
02273 );
02274
02286 void onSessionStateChange (
02287 in wstringUUID machineId,
02288 in SessionState state
02289 );
02290
02302 void onSnapshotTaken (
02303 in wstringUUID machineId,
02304 in wstringUUID snapshotId
02305 );
02306
02328 void onSnapshotDeleted (
02329 in wstringUUID machineId,
02330 in wstringUUID snapshotId
02331 );
02332
02344 void onSnapshotChange (
02345 in wstringUUID machineId,
02346 in wstringUUID snapshotId
02347 );
02348
02370 void onGuestPropertyChange (
02371 in wstringUUID machineId,
02372 in wstring name,
02373 in wstring value,
02374 in wstring flags
02375 );
02376
02377 };
02378
02389 interface IDHCPServer : $unknown
02390 {
02396 attribute boolean enabled;
02397
02403 readonly attribute wstring IPAddress;
02404
02410 readonly attribute wstring networkMask;
02411
02417 readonly attribute wstring networkName;
02418
02424 readonly attribute wstring lowerIP;
02425
02431 readonly attribute wstring upperIP;
02432
02461 void setConfiguration (
02462 in wstring IPAddress,
02463 in wstring networkMask,
02464 in wstring FromIPAddress,
02465 in wstring ToIPAddress
02466 );
02467
02492 void start (
02493 in wstring networkName,
02494 in wstring trunkName,
02495 in wstring trunkType
02496 );
02497
02510 void stop();
02511
02512 };
02513
02532 interface IVirtualBox : $unknown
02533 {
02541 readonly attribute wstring version;
02542
02548 readonly attribute unsigned long revision;
02549
02559 readonly attribute wstring packageType;
02560
02576 readonly attribute wstring homeFolder;
02577
02585 readonly attribute wstring settingsFilePath;
02586
02590 readonly attribute IHost host;
02591
02595 readonly attribute ISystemProperties systemProperties;
02596
02602 readonly attribute IMachine[] machines;
02603
02613 readonly attribute IMedium[] hardDisks;
02614
02620 readonly attribute IMedium[] DVDImages;
02621
02627 readonly attribute IMedium[] floppyImages;
02628
02629 readonly attribute IProgress[] progressOperations;
02630
02631 readonly attribute IGuestOSType[] guestOSTypes;
02632
02649 readonly attribute ISharedFolder[] sharedFolders;
02650
02656 readonly attribute IPerformanceCollector performanceCollector;
02657
02663 readonly attribute IDHCPServer[] DHCPServers;
02664
02768 void createMachine (
02769 in wstring name,
02770 in wstring osTypeId,
02771 in wstring baseFolder,
02772 in wstringUUID id,
02773 in boolean override,
02774 [retval] out IMachine machine
02775 );
02776
02840 void createLegacyMachine (
02841 in wstring name,
02842 in wstring osTypeId,
02843 in wstring settingsFile,
02844 in wstringUUID id,
02845 [retval] out IMachine machine
02846 );
02847
02875 void openMachine (
02876 in wstring settingsFile,
02877 [retval] out IMachine machine
02878 );
02879
02912 void registerMachine (
02913 in IMachine machine
02914 );
02915
02931 void getMachine (
02932 in wstringUUID id,
02933 [retval] out IMachine machine
02934 );
02935
02951 void findMachine (
02952 in wstring name,
02953 [retval] out IMachine machine
02954 );
02955
03010 void unregisterMachine (
03011 in wstringUUID id,
03012 [retval] out IMachine machine
03013 );
03014
03024 void createAppliance (
03025 [retval] out IAppliance appliance
03026 );
03027
03093 void createHardDisk (
03094 in wstring format,
03095 in wstring location,
03096 [retval] out IMedium medium
03097 );
03098
03186 void openHardDisk (
03187 in wstring location,
03188 in AccessMode accessMode,
03189 in boolean setImageId,
03190 in wstringUUID imageId,
03191 in boolean setParentId,
03192 in wstringUUID parentId,
03193 [retval] out IMedium medium
03194 );
03195
03217 void getHardDisk (
03218 in wstringUUID id,
03219 [retval] out IMedium medium
03220 );
03221
03254 void findHardDisk (
03255 in wstring location,
03256 [retval] out IMedium medium
03257 );
03258
03308 void openDVDImage (
03309 in wstring location,
03310 in wstringUUID id,
03311 [retval] out IMedium image
03312 );
03313
03334 void getDVDImage (
03335 in wstringUUID id,
03336 [retval] out IMedium image
03337 );
03338
03377 void findDVDImage (
03378 in wstring location,
03379 [retval] out IMedium image
03380 );
03381
03431 void openFloppyImage (
03432 in wstring location,
03433 in wstringUUID id,
03434 [retval] out IMedium image
03435 );
03436
03457 void getFloppyImage (
03458 in wstringUUID id,
03459 [retval] out IMedium image
03460 );
03461
03500 void findFloppyImage (
03501 in wstring location,
03502 [retval] out IMedium image
03503 );
03504
03533 void getGuestOSType (
03534 in wstringUUID id,
03535 [retval] out IGuestOSType type
03536 );
03537
03557 void createSharedFolder (
03558 in wstring name,
03559 in wstring hostPath,
03560 in boolean writable
03561 );
03562
03577 void removeSharedFolder (
03578 in wstring name
03579 );
03580
03589 void getExtraDataKeys (
03590 [retval] out wstring[] value
03591 );
03592
03621 void getExtraData (
03622 in wstring key,
03623 [retval] out wstring value
03624 );
03625
03675 void setExtraData (
03676 in wstring key,
03677 in wstring value
03678 );
03679
03776 void openSession (
03777 in ISession session,
03778 in wstringUUID machineId
03779 );
03780
03904 void openRemoteSession (
03905 in ISession session,
03906 in wstringUUID machineId,
03907 in wstring type,
03908 in wstring environment,
03909 [retval] out IProgress progress
03910 );
03911
03981 void openExistingSession (
03982 in ISession session,
03983 in wstringUUID machineId
03984 );
03985
04003 void registerCallback (
04004 in IVirtualBoxCallback callback
04005 );
04006
04022 void unregisterCallback (
04023 in IVirtualBoxCallback callback
04024 );
04025
04113 void waitForPropertyChange (
04114 in wstring what,
04115 in unsigned long timeout,
04116 out wstring changed,
04117 out wstring values
04118 );
04119
04136 void createDHCPServer (
04137 in wstring name,
04138 [retval] out IDHCPServer server
04139 );
04140
04157 void findDHCPServerByNetworkName (
04158 in wstring name,
04159 [retval] out IDHCPServer server
04160 );
04161
04176 void removeDHCPServer (
04177 in IDHCPServer server
04178 );
04179
04204 void checkFirmwarePresent (
04205 in FirmwareType firmwareType,
04206 in wstring version,
04207 out wstring url,
04208 out wstring file,
04209 [retval] out boolean result
04210 );
04211
04212 };
04213
04224 interface IVFSExplorer : $unknown
04225 {
04229 readonly attribute wstring path;
04230
04234 readonly attribute VFSType type;
04235
04243 void update (
04244 [retval] out IProgress aProgress
04245 );
04246
04254 void cd (
04255 in wstring aDir,
04256 [retval] out IProgress aProgress
04257 );
04258
04264 void cdUp (
04265 [retval] out IProgress aProgress
04266 );
04267
04276 void entryList (
04277 out wstring[] aNames,
04278 out unsigned long[] aTypes
04279 );
04280
04289 void exists (
04290 in wstring[] aNames,
04291 [retval] out wstring[] aExists
04292 );
04293
04301 void remove (
04302 in wstring[] aNames,
04303 [retval] out IProgress aProgress
04304 );
04305
04306 };
04307
04372 interface IAppliance : $unknown
04373 {
04381 readonly attribute wstring path;
04382
04413 readonly attribute wstring[] disks;
04414
04422 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04423
04440 void read (
04441 in wstring file,
04442 [retval] out IProgress aProgress
04443 );
04444
04461 void interpret();
04462
04480 void importMachines (
04481 [retval] out IProgress aProgress
04482 );
04483
04491 void createVFSExplorer (
04492 in wstring aUri,
04493 [retval] out IVFSExplorer aExplorer
04494 );
04495
04520 void write (
04521 in wstring format,
04522 in wstring path,
04523 [retval] out IProgress aProgress
04524 );
04525
04531 void getWarnings (
04532 [retval] out wstring[] aWarnings
04533 );
04534
04535 };
04536
04547 interface IVirtualSystemDescription : $unknown
04548 {
04552 readonly attribute unsigned long count;
04553
04675 void getDescription (
04676 out VirtualSystemDescriptionType[] aTypes,
04677 out wstring[] aRefs,
04678 out wstring[] aOvfValues,
04679 out wstring[] aVBoxValues,
04680 out wstring[] aExtraConfigValues
04681 );
04682
04699 void getDescriptionByType (
04700 in VirtualSystemDescriptionType aType,
04701 out VirtualSystemDescriptionType[] aTypes,
04702 out wstring[] aRefs,
04703 out wstring[] aOvfValues,
04704 out wstring[] aVBoxValues,
04705 out wstring[] aExtraConfigValues
04706 );
04707
04719 void getValuesByType (
04720 in VirtualSystemDescriptionType aType,
04721 in VirtualSystemDescriptionValueType aWhich,
04722 [retval] out wstring[] aValues
04723 );
04724
04750 void setFinalValues (
04751 in boolean[] aEnabled,
04752 in wstring[] aVBoxValues,
04753 in wstring[] aExtraConfigValues
04754 );
04755
04770 void addDescription (
04771 in VirtualSystemDescriptionType aType,
04772 in wstring aVBoxValue,
04773 in wstring aExtraConfigValue
04774 );
04775
04776 };
04777
04778 interface IInternalMachineControl : $unknown
04779 {
04786 void setRemoveSavedState (
04787 in boolean aRemove
04788 );
04789
04801 void updateState (
04802 in MachineState state
04803 );
04804
04805 void getIPCId (
04806 [retval] out wstring id
04807 );
04808
04818 void setPowerUpInfo (
04819 in IVirtualBoxErrorInfo error
04820 );
04821
04835 void runUSBDeviceFilters (
04836 in IUSBDevice device,
04837 out boolean matched,
04838 out unsigned long maskedInterfaces
04839 );
04840
04849 void captureUSBDevice (
04850 in wstringUUID id
04851 );
04852
04868 void detachUSBDevice (
04869 in wstringUUID id,
04870 in boolean done
04871 );
04872
04881 void autoCaptureUSBDevices();
04882
04898 void detachAllUSBDevices (
04899 in boolean done
04900 );
04901
04916 void onSessionEnd (
04917 in ISession session,
04918 [retval] out IProgress progress
04919 );
04920
04936 void beginSavingState (
04937 in IProgress progress,
04938 out wstring stateFilePath
04939 );
04940
04967 void endSavingState (
04968 in boolean success
04969 );
04970
04985 void adoptSavedState (
04986 in wstring savedStateFile
04987 );
04988
05037 void beginTakingSnapshot (
05038 in IConsole initiator,
05039 in wstring name,
05040 in wstring description,
05041 in IProgress consoleProgress,
05042 in boolean fTakingSnapshotOnline,
05043 out wstring stateFilePath
05044 );
05045
05055 void endTakingSnapshot (
05056 in boolean success
05057 );
05058
05079 void deleteSnapshot (
05080 in IConsole initiator,
05081 in wstringUUID id,
05082 out MachineState machineState,
05083 [retval] out IProgress progress
05084 );
05085
05104 void finishOnlineMergeMedium (
05105 in IMediumAttachment mediumAttachment,
05106 in IMedium source,
05107 in IMedium target,
05108 in boolean mergeForward,
05109 in IMedium parentForTarget,
05110 in IMedium[] childrenToReparent
05111 );
05112
05126 void restoreSnapshot (
05127 in IConsole initiator,
05128 in ISnapshot snapshot,
05129 out MachineState machineState,
05130 [retval] out IProgress progress
05131 );
05132
05159 void pullGuestProperties (
05160 out wstring[] name,
05161 out wstring[] value,
05162 out unsigned long long[] timestamp,
05163 out wstring[] flags
05164 );
05165
05187 void pushGuestProperty (
05188 in wstring name,
05189 in wstring value,
05190 in unsigned long long timestamp,
05191 in wstring flags
05192 );
05193
05205 void lockMedia();
05206
05216 void unlockMedia();
05217
05218 };
05219
05228 interface IBIOSSettings : $unknown
05229 {
05233 attribute boolean logoFadeIn;
05234
05238 attribute boolean logoFadeOut;
05239
05243 attribute unsigned long logoDisplayTime;
05244
05251 attribute wstring logoImagePath;
05252
05256 attribute BIOSBootMenuMode bootMenuMode;
05257
05261 attribute boolean ACPIEnabled;
05262
05269 attribute boolean IOAPICEnabled;
05270
05280 attribute long long timeOffset;
05281
05288 attribute boolean PXEDebugEnabled;
05289
05290 };
05291
05332 interface IMachine : $unknown
05333 {
05337 readonly attribute IVirtualBox parent;
05338
05388 readonly attribute boolean accessible;
05389
05401 readonly attribute IVirtualBoxErrorInfo accessError;
05402
05448 attribute wstring name;
05449
05460 attribute wstring description;
05461
05465 readonly attribute wstringUUID id;
05466
05481 attribute wstring OSTypeId;
05482
05486 attribute wstring HardwareVersion;
05487
05497 attribute wstringUUID hardwareUUID;
05498
05502 attribute unsigned long CPUCount;
05503
05509 attribute boolean CPUHotPlugEnabled;
05510
05514 attribute unsigned long memorySize;
05515
05519 attribute unsigned long memoryBalloonSize;
05520
05524 attribute unsigned long VRAMSize;
05525
05531 attribute boolean accelerate3DEnabled;
05532
05538 attribute boolean accelerate2DVideoEnabled;
05539
05550 attribute unsigned long monitorCount;
05551
05555 readonly attribute IBIOSSettings BIOSSettings;
05556
05561 attribute FirmwareType firmwareType;
05562
05568 attribute PointingHidType pointingHidType;
05569
05575 attribute KeyboardHidType keyboardHidType;
05576
05583 attribute boolean hpetEnabled;
05584
05618 attribute wstring snapshotFolder;
05619
05623 readonly attribute IVRDPServer VRDPServer;
05624
05628 readonly attribute IMediumAttachment[] mediumAttachments;
05629
05641 readonly attribute IUSBController USBController;
05642
05646 readonly attribute IAudioAdapter audioAdapter;
05647
05651 readonly attribute IStorageController[] storageControllers;
05652
05658 readonly attribute wstring settingsFilePath;
05659
05684 readonly attribute boolean settingsModified;
05685
05689 readonly attribute SessionState sessionState;
05690
05703 readonly attribute wstring sessionType;
05704
05716 readonly attribute unsigned long sessionPid;
05717
05721 readonly attribute MachineState state;
05722
05729 readonly attribute long long lastStateChange;
05730
05742 readonly attribute wstring stateFilePath;
05743
05753 readonly attribute wstring logFolder;
05754
05765 readonly attribute ISnapshot currentSnapshot;
05766
05773 readonly attribute unsigned long snapshotCount;
05774
05808 readonly attribute boolean currentStateModified;
05809
05821 readonly attribute ISharedFolder[] sharedFolders;
05822
05829 attribute ClipboardMode clipboardMode;
05830
05838 attribute wstring guestPropertyNotificationPatterns;
05839
05848 attribute boolean teleporterEnabled;
05849
05860 attribute unsigned long teleporterPort;
05861
05868 attribute wstring teleporterAddress;
05869
05877 attribute wstring teleporterPassword;
05878
05886 attribute boolean RTCUseUTC;
05887
05893 attribute IoMgrType ioMgr;
05894
05900 attribute IoBackendType ioBackend;
05901
05908 attribute boolean ioCacheEnabled;
05909
05915 attribute unsigned long ioCacheSize;
05916
05923 attribute unsigned long ioBandwidthMax;
05924
05962 void setBootOrder (
05963 in unsigned long position,
05964 in DeviceType device
05965 );
05966
06001 void getBootOrder (
06002 in unsigned long position,
06003 [retval] out DeviceType device
06004 );
06005
06100 void attachDevice (
06101 in wstring name,
06102 in long controllerPort,
06103 in long device,
06104 in DeviceType type,
06105 in wstringUUID id
06106 );
06107
06160 void detachDevice (
06161 in wstring name,
06162 in long controllerPort,
06163 in long device
06164 );
06165
06208 void passthroughDevice (
06209 in wstring name,
06210 in long controllerPort,
06211 in long device,
06212 in boolean passthrough
06213 );
06214
06278 void mountMedium (
06279 in wstring name,
06280 in long controllerPort,
06281 in long device,
06282 in wstringUUID medium,
06283 in boolean force
06284 );
06285
06314 void getMedium (
06315 in wstring name,
06316 in long controllerPort,
06317 in long device,
06318 [retval] out IMedium medium
06319 );
06320
06335 void getMediumAttachmentsOfController (
06336 in wstring name,
06337 [retval] out IMediumAttachment[] mediumAttachments
06338 );
06339
06354 void getMediumAttachment (
06355 in wstring name,
06356 in long controllerPort,
06357 in long device,
06358 [retval] out IMediumAttachment attachment
06359 );
06360
06378 void getNetworkAdapter (
06379 in unsigned long slot,
06380 [retval] out INetworkAdapter adapter
06381 );
06382
06415 void addStorageController (
06416 in wstring name,
06417 in StorageBus connectionType,
06418 [retval] out IStorageController controller
06419 );
06420
06434 void getStorageControllerByName (
06435 in wstring name,
06436 [retval] out IStorageController storageController
06437 );
06438
06452 void getStorageControllerByInstance (
06453 in unsigned long instance,
06454 [retval] out IStorageController storageController
06455 );
06456
06470 void removeStorageController (
06471 in wstring name
06472 );
06473
06491 void getSerialPort (
06492 in unsigned long slot,
06493 [retval] out ISerialPort port
06494 );
06495
06513 void getParallelPort (
06514 in unsigned long slot,
06515 [retval] out IParallelPort port
06516 );
06517
06526 void getExtraDataKeys (
06527 [retval] out wstring[] value
06528 );
06529
06558 void getExtraData (
06559 in wstring key,
06560 [retval] out wstring value
06561 );
06562
06612 void setExtraData (
06613 in wstring key,
06614 in wstring value
06615 );
06616
06638 void getCPUProperty (
06639 in CPUPropertyType property,
06640 [retval] out boolean value
06641 );
06642
06664 void setCPUProperty (
06665 in CPUPropertyType property,
06666 in boolean value
06667 );
06668
06708 void getCPUIDLeaf (
06709 in unsigned long id,
06710 out unsigned long valEax,
06711 out unsigned long valEbx,
06712 out unsigned long valEcx,
06713 out unsigned long valEdx
06714 );
06715
06759 void setCPUIDLeaf (
06760 in unsigned long id,
06761 in unsigned long valEax,
06762 in unsigned long valEbx,
06763 in unsigned long valEcx,
06764 in unsigned long valEdx
06765 );
06766
06784 void removeCPUIDLeaf (
06785 in unsigned long id
06786 );
06787
06793 void removeAllCPUIDLeaves();
06794
06816 void getHWVirtExProperty (
06817 in HWVirtExPropertyType property,
06818 [retval] out boolean value
06819 );
06820
06842 void setHWVirtExProperty (
06843 in HWVirtExPropertyType property,
06844 in boolean value
06845 );
06846
06892 void saveSettings();
06893
06917 void discardSettings();
06918
06960 void deleteSettings();
06961
06971 void export (
06972 in IAppliance aAppliance,
06973 [retval] out IVirtualSystemDescription aDescription
06974 );
06975
06996 void getSnapshot (
06997 in wstringUUID id,
06998 [retval] out ISnapshot snapshot
06999 );
07000
07018 void findSnapshot (
07019 in wstring name,
07020 [retval] out ISnapshot snapshot
07021 );
07022
07035 void setCurrentSnapshot (
07036 in wstringUUID id
07037 );
07038
07069 void createSharedFolder (
07070 in wstring name,
07071 in wstring hostPath,
07072 in boolean writable
07073 );
07074
07100 void removeSharedFolder (
07101 in wstring name
07102 );
07103
07127 void canShowConsoleWindow (
07128 [retval] out boolean canShow
07129 );
07130
07165 void showConsoleWindow (
07166 [retval] out unsigned long long winId
07167 );
07168
07201 void getGuestProperty (
07202 in wstring name,
07203 out wstring value,
07204 out unsigned long long timestamp,
07205 out wstring flags
07206 );
07207
07230 void getGuestPropertyValue (
07231 in wstring property,
07232 [retval] out wstring value
07233 );
07234
07257 void getGuestPropertyTimestamp (
07258 in wstring property,
07259 [retval] out unsigned long long value
07260 );
07261
07312 void setGuestProperty (
07313 in wstring property,
07314 in wstring value,
07315 in wstring flags
07316 );
07317
07358 void setGuestPropertyValue (
07359 in wstring property,
07360 in wstring value
07361 );
07362
07393 void enumerateGuestProperties (
07394 in wstring patterns,
07395 out wstring[] name,
07396 out wstring[] value,
07397 out unsigned long long[] timestamp,
07398 out wstring[] flags
07399 );
07400
07418 void querySavedThumbnailSize (
07419 out unsigned long size,
07420 out unsigned long width,
07421 out unsigned long height
07422 );
07423
07446 void readSavedThumbnailToArray (
07447 in boolean BGR,
07448 out unsigned long width,
07449 out unsigned long height,
07450 [retval] out octet[] data
07451 );
07452
07470 void querySavedScreenshotPNGSize (
07471 out unsigned long size,
07472 out unsigned long width,
07473 out unsigned long height
07474 );
07475
07493 void readSavedScreenshotPNGToArray (
07494 out unsigned long width,
07495 out unsigned long height,
07496 [retval] out octet[] data
07497 );
07498
07508 void hotPlugCPU (
07509 in unsigned long cpu
07510 );
07511
07521 void hotUnplugCPU (
07522 in unsigned long cpu
07523 );
07524
07538 void getCPUStatus (
07539 in unsigned long cpu,
07540 [retval] out boolean attached
07541 );
07542
07557 void queryLogFilename (
07558 in unsigned long idx,
07559 [retval] out wstring filename
07560 );
07561
07587 void readLog (
07588 in unsigned long idx,
07589 in unsigned long long offset,
07590 in unsigned long long size,
07591 [retval] out octet[] data
07592 );
07593
07594 };
07595
07614 interface IConsoleCallback : $unknown
07615 {
07682 void onMousePointerShapeChange (
07683 in boolean visible,
07684 in boolean alpha,
07685 in unsigned long xHot,
07686 in unsigned long yHot,
07687 in unsigned long width,
07688 in unsigned long height,
07689 in octetPtr shape
07690 );
07691
07698 void onMouseCapabilityChange (
07699 in boolean supportsAbsolute,
07700 in boolean supportsRelative,
07701 in boolean needsHostCursor
07702 );
07703
07710 void onKeyboardLedsChange (
07711 in boolean numLock,
07712 in boolean capsLock,
07713 in boolean scrollLock
07714 );
07715
07722 void onStateChange (
07723 in MachineState state
07724 );
07725
07733 void onAdditionsStateChange();
07734
07745 void onNetworkAdapterChange (
07746 in INetworkAdapter networkAdapter
07747 );
07748
07759 void onSerialPortChange (
07760 in ISerialPort serialPort
07761 );
07762
07773 void onParallelPortChange (
07774 in IParallelPort parallelPort
07775 );
07776
07785 void onStorageControllerChange();
07786
07796 void onMediumChange (
07797 in IMediumAttachment mediumAttachment
07798 );
07799
07809 void onCPUChange (
07810 in unsigned long cpu,
07811 in boolean add
07812 );
07813
07822 void onVRDPServerChange();
07823
07831 void onRemoteDisplayInfoChange();
07832
07841 void onUSBControllerChange();
07842
07875 void onUSBDeviceStateChange (
07876 in IUSBDevice device,
07877 in boolean attached,
07878 in IVirtualBoxErrorInfo error
07879 );
07880
07896 void onSharedFolderChange (
07897 in Scope scope
07898 );
07899
07964 void onRuntimeError (
07965 in boolean fatal,
07966 in wstring id,
07967 in wstring message
07968 );
07969
07997 void onCanShowWindow (
07998 [retval] out boolean canShow
07999 );
08000
08047 void onShowWindow (
08048 [retval] out unsigned long long winId
08049 );
08050
08051 };
08052
08061 interface IRemoteDisplayInfo : $unknown
08062 {
08068 readonly attribute boolean active;
08069
08078 readonly attribute long port;
08079
08085 readonly attribute unsigned long numberOfClients;
08086
08092 readonly attribute long long beginTime;
08093
08100 readonly attribute long long endTime;
08101
08107 readonly attribute unsigned long long bytesSent;
08108
08114 readonly attribute unsigned long long bytesSentTotal;
08115
08121 readonly attribute unsigned long long bytesReceived;
08122
08128 readonly attribute unsigned long long bytesReceivedTotal;
08129
08135 readonly attribute wstring user;
08136
08142 readonly attribute wstring domain;
08143
08149 readonly attribute wstring clientName;
08150
08156 readonly attribute wstring clientIP;
08157
08163 readonly attribute unsigned long clientVersion;
08164
08172 readonly attribute unsigned long encryptionStyle;
08173
08174 };
08175
08198 interface IConsole : $unknown
08199 {
08211 readonly attribute IMachine machine;
08212
08226 readonly attribute MachineState state;
08227
08231 readonly attribute IGuest guest;
08232
08243 readonly attribute IKeyboard keyboard;
08244
08255 readonly attribute IMouse mouse;
08256
08266 readonly attribute IDisplay display;
08267
08271 readonly attribute IMachineDebugger debugger;
08272
08283 readonly attribute IUSBDevice[] USBDevices;
08284
08292 readonly attribute IHostUSBDevice[] remoteUSBDevices;
08293
08309 readonly attribute ISharedFolder[] sharedFolders;
08310
08316 readonly attribute IRemoteDisplayInfo remoteDisplayInfo;
08317
08371 void powerUp (
08372 [retval] out IProgress progress
08373 );
08374
08408 void powerUpPaused (
08409 [retval] out IProgress progress
08410 );
08411
08431 void powerDown (
08432 [retval] out IProgress progress
08433 );
08434
08454 void reset();
08455
08475 void pause();
08476
08496 void resume();
08497
08517 void powerButton();
08518
08538 void sleepButton();
08539
08551 void getPowerButtonHandled (
08552 [retval] out boolean handled
08553 );
08554
08568 void getGuestEnteredACPIMode (
08569 [retval] out boolean entered
08570 );
08571
08624 void saveState (
08625 [retval] out IProgress progress
08626 );
08627
08660 void adoptSavedState (
08661 in wstring savedStateFile
08662 );
08663
08686 void forgetSavedState (
08687 in boolean remove
08688 );
08689
08702 void getDeviceActivity (
08703 in DeviceType type,
08704 [retval] out DeviceActivity activity
08705 );
08706
08743 void attachUSBDevice (
08744 in wstringUUID id
08745 );
08746
08780 void detachUSBDevice (
08781 in wstringUUID id,
08782 [retval] out IUSBDevice device
08783 );
08784
08807 void findUSBDeviceByAddress (
08808 in wstring name,
08809 [retval] out IUSBDevice device
08810 );
08811
08831 void findUSBDeviceById (
08832 in wstringUUID id,
08833 [retval] out IUSBDevice device
08834 );
08835
08866 void createSharedFolder (
08867 in wstring name,
08868 in wstring hostPath,
08869 in boolean writable
08870 );
08871
08896 void removeSharedFolder (
08897 in wstring name
08898 );
08899
08937 void takeSnapshot (
08938 in wstring name,
08939 in wstring description,
08940 [retval] out IProgress progress
08941 );
08942
09009 void deleteSnapshot (
09010 in wstringUUID id,
09011 [retval] out IProgress progress
09012 );
09013
09054 void restoreSnapshot (
09055 in ISnapshot snapshot,
09056 [retval] out IProgress progress
09057 );
09058
09097 void teleport (
09098 in wstring hostname,
09099 in unsigned long tcpport,
09100 in wstring password,
09101 in unsigned long maxDowntime,
09102 [retval] out IProgress progress
09103 );
09104
09112 void registerCallback (
09113 in IConsoleCallback callback
09114 );
09115
09129 void unregisterCallback (
09130 in IConsoleCallback callback
09131 );
09132
09133 };
09134
09145 interface IHostNetworkInterface : $unknown
09146 {
09150 readonly attribute wstring name;
09151
09155 readonly attribute wstringUUID id;
09156
09160 readonly attribute wstring networkName;
09161
09165 readonly attribute boolean dhcpEnabled;
09166
09170 readonly attribute wstring IPAddress;
09171
09175 readonly attribute wstring networkMask;
09176
09180 readonly attribute boolean IPV6Supported;
09181
09185 readonly attribute wstring IPV6Address;
09186
09190 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
09191
09195 readonly attribute wstring hardwareAddress;
09196
09200 readonly attribute HostNetworkInterfaceMediumType mediumType;
09201
09205 readonly attribute HostNetworkInterfaceStatus status;
09206
09210 readonly attribute HostNetworkInterfaceType interfaceType;
09211
09223 void enableStaticIpConfig (
09224 in wstring IPAddress,
09225 in wstring networkMask
09226 );
09227
09239 void enableStaticIpConfigV6 (
09240 in wstring IPV6Address,
09241 in unsigned long IPV6NetworkMaskPrefixLength
09242 );
09243
09247 void enableDynamicIpConfig();
09248
09252 void dhcpRediscover();
09253
09254 };
09255
09272 interface IHost : $unknown
09273 {
09277 readonly attribute IMedium[] DVDDrives;
09278
09282 readonly attribute IMedium[] floppyDrives;
09283
09297 readonly attribute IHostUSBDevice[] USBDevices;
09298
09321 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
09322
09326 readonly attribute IHostNetworkInterface[] networkInterfaces;
09327
09331 readonly attribute unsigned long processorCount;
09332
09336 readonly attribute unsigned long processorOnlineCount;
09337
09341 readonly attribute unsigned long memorySize;
09342
09346 readonly attribute unsigned long memoryAvailable;
09347
09351 readonly attribute wstring operatingSystem;
09352
09356 readonly attribute wstring OSVersion;
09357
09361 readonly attribute long long UTCTime;
09362
09366 readonly attribute boolean Acceleration3DAvailable;
09367
09382 void getProcessorSpeed (
09383 in unsigned long cpuId,
09384 [retval] out unsigned long speed
09385 );
09386
09398 void getProcessorFeature (
09399 in ProcessorFeature feature,
09400 [retval] out boolean supported
09401 );
09402
09421 void getProcessorDescription (
09422 in unsigned long cpuId,
09423 [retval] out wstring description
09424 );
09425
09466 void getProcessorCPUIDLeaf (
09467 in unsigned long cpuId,
09468 in unsigned long leaf,
09469 in unsigned long subLeaf,
09470 out unsigned long valEax,
09471 out unsigned long valEbx,
09472 out unsigned long valEcx,
09473 out unsigned long valEdx
09474 );
09475
09496 void createHostOnlyNetworkInterface (
09497 out IHostNetworkInterface hostInterface,
09498 [retval] out IProgress progress
09499 );
09500
09521 void removeHostOnlyNetworkInterface (
09522 in wstringUUID id,
09523 [retval] out IProgress progress
09524 );
09525
09546 void createUSBDeviceFilter (
09547 in wstring name,
09548 [retval] out IHostUSBDeviceFilter filter
09549 );
09550
09593 void insertUSBDeviceFilter (
09594 in unsigned long position,
09595 in IHostUSBDeviceFilter filter
09596 );
09597
09625 void removeUSBDeviceFilter (
09626 in unsigned long position
09627 );
09628
09646 void findHostDVDDrive (
09647 in wstring name,
09648 [retval] out IMedium drive
09649 );
09650
09668 void findHostFloppyDrive (
09669 in wstring name,
09670 [retval] out IMedium drive
09671 );
09672
09688 void findHostNetworkInterfaceByName (
09689 in wstring name,
09690 [retval] out IHostNetworkInterface networkInterface
09691 );
09692
09708 void findHostNetworkInterfaceById (
09709 in wstringUUID id,
09710 [retval] out IHostNetworkInterface networkInterface
09711 );
09712
09722 void findHostNetworkInterfacesOfType (
09723 in HostNetworkInterfaceType type,
09724 [retval] out IHostNetworkInterface[] networkInterfaces
09725 );
09726
09746 void findUSBDeviceById (
09747 in wstringUUID id,
09748 [retval] out IHostUSBDevice device
09749 );
09750
09773 void findUSBDeviceByAddress (
09774 in wstring name,
09775 [retval] out IHostUSBDevice device
09776 );
09777
09778 };
09779
09792 interface ISystemProperties : $unknown
09793 {
09797 readonly attribute unsigned long minGuestRAM;
09798
09802 readonly attribute unsigned long maxGuestRAM;
09803
09807 readonly attribute unsigned long minGuestVRAM;
09808
09812 readonly attribute unsigned long maxGuestVRAM;
09813
09817 readonly attribute unsigned long minGuestCPUCount;
09818
09822 readonly attribute unsigned long maxGuestCPUCount;
09823
09827 readonly attribute unsigned long maxGuestMonitors;
09828
09832 readonly attribute unsigned long long maxVDISize;
09833
09840 readonly attribute unsigned long networkAdapterCount;
09841
09848 readonly attribute unsigned long serialPortCount;
09849
09856 readonly attribute unsigned long parallelPortCount;
09857
09867 readonly attribute unsigned long maxBootPosition;
09868
09901 attribute wstring defaultMachineFolder;
09902
09941 attribute wstring defaultHardDiskFolder;
09942
09968 readonly attribute IMediumFormat[] mediumFormats;
09969
10003 attribute wstring defaultHardDiskFormat;
10004
10010 attribute unsigned long long freeDiskSpaceWarning;
10011
10016 attribute unsigned long freeDiskSpacePercentWarning;
10017
10023 attribute unsigned long long freeDiskSpaceError;
10024
10029 attribute unsigned long freeDiskSpacePercentError;
10030
10054 attribute wstring remoteDisplayAuthLibrary;
10055
10084 attribute wstring webServiceAuthLibrary;
10085
10091 attribute unsigned long LogHistoryCount;
10092
10097 readonly attribute AudioDriverType defaultAudioDriver;
10098
10108 void getMaxDevicesPerPortForStorageBus (
10109 in StorageBus bus,
10110 [retval] out unsigned long maxDevicesPerPort
10111 );
10112
10120 void getMinPortCountForStorageBus (
10121 in StorageBus bus,
10122 [retval] out unsigned long minPortCount
10123 );
10124
10132 void getMaxPortCountForStorageBus (
10133 in StorageBus bus,
10134 [retval] out unsigned long maxPortCount
10135 );
10136
10146 void getMaxInstancesOfStorageBus (
10147 in StorageBus bus,
10148 [retval] out unsigned long maxInstances
10149 );
10150
10160 void getDeviceTypesForStorageBus (
10161 in StorageBus bus,
10162 [retval] out DeviceType[] deviceTypes
10163 );
10164
10165 };
10166
10172 interface IGuestOSType : $unknown
10173 {
10177 readonly attribute wstring familyId;
10178
10182 readonly attribute wstring familyDescription;
10183
10187 readonly attribute wstring id;
10188
10192 readonly attribute wstring description;
10193
10197 readonly attribute boolean is64Bit;
10198
10202 readonly attribute boolean recommendedIOAPIC;
10203
10207 readonly attribute boolean recommendedVirtEx;
10208
10212 readonly attribute unsigned long recommendedRAM;
10213
10217 readonly attribute unsigned long recommendedVRAM;
10218
10222 readonly attribute unsigned long recommendedHDD;
10223
10227 readonly attribute NetworkAdapterType adapterType;
10228
10232 readonly attribute boolean recommendedPae;
10233
10237 readonly attribute StorageControllerType recommendedDvdStorageController;
10238
10242 readonly attribute StorageBus recommendedDvdStorageBus;
10243
10247 readonly attribute StorageControllerType recommendedHdStorageController;
10248
10252 readonly attribute StorageBus recommendedHdStorageBus;
10253
10257 readonly attribute FirmwareType recommendedFirmware;
10258
10262 readonly attribute boolean recommendedUsbHid;
10263
10267 readonly attribute boolean recommendedHpet;
10268
10272 readonly attribute boolean recommendedUsbTablet;
10273
10277 readonly attribute boolean recommendedRtcUseUtc;
10278
10279 };
10280
10294 interface IGuest : $unknown
10295 {
10310 readonly attribute wstring OSTypeId;
10311
10319 readonly attribute boolean additionsActive;
10320
10330 readonly attribute wstring additionsVersion;
10331
10338 readonly attribute boolean supportsSeamless;
10339
10348 readonly attribute boolean supportsGraphics;
10349
10353 attribute unsigned long memoryBalloonSize;
10354
10358 attribute unsigned long statisticsUpdateInterval;
10359
10387 void internalGetStatistics (
10388 out unsigned long cpuUser,
10389 out unsigned long cpuKernel,
10390 out unsigned long cpuIdle,
10391 out unsigned long memTotal,
10392 out unsigned long memFree,
10393 out unsigned long memBalloon,
10394 out unsigned long memCache,
10395 out unsigned long pagedTotal,
10396 out unsigned long memAllocTotal,
10397 out unsigned long memFreeTotal,
10398 out unsigned long memBalloonTotal
10399 );
10400
10430 void setCredentials (
10431 in wstring userName,
10432 in wstring password,
10433 in wstring domain,
10434 in boolean allowInteractiveLogon
10435 );
10436
10505 void executeProcess (
10506 in wstring execName,
10507 in unsigned long flags,
10508 in wstring[] arguments,
10509 in wstring[] environment,
10510 in wstring stdIn,
10511 in wstring stdOut,
10512 in wstring stdErr,
10513 in wstring userName,
10514 in wstring password,
10515 in unsigned long timeoutMS,
10516 out unsigned long pid,
10517 [retval] out IProgress progress
10518 );
10519
10557 void getProcessOutput (
10558 in unsigned long pid,
10559 in unsigned long flags,
10560 in unsigned long timeoutMS,
10561 in unsigned long long size,
10562 [retval] out octet[] data
10563 );
10564
10594 void getProcessStatus (
10595 in unsigned long pid,
10596 out unsigned long exitcode,
10597 out unsigned long flags,
10598 [retval] out unsigned long reason
10599 );
10600
10601 };
10602
10643 interface IProgress : $unknown
10644 {
10648 readonly attribute wstringUUID id;
10649
10653 readonly attribute wstring description;
10654
10658 readonly attribute $unknown initiator;
10659
10663 readonly attribute boolean cancelable;
10664
10672 readonly attribute unsigned long percent;
10673
10687 readonly attribute long timeRemaining;
10688
10692 readonly attribute boolean completed;
10693
10697 readonly attribute boolean canceled;
10698
10705 readonly attribute long resultCode;
10706
10716 readonly attribute IVirtualBoxErrorInfo errorInfo;
10717
10724 readonly attribute unsigned long operationCount;
10725
10729 readonly attribute unsigned long operation;
10730
10736 readonly attribute wstring operationDescription;
10737
10741 readonly attribute unsigned long operationPercent;
10742
10750 attribute unsigned long timeout;
10751
10755 void setCurrentOperationProgress (
10756 in unsigned long percent
10757 );
10758
10762 void setNextOperation (
10763 in wstring nextOperationDescription,
10764 in unsigned long nextOperationsWeight
10765 );
10766
10785 void waitForCompletion (
10786 in long timeout
10787 );
10788
10812 void waitForOperationCompletion (
10813 in unsigned long operation,
10814 in long timeout
10815 );
10816
10833 void cancel();
10834
10835 };
10836
10928 interface ISnapshot : $unknown
10929 {
10933 readonly attribute wstringUUID id;
10934
10938 attribute wstring name;
10939
10943 attribute wstring description;
10944
10950 readonly attribute long long timeStamp;
10951
10963 readonly attribute boolean online;
10964
10976 readonly attribute IMachine machine;
10977
10984 readonly attribute ISnapshot parent;
10985
10991 readonly attribute ISnapshot[] children;
10992
10993 };
10994
11010 interface IMediumAttachment : $unknown
11011 {
11016 readonly attribute IMedium medium;
11017
11023 readonly attribute wstring controller;
11024
11028 readonly attribute long port;
11029
11033 readonly attribute long device;
11034
11038 readonly attribute DeviceType type;
11039
11043 readonly attribute boolean passthrough;
11044
11045 };
11046
11392 interface IMedium : $unknown
11393 {
11407 readonly attribute wstringUUID id;
11408
11427 attribute wstring description;
11428
11444 readonly attribute MediumState state;
11445
11467 attribute wstring location;
11468
11488 readonly attribute wstring name;
11489
11494 readonly attribute DeviceType deviceType;
11495
11499 readonly attribute boolean hostDrive;
11500
11513 readonly attribute unsigned long long size;
11514
11529 readonly attribute wstring format;
11530
11555 attribute MediumType type;
11556
11566 readonly attribute IMedium parent;
11567
11575 readonly attribute IMedium[] children;
11576
11587 readonly attribute IMedium base;
11588
11621 readonly attribute boolean readOnly;
11622
11643 readonly attribute unsigned long long logicalSize;
11644
11672 attribute boolean autoReset;
11673
11688 readonly attribute wstring lastAccessError;
11689
11706 readonly attribute wstringUUID[] machineIds;
11707
11742 void refreshState (
11743 [retval] out MediumState state
11744 );
11745
11772 void getSnapshotIds (
11773 in wstringUUID machineId,
11774 [retval] out wstringUUID[] snapshotIds
11775 );
11776
11836 void lockRead (
11837 [retval] out MediumState state
11838 );
11839
11862 void unlockRead (
11863 [retval] out MediumState state
11864 );
11865
11920 void lockWrite (
11921 [retval] out MediumState state
11922 );
11923
11946 void unlockWrite (
11947 [retval] out MediumState state
11948 );
11949
11998 void close();
11999
12029 void getProperty (
12030 in wstring name,
12031 [retval] out wstring value
12032 );
12033
12065 void setProperty (
12066 in wstring name,
12067 in wstring value
12068 );
12069
12103 void getProperties (
12104 in wstring names,
12105 out wstring[] returnNames,
12106 [retval] out wstring[] returnValues
12107 );
12108
12140 void setProperties (
12141 in wstring[] names,
12142 in wstring[] values
12143 );
12144
12176 void createBaseStorage (
12177 in unsigned long long logicalSize,
12178 in MediumVariant variant,
12179 [retval] out IProgress progress
12180 );
12181
12233 void deleteStorage (
12234 [retval] out IProgress progress
12235 );
12236
12274 void createDiffStorage (
12275 in IMedium target,
12276 in MediumVariant variant,
12277 [retval] out IProgress progress
12278 );
12279
12355 void mergeTo (
12356 in IMedium target,
12357 [retval] out IProgress progress
12358 );
12359
12408 void cloneTo (
12409 in IMedium target,
12410 in MediumVariant variant,
12411 in IMedium parent,
12412 [retval] out IProgress progress
12413 );
12414
12443 void compact (
12444 [retval] out IProgress progress
12445 );
12446
12479 void resize (
12480 in unsigned long long logicalSize,
12481 [retval] out IProgress progress
12482 );
12483
12517 void reset (
12518 [retval] out IProgress progress
12519 );
12520
12521 };
12522
12545 interface IMediumFormat : $unknown
12546 {
12565 readonly attribute wstring id;
12566
12574 readonly attribute wstring name;
12575
12591 readonly attribute wstring[] fileExtensions;
12592
12601 readonly attribute unsigned long capabilities;
12602
12632 void describeProperties (
12633 out wstring[] names,
12634 out wstring[] description,
12635 out DataType[] types,
12636 out unsigned long[] flags,
12637 out wstring[] defaults
12638 );
12639
12640 };
12641
12654 interface IKeyboard : $unknown
12655 {
12668 void putScancode (
12669 in long scancode
12670 );
12671
12684 void putScancodes (
12685 in long[] scancodes,
12686 [retval] out unsigned long codesStored
12687 );
12688
12703 void putCAD();
12704
12705 };
12706
12718 interface IMouse : $unknown
12719 {
12734 readonly attribute boolean absoluteSupported;
12735
12750 readonly attribute boolean relativeSupported;
12751
12766 readonly attribute boolean needsHostCursor;
12767
12833 void putMouseEvent (
12834 in long dx,
12835 in long dy,
12836 in long dz,
12837 in long dw,
12838 in long buttonState
12839 );
12840
12913 void putMouseEventAbsolute (
12914 in long x,
12915 in long y,
12916 in long dz,
12917 in long dw,
12918 in long buttonState
12919 );
12920
12921 };
12922
12923 interface IFramebuffer : $unknown
12924 {
12933 readonly attribute octetPtr address;
12934
12938 readonly attribute unsigned long width;
12939
12943 readonly attribute unsigned long height;
12944
12951 readonly attribute unsigned long bitsPerPixel;
12952
12959 readonly attribute unsigned long bytesPerLine;
12960
12971 readonly attribute unsigned long pixelFormat;
12972
12979 readonly attribute boolean usesGuestVRAM;
12980
12990 readonly attribute unsigned long heightReduction;
12991
13006 readonly attribute IFramebufferOverlay overlay;
13007
13014 readonly attribute unsigned long long winId;
13015
13023 void lock();
13024
13032 void unlock();
13033
13041 void notifyUpdate (
13042 in unsigned long x,
13043 in unsigned long y,
13044 in unsigned long width,
13045 in unsigned long height
13046 );
13047
13160 void requestResize (
13161 in unsigned long screenId,
13162 in unsigned long pixelFormat,
13163 in octetPtr VRAM,
13164 in unsigned long bitsPerPixel,
13165 in unsigned long bytesPerLine,
13166 in unsigned long width,
13167 in unsigned long height,
13168 [retval] out boolean finished
13169 );
13170
13182 void videoModeSupported (
13183 in unsigned long width,
13184 in unsigned long height,
13185 in unsigned long bpp,
13186 [retval] out boolean supported
13187 );
13188
13225 void getVisibleRegion (
13226 in octetPtr rectangles,
13227 in unsigned long count,
13228 [retval] out unsigned long countCopied
13229 );
13230
13265 void setVisibleRegion (
13266 in octetPtr rectangles,
13267 in unsigned long count
13268 );
13269
13290 void processVHWACommand (
13291 in octetPtr command
13292 );
13293
13294 };
13295
13310 interface IFramebufferOverlay : IFramebuffer
13311 {
13315 readonly attribute unsigned long x;
13316
13320 readonly attribute unsigned long y;
13321
13327 attribute boolean visible;
13328
13335 attribute unsigned long alpha;
13336
13342 void move (
13343 in unsigned long x,
13344 in unsigned long y
13345 );
13346
13347 };
13348
13364 interface IDisplay : $unknown
13365 {
13369 void getScreenResolution (
13370 in unsigned long screenId,
13371 out unsigned long width,
13372 out unsigned long height,
13373 out unsigned long bitsPerPixel
13374 );
13375
13381 void setFramebuffer (
13382 in unsigned long screenId,
13383 in IFramebuffer framebuffer
13384 );
13385
13391 void getFramebuffer (
13392 in unsigned long screenId,
13393 out IFramebuffer framebuffer,
13394 out long xOrigin,
13395 out long yOrigin
13396 );
13397
13426 void setVideoModeHint (
13427 in unsigned long width,
13428 in unsigned long height,
13429 in unsigned long bitsPerPixel,
13430 in unsigned long display
13431 );
13432
13443 void setSeamlessMode (
13444 in boolean enabled
13445 );
13446
13480 void takeScreenShot (
13481 in unsigned long screenId,
13482 in octetPtr address,
13483 in unsigned long width,
13484 in unsigned long height
13485 );
13486
13530 void takeScreenShotToArray (
13531 in unsigned long screenId,
13532 in unsigned long width,
13533 in unsigned long height,
13534 [retval] out octet[] screenData
13535 );
13536
13568 void drawToScreen (
13569 in unsigned long screenId,
13570 in octetPtr address,
13571 in unsigned long x,
13572 in unsigned long y,
13573 in unsigned long width,
13574 in unsigned long height
13575 );
13576
13591 void invalidateAndUpdate();
13592
13606 void resizeCompleted (
13607 in unsigned long screenId
13608 );
13609
13622 void completeVHWACommand (
13623 in octetPtr command
13624 );
13625
13626 };
13627
13643 interface INetworkAdapter : $unknown
13644 {
13652 attribute NetworkAdapterType adapterType;
13653
13661 readonly attribute unsigned long slot;
13662
13671 attribute boolean enabled;
13672
13679 attribute wstring MACAddress;
13680
13681 readonly attribute NetworkAttachmentType attachmentType;
13682
13688 attribute wstring hostInterface;
13689
13695 attribute wstring internalNetwork;
13696
13702 attribute wstring NATNetwork;
13703
13709 attribute wstring VDENetwork;
13710
13717 attribute boolean cableConnected;
13718
13724 attribute unsigned long lineSpeed;
13725
13732 attribute boolean traceEnabled;
13733
13740 attribute wstring traceFile;
13741
13749 readonly attribute INATEngine natDriver;
13750
13757 attribute unsigned long bootPriority;
13758
13764 void attachToNAT();
13765
13771 void attachToBridgedInterface();
13772
13778 void attachToInternalNetwork();
13779
13785 void attachToHostOnlyInterface();
13786
13792 void attachToVDE();
13793
13799 void detach();
13800
13801 };
13802
13831 interface ISerialPort : $unknown
13832 {
13840 readonly attribute unsigned long slot;
13841
13848 attribute boolean enabled;
13849
13853 attribute unsigned long IOBase;
13854
13858 attribute unsigned long IRQ;
13859
13870 attribute PortMode hostMode;
13871
13879 attribute boolean server;
13880
13890 attribute wstring path;
13891
13892 };
13893
13913 interface IParallelPort : $unknown
13914 {
13922 readonly attribute unsigned long slot;
13923
13930 attribute boolean enabled;
13931
13935 attribute unsigned long IOBase;
13936
13940 attribute unsigned long IRQ;
13941
13949 attribute wstring path;
13950
13951 };
13952
13953 interface IMachineDebugger : $unknown
13954 {
13958 attribute boolean singlestep;
13959
13963 attribute boolean recompileUser;
13964
13968 attribute boolean recompileSupervisor;
13969
13973 attribute boolean PATMEnabled;
13974
13978 attribute boolean CSAMEnabled;
13979
13983 attribute boolean logEnabled;
13984
13991 readonly attribute boolean HWVirtExEnabled;
13992
13999 readonly attribute boolean HWVirtExNestedPagingEnabled;
14000
14007 readonly attribute boolean HWVirtExVPIDEnabled;
14008
14015 readonly attribute boolean PAEEnabled;
14016
14023 attribute unsigned long virtualTimeRate;
14024
14031 readonly attribute unsigned long long VM;
14032
14040 void resetStats (
14041 in wstring pattern
14042 );
14043
14051 void dumpStats (
14052 in wstring pattern
14053 );
14054
14066 void getStats (
14067 in wstring pattern,
14068 in boolean withDescriptions,
14069 out wstring stats
14070 );
14071
14077 void injectNMI();
14078
14079 };
14080
14081 interface IUSBController : $unknown
14082 {
14091 attribute boolean enabled;
14092
14101 attribute boolean enabledEhci;
14102
14108 readonly attribute boolean proxyAvailable;
14109
14117 readonly attribute unsigned short USBStandard;
14118
14144 readonly attribute IUSBDeviceFilter[] deviceFilters;
14145
14173 void createDeviceFilter (
14174 in wstring name,
14175 [retval] out IUSBDeviceFilter filter
14176 );
14177
14222 void insertDeviceFilter (
14223 in unsigned long position,
14224 in IUSBDeviceFilter filter
14225 );
14226
14259 void removeDeviceFilter (
14260 in unsigned long position,
14261 [retval] out IUSBDeviceFilter filter
14262 );
14263
14264 };
14265
14278 interface IUSBDevice : $unknown
14279 {
14286 readonly attribute wstringUUID id;
14287
14291 readonly attribute unsigned short vendorId;
14292
14296 readonly attribute unsigned short productId;
14297
14305 readonly attribute unsigned short revision;
14306
14310 readonly attribute wstring manufacturer;
14311
14315 readonly attribute wstring product;
14316
14320 readonly attribute wstring serialNumber;
14321
14325 readonly attribute wstring address;
14326
14333 readonly attribute unsigned short port;
14334
14340 readonly attribute unsigned short version;
14341
14349 readonly attribute unsigned short portVersion;
14350
14357 readonly attribute boolean remote;
14358
14359 };
14360
14434 interface IUSBDeviceFilter : $unknown
14435 {
14443 attribute wstring name;
14444
14448 attribute boolean active;
14449
14457 attribute wstring vendorId;
14458
14466 attribute wstring productId;
14467
14481 attribute wstring revision;
14482
14487 attribute wstring manufacturer;
14488
14493 attribute wstring product;
14494
14499 attribute wstring serialNumber;
14500
14505 attribute wstring port;
14506
14516 attribute wstring remote;
14517
14527 attribute unsigned long maskedInterfaces;
14528
14529 };
14530
14546 interface IHostUSBDevice : IUSBDevice
14547 {
14553 readonly attribute USBDeviceState state;
14554
14555 };
14556
14579 interface IHostUSBDeviceFilter : IUSBDeviceFilter
14580 {
14587 attribute USBDeviceFilterAction action;
14588
14589 };
14590
14599 interface IAudioAdapter : $unknown
14600 {
14609 attribute boolean enabled;
14610
14616 attribute AudioControllerType audioController;
14617
14624 attribute AudioDriverType audioDriver;
14625
14626 };
14627
14628 interface IVRDPServer : $unknown
14629 {
14633 attribute boolean enabled;
14634
14644 attribute wstring ports;
14645
14649 attribute wstring netAddress;
14650
14654 attribute VRDPAuthType authType;
14655
14659 attribute unsigned long authTimeout;
14660
14667 attribute boolean allowMultiConnection;
14668
14676 attribute boolean reuseSingleConnection;
14677
14683 attribute boolean videoChannel;
14684
14690 attribute unsigned long videoChannelQuality;
14691
14692 };
14693
14751 interface ISharedFolder : $unknown
14752 {
14756 readonly attribute wstring name;
14757
14761 readonly attribute wstring hostPath;
14762
14772 readonly attribute boolean accessible;
14773
14780 readonly attribute boolean writable;
14781
14794 readonly attribute wstring lastAccessError;
14795
14796 };
14797
14798 interface IInternalSessionControl : $unknown
14799 {
14804 void getPID (
14805 [retval] out unsigned long pid
14806 );
14807
14829 void getRemoteConsole (
14830 [retval] out IConsole console
14831 );
14832
14856 void assignMachine (
14857 in IMachine machine
14858 );
14859
14874 void assignRemoteMachine (
14875 in IMachine machine,
14876 in IConsole console
14877 );
14878
14902 void updateMachineState (
14903 in MachineState aMachineState
14904 );
14905
14921 void uninitialize();
14922
14945 void onNetworkAdapterChange (
14946 in INetworkAdapter networkAdapter,
14947 in boolean changeAdapter
14948 );
14949
14972 void onSerialPortChange (
14973 in ISerialPort serialPort
14974 );
14975
14998 void onParallelPortChange (
14999 in IParallelPort parallelPort
15000 );
15001
15024 void onStorageControllerChange();
15025
15048 void onMediumChange (
15049 in IMediumAttachment mediumAttachment,
15050 in boolean force
15051 );
15052
15062 void onCPUChange (
15063 in unsigned long cpu,
15064 in boolean add
15065 );
15066
15089 void onVRDPServerChange();
15090
15113 void onUSBControllerChange();
15114
15143 void onSharedFolderChange (
15144 in boolean global
15145 );
15146
15172 void onUSBDeviceAttach (
15173 in IUSBDevice device,
15174 in IVirtualBoxErrorInfo error,
15175 in unsigned long maskedInterfaces
15176 );
15177
15203 void onUSBDeviceDetach (
15204 in wstringUUID id,
15205 in IVirtualBoxErrorInfo error
15206 );
15207
15225 void onShowWindow (
15226 in boolean check,
15227 out boolean canShow,
15228 out unsigned long long winId
15229 );
15230
15254 void accessGuestProperty (
15255 in wstring name,
15256 in wstring value,
15257 in wstring flags,
15258 in boolean isSetter,
15259 out wstring retValue,
15260 out unsigned long long retTimestamp,
15261 out wstring retFlags
15262 );
15263
15311 void enumerateGuestProperties (
15312 in wstring patterns,
15313 out wstring[] key,
15314 out wstring[] value,
15315 out unsigned long long[] timestamp,
15316 out wstring[] flags
15317 );
15318
15364 void onlineMergeMedium (
15365 in IMediumAttachment mediumAttachment,
15366 in unsigned long sourceIdx,
15367 in unsigned long targetIdx,
15368 in IMedium source,
15369 in IMedium target,
15370 in boolean mergeForward,
15371 in IMedium parentForTarget,
15372 in IMedium[] childrenToReparent,
15373 in IProgress progress
15374 );
15375
15376 };
15377
15454 interface ISession : $unknown
15455 {
15459 readonly attribute SessionState state;
15460
15468 readonly attribute SessionType type;
15469
15473 readonly attribute IMachine machine;
15474
15478 readonly attribute IConsole console;
15479
15520 void close();
15521
15522 };
15523
15546 interface IStorageController : $unknown
15547 {
15556 readonly attribute wstring name;
15557
15563 readonly attribute unsigned long maxDevicesPerPortCount;
15564
15570 readonly attribute unsigned long minPortCount;
15571
15577 readonly attribute unsigned long maxPortCount;
15578
15584 attribute unsigned long instance;
15585
15594 attribute unsigned long portCount;
15595
15601 readonly attribute StorageBus bus;
15602
15615 attribute StorageControllerType controllerType;
15616
15622 attribute IoBackendType ioBackend;
15623
15646 void getIDEEmulationPort (
15647 in long devicePosition,
15648 [retval] out long portNumber
15649 );
15650
15674 void setIDEEmulationPort (
15675 in long devicePosition,
15676 in long portNumber
15677 );
15678
15679 };
15680
15704 interface IManagedObjectRef : $unknown
15705 {
15712 void getInterfaceName (
15713 [retval] out wstring return
15714 );
15715
15723 void release();
15724
15725 };
15726
15735 interface IWebsessionManager : $unknown
15736 {
15745 void logon (
15746 in wstring username,
15747 in wstring password,
15748 [retval] out IVirtualBox return
15749 );
15750
15760 void getSessionObject (
15761 in IVirtualBox refIVirtualBox,
15762 [retval] out ISession return
15763 );
15764
15772 void logoff (
15773 in IVirtualBox refIVirtualBox
15774 );
15775
15776 };
15777
15786 interface IPerformanceMetric : $unknown
15787 {
15793 readonly attribute wstring metricName;
15794
15800 readonly attribute $unknown object;
15801
15807 readonly attribute wstring description;
15808
15814 readonly attribute unsigned long period;
15815
15825 readonly attribute unsigned long count;
15826
15832 readonly attribute wstring unit;
15833
15839 readonly attribute long minimumValue;
15840
15846 readonly attribute long maximumValue;
15847
15848 };
15849
15955 interface IPerformanceCollector : $unknown
15956 {
15967 readonly attribute wstring[] metricNames;
15968
15992 void getMetrics (
15993 in wstring[] metricNames,
15994 in $unknown[] objects,
15995 [retval] out IPerformanceMetric[] metrics
15996 );
15997
16036 void setupMetrics (
16037 in wstring[] metricNames,
16038 in $unknown[] objects,
16039 in unsigned long period,
16040 in unsigned long count,
16041 [retval] out IPerformanceMetric[] affectedMetrics
16042 );
16043
16072 void enableMetrics (
16073 in wstring[] metricNames,
16074 in $unknown[] objects,
16075 [retval] out IPerformanceMetric[] affectedMetrics
16076 );
16077
16106 void disableMetrics (
16107 in wstring[] metricNames,
16108 in $unknown[] objects,
16109 [retval] out IPerformanceMetric[] affectedMetrics
16110 );
16111
16200 void queryMetricsData (
16201 in wstring[] metricNames,
16202 in $unknown[] objects,
16203 out wstring[] returnMetricNames,
16204 out $unknown[] returnObjects,
16205 out wstring[] returnUnits,
16206 out unsigned long[] returnScales,
16207 out unsigned long[] returnSequenceNumbers,
16208 out unsigned long[] returnDataIndices,
16209 out unsigned long[] returnDataLengths,
16210 [retval] out long[] returnData
16211 );
16212
16213 };
16214
16222 interface INATEngine : $unknown
16223 {
16228 attribute wstring network;
16229
16236 attribute wstring hostIP;
16237
16242 attribute wstring tftpPrefix;
16243
16248 attribute wstring tftpBootFile;
16249
16257 attribute wstring tftpNextServer;
16258
16262 attribute unsigned long aliasMode;
16263
16267 attribute boolean dnsPassDomain;
16268
16273 attribute boolean dnsProxy;
16274
16279 attribute boolean dnsUseHostResolver;
16280
16285 readonly attribute wstring[] redirects;
16286
16302 void setNetworkSettings (
16303 in unsigned long mtu,
16304 in unsigned long sockSnd,
16305 in unsigned long sockRcv,
16306 in unsigned long TcpWndSnd,
16307 in unsigned long TcpWndRcv
16308 );
16309
16314 void getNetworkSettings (
16315 out unsigned long mtu,
16316 out unsigned long sockSnd,
16317 out unsigned long sockRcv,
16318 out unsigned long TcpWndSnd,
16319 out unsigned long TcpWndRcv
16320 );
16321
16341 void addRedirect (
16342 in wstring name,
16343 in NATProtocol proto,
16344 in wstring hostIp,
16345 in unsigned short hostPort,
16346 in wstring guestIp,
16347 in unsigned short guestPort
16348 );
16349
16355 void removeRedirect (
16356 in wstring name
16357 );
16358
16359 };
16360
16361