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 const HRESULT VBOX_E_DONT_CALL_AGAIN = 0x80BB000D;
00236 enum SettingsVersion
00237 {
00242 SettingsVersion_Null = 0,
00247 SettingsVersion_v1_0 = 1,
00252 SettingsVersion_v1_1 = 2,
00257 SettingsVersion_v1_2 = 3,
00262 SettingsVersion_v1_3pre = 4,
00267 SettingsVersion_v1_3 = 5,
00272 SettingsVersion_v1_4 = 6,
00277 SettingsVersion_v1_5 = 7,
00282 SettingsVersion_v1_6 = 8,
00287 SettingsVersion_v1_7 = 9,
00292 SettingsVersion_v1_8 = 10,
00297 SettingsVersion_v1_9 = 11,
00302 SettingsVersion_v1_10 = 12,
00307 SettingsVersion_Future = 13,
00308 };
00309
00317 enum AccessMode
00318 {
00319 AccessMode_ReadOnly = 1,
00320 AccessMode_ReadWrite = 2,
00321 };
00322
00440 enum MachineState
00441 {
00446 MachineState_Null = 0,
00454 MachineState_PoweredOff = 1,
00463 MachineState_Saved = 2,
00472 MachineState_Teleported = 3,
00481 MachineState_Aborted = 4,
00488 MachineState_Running = 5,
00495 MachineState_Paused = 6,
00503 MachineState_Stuck = 7,
00513 MachineState_Teleporting = 8,
00524 MachineState_LiveSnapshotting = 9,
00532 MachineState_Starting = 10,
00540 MachineState_Stopping = 11,
00548 MachineState_Saving = 12,
00556 MachineState_Restoring = 13,
00565 MachineState_TeleportingPausedVM = 14,
00572 MachineState_TeleportingIn = 15,
00579 MachineState_DeletingSnapshotOnline = 16,
00586 MachineState_DeletingSnapshotPaused = 17,
00593 MachineState_RestoringSnapshot = 18,
00601 MachineState_DeletingSnapshot = 19,
00608 MachineState_SettingUp = 20,
00615 MachineState_FirstOnline = 5,
00622 MachineState_LastOnline = 17,
00629 MachineState_FirstTransient = 8,
00636 MachineState_LastTransient = 20,
00637 };
00638
00649 enum SessionState
00650 {
00655 SessionState_Null = 0,
00663 SessionState_Closed = 1,
00671 SessionState_Open = 2,
00682 SessionState_Spawning = 3,
00690 SessionState_Closing = 4,
00691 };
00692
00701 enum CPUPropertyType
00702 {
00707 CPUPropertyType_Null = 0,
00716 CPUPropertyType_PAE = 1,
00724 CPUPropertyType_Synthetic = 2,
00725 };
00726
00736 enum HWVirtExPropertyType
00737 {
00742 HWVirtExPropertyType_Null = 0,
00750 HWVirtExPropertyType_Enabled = 1,
00759 HWVirtExPropertyType_Exclusive = 2,
00766 HWVirtExPropertyType_VPID = 3,
00773 HWVirtExPropertyType_NestedPaging = 4,
00780 HWVirtExPropertyType_LargePages = 5,
00781 };
00782
00791 enum SessionType
00792 {
00797 SessionType_Null = 0,
00805 SessionType_Direct = 1,
00813 SessionType_Remote = 2,
00821 SessionType_Existing = 3,
00822 };
00823
00831 enum DeviceType
00832 {
00840 DeviceType_Null = 0,
00845 DeviceType_Floppy = 1,
00850 DeviceType_DVD = 2,
00855 DeviceType_HardDisk = 3,
00860 DeviceType_Network = 4,
00865 DeviceType_USB = 5,
00870 DeviceType_SharedFolder = 6,
00871 };
00872
00880 enum DeviceActivity
00881 {
00882 DeviceActivity_Null = 0,
00883 DeviceActivity_Idle = 1,
00884 DeviceActivity_Reading = 2,
00885 DeviceActivity_Writing = 3,
00886 };
00887
00895 enum ClipboardMode
00896 {
00897 ClipboardMode_Disabled = 0,
00898 ClipboardMode_HostToGuest = 1,
00899 ClipboardMode_GuestToHost = 2,
00900 ClipboardMode_Bidirectional = 3,
00901 };
00902
00913 enum Scope
00914 {
00915 Scope_Global = 0,
00916 Scope_Machine = 1,
00917 Scope_Session = 2,
00918 };
00919
00927 enum BIOSBootMenuMode
00928 {
00929 BIOSBootMenuMode_Disabled = 0,
00930 BIOSBootMenuMode_MenuOnly = 1,
00931 BIOSBootMenuMode_MessageAndMenu = 2,
00932 };
00933
00941 enum ProcessorFeature
00942 {
00943 ProcessorFeature_HWVirtEx = 0,
00944 ProcessorFeature_PAE = 1,
00945 ProcessorFeature_LongMode = 2,
00946 ProcessorFeature_NestedPaging = 3,
00947 };
00948
00956 enum FirmwareType
00957 {
00962 FirmwareType_BIOS = 1,
00967 FirmwareType_EFI = 2,
00972 FirmwareType_EFI32 = 3,
00977 FirmwareType_EFI64 = 4,
00982 FirmwareType_EFIDUAL = 5,
00983 };
00984
00992 enum PointingHidType
00993 {
00998 PointingHidType_None = 1,
01003 PointingHidType_PS2Mouse = 2,
01008 PointingHidType_USBMouse = 3,
01013 PointingHidType_USBTablet = 4,
01019 PointingHidType_ComboMouse = 5,
01020 };
01021
01029 enum KeyboardHidType
01030 {
01035 KeyboardHidType_None = 1,
01040 KeyboardHidType_PS2Keyboard = 2,
01045 KeyboardHidType_USBKeyboard = 3,
01051 KeyboardHidType_ComboKeyboard = 4,
01052 };
01053
01061 enum IoBackendType
01062 {
01071 IoBackendType_Buffered = 1,
01081 IoBackendType_Unbuffered = 2,
01082 };
01083
01091 enum VFSType
01092 {
01093 VFSType_File = 1,
01094 VFSType_Cloud = 2,
01095 VFSType_S3 = 3,
01096 VFSType_WebDav = 4,
01097 };
01098
01106 enum VFSFileType
01107 {
01108 VFSFileType_Unknown = 1,
01109 VFSFileType_Fifo = 2,
01110 VFSFileType_DevChar = 3,
01111 VFSFileType_Directory = 4,
01112 VFSFileType_DevBlock = 5,
01113 VFSFileType_File = 6,
01114 VFSFileType_SymLink = 7,
01115 VFSFileType_Socket = 8,
01116 VFSFileType_WhiteOut = 9,
01117 };
01118
01125 enum VirtualSystemDescriptionType
01126 {
01127 VirtualSystemDescriptionType_Ignore = 1,
01128 VirtualSystemDescriptionType_OS = 2,
01129 VirtualSystemDescriptionType_Name = 3,
01130 VirtualSystemDescriptionType_Product = 4,
01131 VirtualSystemDescriptionType_Vendor = 5,
01132 VirtualSystemDescriptionType_Version = 6,
01133 VirtualSystemDescriptionType_ProductUrl = 7,
01134 VirtualSystemDescriptionType_VendorUrl = 8,
01135 VirtualSystemDescriptionType_Description = 9,
01136 VirtualSystemDescriptionType_License = 10,
01137 VirtualSystemDescriptionType_Miscellaneous = 11,
01138 VirtualSystemDescriptionType_CPU = 12,
01139 VirtualSystemDescriptionType_Memory = 13,
01140 VirtualSystemDescriptionType_HardDiskControllerIDE = 14,
01141 VirtualSystemDescriptionType_HardDiskControllerSATA = 15,
01142 VirtualSystemDescriptionType_HardDiskControllerSCSI = 16,
01143 VirtualSystemDescriptionType_HardDiskImage = 17,
01144 VirtualSystemDescriptionType_Floppy = 18,
01145 VirtualSystemDescriptionType_CDROM = 19,
01146 VirtualSystemDescriptionType_NetworkAdapter = 20,
01147 VirtualSystemDescriptionType_USBController = 21,
01148 VirtualSystemDescriptionType_SoundCard = 22,
01149 };
01150
01157 enum VirtualSystemDescriptionValueType
01158 {
01159 VirtualSystemDescriptionValueType_Reference = 1,
01160 VirtualSystemDescriptionValueType_Original = 2,
01161 VirtualSystemDescriptionValueType_Auto = 3,
01162 VirtualSystemDescriptionValueType_ExtraConfig = 4,
01163 };
01164
01175 enum HostNetworkInterfaceMediumType
01176 {
01183 HostNetworkInterfaceMediumType_Unknown = 0,
01190 HostNetworkInterfaceMediumType_Ethernet = 1,
01197 HostNetworkInterfaceMediumType_PPP = 2,
01204 HostNetworkInterfaceMediumType_SLIP = 3,
01205 };
01206
01216 enum HostNetworkInterfaceStatus
01217 {
01224 HostNetworkInterfaceStatus_Unknown = 0,
01231 HostNetworkInterfaceStatus_Up = 1,
01238 HostNetworkInterfaceStatus_Down = 2,
01239 };
01240
01248 enum HostNetworkInterfaceType
01249 {
01250 HostNetworkInterfaceType_Bridged = 1,
01251 HostNetworkInterfaceType_HostOnly = 2,
01252 };
01253
01263 enum MediumState
01264 {
01272 MediumState_NotCreated = 0,
01281 MediumState_Created = 1,
01289 MediumState_LockedRead = 2,
01297 MediumState_LockedWrite = 3,
01307 MediumState_Inaccessible = 4,
01314 MediumState_Creating = 5,
01321 MediumState_Deleting = 6,
01322 };
01323
01333 enum MediumType
01334 {
01342 MediumType_Normal = 0,
01350 MediumType_Immutable = 1,
01358 MediumType_Writethrough = 2,
01367 MediumType_Shareable = 3,
01368 };
01369
01379 enum MediumVariant
01380 {
01387 MediumVariant_Standard = 0,
01394 MediumVariant_VmdkSplit2G = 0x01,
01402 MediumVariant_VmdkStreamOptimized = 0x04,
01409 MediumVariant_VmdkESX = 0x08,
01416 MediumVariant_Fixed = 0x10000,
01423 MediumVariant_Diff = 0x20000,
01424 };
01425
01426 enum DataType
01427 {
01428 DataType_Int32 = 0,
01429 DataType_Int8 = 1,
01430 DataType_String = 2,
01431 };
01432
01433 enum DataFlags
01434 {
01435 DataFlags_None = 0x00,
01436 DataFlags_Mandatory = 0x01,
01437 DataFlags_Expert = 0x02,
01438 DataFlags_Array = 0x04,
01439 DataFlags_FlagMask = 0x07,
01440 };
01441
01449 enum MediumFormatCapabilities
01450 {
01457 MediumFormatCapabilities_Uuid = 0x01,
01464 MediumFormatCapabilities_CreateFixed = 0x02,
01472 MediumFormatCapabilities_CreateDynamic = 0x04,
01479 MediumFormatCapabilities_CreateSplit2G = 0x08,
01486 MediumFormatCapabilities_Differencing = 0x10,
01493 MediumFormatCapabilities_Asynchronous = 0x20,
01503 MediumFormatCapabilities_File = 0x40,
01512 MediumFormatCapabilities_Properties = 0x80,
01513 MediumFormatCapabilities_CapabilityMask = 0xFF,
01514 };
01515
01523 enum MouseButtonState
01524 {
01525 MouseButtonState_LeftButton = 0x01,
01526 MouseButtonState_RightButton = 0x02,
01527 MouseButtonState_MiddleButton = 0x04,
01528 MouseButtonState_WheelUp = 0x08,
01529 MouseButtonState_WheelDown = 0x10,
01530 MouseButtonState_XButton1 = 0x20,
01531 MouseButtonState_XButton2 = 0x40,
01532 MouseButtonState_MouseStateMask = 0x7F,
01533 };
01534
01545 enum FramebufferPixelFormat
01546 {
01554 FramebufferPixelFormat_Opaque = 0,
01562 FramebufferPixelFormat_FOURCC_RGB = 0x32424752,
01563 };
01564
01572 enum NetworkAttachmentType
01573 {
01578 NetworkAttachmentType_Null = 0,
01579 NetworkAttachmentType_NAT = 1,
01580 NetworkAttachmentType_Bridged = 2,
01581 NetworkAttachmentType_Internal = 3,
01582 NetworkAttachmentType_HostOnly = 4,
01583 NetworkAttachmentType_VDE = 5,
01584 };
01585
01593 enum NetworkAdapterType
01594 {
01599 NetworkAdapterType_Null = 0,
01604 NetworkAdapterType_Am79C970A = 1,
01609 NetworkAdapterType_Am79C973 = 2,
01614 NetworkAdapterType_I82540EM = 3,
01619 NetworkAdapterType_I82543GC = 4,
01624 NetworkAdapterType_I82545EM = 5,
01629 NetworkAdapterType_Virtio = 6,
01630 };
01631
01640 enum PortMode
01641 {
01646 PortMode_Disconnected = 0,
01651 PortMode_HostPipe = 1,
01656 PortMode_HostDevice = 2,
01661 PortMode_RawFile = 3,
01662 };
01663
01702 enum USBDeviceState
01703 {
01710 USBDeviceState_NotSupported = 0,
01718 USBDeviceState_Unavailable = 1,
01725 USBDeviceState_Busy = 2,
01733 USBDeviceState_Available = 3,
01741 USBDeviceState_Held = 4,
01749 USBDeviceState_Captured = 5,
01750 };
01751
01761 enum USBDeviceFilterAction
01762 {
01767 USBDeviceFilterAction_Null = 0,
01772 USBDeviceFilterAction_Ignore = 1,
01777 USBDeviceFilterAction_Hold = 2,
01778 };
01779
01787 enum AudioDriverType
01788 {
01793 AudioDriverType_Null = 0,
01798 AudioDriverType_WinMM = 1,
01803 AudioDriverType_OSS = 2,
01808 AudioDriverType_ALSA = 3,
01813 AudioDriverType_DirectSound = 4,
01818 AudioDriverType_CoreAudio = 5,
01823 AudioDriverType_MMPM = 6,
01828 AudioDriverType_Pulse = 7,
01833 AudioDriverType_SolAudio = 8,
01834 };
01835
01843 enum AudioControllerType
01844 {
01845 AudioControllerType_AC97 = 0,
01846 AudioControllerType_SB16 = 1,
01847 };
01848
01856 enum VRDPAuthType
01857 {
01862 VRDPAuthType_Null = 0,
01863 VRDPAuthType_External = 1,
01864 VRDPAuthType_Guest = 2,
01865 };
01866
01875 enum StorageBus
01876 {
01881 StorageBus_Null = 0,
01882 StorageBus_IDE = 1,
01883 StorageBus_SATA = 2,
01884 StorageBus_SCSI = 3,
01885 StorageBus_Floppy = 4,
01886 StorageBus_SAS = 5,
01887 };
01888
01897 enum StorageControllerType
01898 {
01903 StorageControllerType_Null = 0,
01908 StorageControllerType_LsiLogic = 1,
01913 StorageControllerType_BusLogic = 2,
01918 StorageControllerType_IntelAhci = 3,
01923 StorageControllerType_PIIX3 = 4,
01928 StorageControllerType_PIIX4 = 5,
01933 StorageControllerType_ICH6 = 6,
01938 StorageControllerType_I82078 = 7,
01943 StorageControllerType_LsiLogicSas = 8,
01944 };
01945
01951 enum NATAliasMode
01952 {
01957 NATAliasMode_AliasLog = 0x1,
01962 NATAliasMode_AliasProxyOnly = 0x02,
01967 NATAliasMode_AliasUseSamePorts = 0x04,
01968 };
01969
01975 enum NATProtocol
01976 {
01981 NATProtocol_UDP = 0,
01986 NATProtocol_TCP = 1,
01987 };
01988
02021 interface IVirtualBoxErrorInfo : $errorinfo
02022 {
02040 readonly attribute long resultCode;
02041
02053 readonly attribute wstringUUID interfaceID;
02054
02065 readonly attribute wstring component;
02066
02077 readonly attribute wstring text;
02078
02089 readonly attribute IVirtualBoxErrorInfo next;
02090
02091 };
02092
02105 interface ILocalOwner : $unknown
02106 {
02115 void setLocalObject (
02116 in $unknown object
02117 );
02118
02119 };
02120
02121 interface IVirtualBoxCallback : $unknown
02122 {
02141 void onMachineStateChange (
02142 in wstringUUID machineId,
02143 in MachineState state
02144 );
02145
02160 void onMachineDataChange (
02161 in wstringUUID machineId
02162 );
02163
02201 void onExtraDataCanChange (
02202 in wstringUUID machineId,
02203 in wstring key,
02204 in wstring value,
02205 out wstring error,
02206 [retval] out boolean allowChange
02207 );
02208
02235 void onExtraDataChange (
02236 in wstringUUID machineId,
02237 in wstring key,
02238 in wstring value
02239 );
02240
02286 void onMediumRegistered (
02287 in wstringUUID mediumId,
02288 in DeviceType mediumType,
02289 in boolean registered
02290 );
02291
02312 void onMachineRegistered (
02313 in wstringUUID machineId,
02314 in boolean registered
02315 );
02316
02335 void onSessionStateChange (
02336 in wstringUUID machineId,
02337 in SessionState state
02338 );
02339
02358 void onSnapshotTaken (
02359 in wstringUUID machineId,
02360 in wstringUUID snapshotId
02361 );
02362
02391 void onSnapshotDeleted (
02392 in wstringUUID machineId,
02393 in wstringUUID snapshotId
02394 );
02395
02414 void onSnapshotChange (
02415 in wstringUUID machineId,
02416 in wstringUUID snapshotId
02417 );
02418
02447 void onGuestPropertyChange (
02448 in wstringUUID machineId,
02449 in wstring name,
02450 in wstring value,
02451 in wstring flags
02452 );
02453
02454 };
02455
02466 interface IDHCPServer : $unknown
02467 {
02473 attribute boolean enabled;
02474
02480 readonly attribute wstring IPAddress;
02481
02487 readonly attribute wstring networkMask;
02488
02494 readonly attribute wstring networkName;
02495
02501 readonly attribute wstring lowerIP;
02502
02508 readonly attribute wstring upperIP;
02509
02538 void setConfiguration (
02539 in wstring IPAddress,
02540 in wstring networkMask,
02541 in wstring FromIPAddress,
02542 in wstring ToIPAddress
02543 );
02544
02569 void start (
02570 in wstring networkName,
02571 in wstring trunkName,
02572 in wstring trunkType
02573 );
02574
02587 void stop();
02588
02589 };
02590
02609 interface IVirtualBox : $unknown
02610 {
02618 readonly attribute wstring version;
02619
02625 readonly attribute unsigned long revision;
02626
02636 readonly attribute wstring packageType;
02637
02653 readonly attribute wstring homeFolder;
02654
02662 readonly attribute wstring settingsFilePath;
02663
02667 readonly attribute IHost host;
02668
02672 readonly attribute ISystemProperties systemProperties;
02673
02679 readonly attribute IMachine[] machines;
02680
02690 readonly attribute IMedium[] hardDisks;
02691
02697 readonly attribute IMedium[] DVDImages;
02698
02704 readonly attribute IMedium[] floppyImages;
02705
02706 readonly attribute IProgress[] progressOperations;
02707
02708 readonly attribute IGuestOSType[] guestOSTypes;
02709
02726 readonly attribute ISharedFolder[] sharedFolders;
02727
02733 readonly attribute IPerformanceCollector performanceCollector;
02734
02740 readonly attribute IDHCPServer[] DHCPServers;
02741
02845 void createMachine (
02846 in wstring name,
02847 in wstring osTypeId,
02848 in wstring baseFolder,
02849 in wstringUUID id,
02850 in boolean override,
02851 [retval] out IMachine machine
02852 );
02853
02917 void createLegacyMachine (
02918 in wstring name,
02919 in wstring osTypeId,
02920 in wstring settingsFile,
02921 in wstringUUID id,
02922 [retval] out IMachine machine
02923 );
02924
02952 void openMachine (
02953 in wstring settingsFile,
02954 [retval] out IMachine machine
02955 );
02956
02989 void registerMachine (
02990 in IMachine machine
02991 );
02992
03008 void getMachine (
03009 in wstringUUID id,
03010 [retval] out IMachine machine
03011 );
03012
03028 void findMachine (
03029 in wstring name,
03030 [retval] out IMachine machine
03031 );
03032
03087 void unregisterMachine (
03088 in wstringUUID id,
03089 [retval] out IMachine machine
03090 );
03091
03101 void createAppliance (
03102 [retval] out IAppliance appliance
03103 );
03104
03170 void createHardDisk (
03171 in wstring format,
03172 in wstring location,
03173 [retval] out IMedium medium
03174 );
03175
03263 void openHardDisk (
03264 in wstring location,
03265 in AccessMode accessMode,
03266 in boolean setImageId,
03267 in wstringUUID imageId,
03268 in boolean setParentId,
03269 in wstringUUID parentId,
03270 [retval] out IMedium medium
03271 );
03272
03294 void getHardDisk (
03295 in wstringUUID id,
03296 [retval] out IMedium medium
03297 );
03298
03331 void findHardDisk (
03332 in wstring location,
03333 [retval] out IMedium medium
03334 );
03335
03385 void openDVDImage (
03386 in wstring location,
03387 in wstringUUID id,
03388 [retval] out IMedium image
03389 );
03390
03411 void getDVDImage (
03412 in wstringUUID id,
03413 [retval] out IMedium image
03414 );
03415
03454 void findDVDImage (
03455 in wstring location,
03456 [retval] out IMedium image
03457 );
03458
03508 void openFloppyImage (
03509 in wstring location,
03510 in wstringUUID id,
03511 [retval] out IMedium image
03512 );
03513
03534 void getFloppyImage (
03535 in wstringUUID id,
03536 [retval] out IMedium image
03537 );
03538
03577 void findFloppyImage (
03578 in wstring location,
03579 [retval] out IMedium image
03580 );
03581
03610 void getGuestOSType (
03611 in wstringUUID id,
03612 [retval] out IGuestOSType type
03613 );
03614
03634 void createSharedFolder (
03635 in wstring name,
03636 in wstring hostPath,
03637 in boolean writable
03638 );
03639
03654 void removeSharedFolder (
03655 in wstring name
03656 );
03657
03666 void getExtraDataKeys (
03667 [retval] out wstring[] value
03668 );
03669
03698 void getExtraData (
03699 in wstring key,
03700 [retval] out wstring value
03701 );
03702
03752 void setExtraData (
03753 in wstring key,
03754 in wstring value
03755 );
03756
03853 void openSession (
03854 in ISession session,
03855 in wstringUUID machineId
03856 );
03857
03981 void openRemoteSession (
03982 in ISession session,
03983 in wstringUUID machineId,
03984 in wstring type,
03985 in wstring environment,
03986 [retval] out IProgress progress
03987 );
03988
04058 void openExistingSession (
04059 in ISession session,
04060 in wstringUUID machineId
04061 );
04062
04080 void registerCallback (
04081 in IVirtualBoxCallback callback
04082 );
04083
04099 void unregisterCallback (
04100 in IVirtualBoxCallback callback
04101 );
04102
04190 void waitForPropertyChange (
04191 in wstring what,
04192 in unsigned long timeout,
04193 out wstring changed,
04194 out wstring values
04195 );
04196
04213 void createDHCPServer (
04214 in wstring name,
04215 [retval] out IDHCPServer server
04216 );
04217
04234 void findDHCPServerByNetworkName (
04235 in wstring name,
04236 [retval] out IDHCPServer server
04237 );
04238
04253 void removeDHCPServer (
04254 in IDHCPServer server
04255 );
04256
04281 void checkFirmwarePresent (
04282 in FirmwareType firmwareType,
04283 in wstring version,
04284 out wstring url,
04285 out wstring file,
04286 [retval] out boolean result
04287 );
04288
04289 };
04290
04301 interface IVFSExplorer : $unknown
04302 {
04306 readonly attribute wstring path;
04307
04311 readonly attribute VFSType type;
04312
04320 void update (
04321 [retval] out IProgress aProgress
04322 );
04323
04331 void cd (
04332 in wstring aDir,
04333 [retval] out IProgress aProgress
04334 );
04335
04341 void cdUp (
04342 [retval] out IProgress aProgress
04343 );
04344
04353 void entryList (
04354 out wstring[] aNames,
04355 out unsigned long[] aTypes
04356 );
04357
04366 void exists (
04367 in wstring[] aNames,
04368 [retval] out wstring[] aExists
04369 );
04370
04378 void remove (
04379 in wstring[] aNames,
04380 [retval] out IProgress aProgress
04381 );
04382
04383 };
04384
04449 interface IAppliance : $unknown
04450 {
04458 readonly attribute wstring path;
04459
04490 readonly attribute wstring[] disks;
04491
04499 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04500
04517 void read (
04518 in wstring file,
04519 [retval] out IProgress aProgress
04520 );
04521
04538 void interpret();
04539
04557 void importMachines (
04558 [retval] out IProgress aProgress
04559 );
04560
04568 void createVFSExplorer (
04569 in wstring aUri,
04570 [retval] out IVFSExplorer aExplorer
04571 );
04572
04597 void write (
04598 in wstring format,
04599 in wstring path,
04600 [retval] out IProgress aProgress
04601 );
04602
04608 void getWarnings (
04609 [retval] out wstring[] aWarnings
04610 );
04611
04612 };
04613
04624 interface IVirtualSystemDescription : $unknown
04625 {
04629 readonly attribute unsigned long count;
04630
04755 void getDescription (
04756 out VirtualSystemDescriptionType[] aTypes,
04757 out wstring[] aRefs,
04758 out wstring[] aOvfValues,
04759 out wstring[] aVBoxValues,
04760 out wstring[] aExtraConfigValues
04761 );
04762
04779 void getDescriptionByType (
04780 in VirtualSystemDescriptionType aType,
04781 out VirtualSystemDescriptionType[] aTypes,
04782 out wstring[] aRefs,
04783 out wstring[] aOvfValues,
04784 out wstring[] aVBoxValues,
04785 out wstring[] aExtraConfigValues
04786 );
04787
04799 void getValuesByType (
04800 in VirtualSystemDescriptionType aType,
04801 in VirtualSystemDescriptionValueType aWhich,
04802 [retval] out wstring[] aValues
04803 );
04804
04830 void setFinalValues (
04831 in boolean[] aEnabled,
04832 in wstring[] aVBoxValues,
04833 in wstring[] aExtraConfigValues
04834 );
04835
04850 void addDescription (
04851 in VirtualSystemDescriptionType aType,
04852 in wstring aVBoxValue,
04853 in wstring aExtraConfigValue
04854 );
04855
04856 };
04857
04858 interface IInternalMachineControl : $unknown
04859 {
04866 void setRemoveSavedState (
04867 in boolean aRemove
04868 );
04869
04881 void updateState (
04882 in MachineState state
04883 );
04884
04885 void getIPCId (
04886 [retval] out wstring id
04887 );
04888
04898 void setPowerUpInfo (
04899 in IVirtualBoxErrorInfo error
04900 );
04901
04915 void runUSBDeviceFilters (
04916 in IUSBDevice device,
04917 out boolean matched,
04918 out unsigned long maskedInterfaces
04919 );
04920
04929 void captureUSBDevice (
04930 in wstringUUID id
04931 );
04932
04948 void detachUSBDevice (
04949 in wstringUUID id,
04950 in boolean done
04951 );
04952
04961 void autoCaptureUSBDevices();
04962
04978 void detachAllUSBDevices (
04979 in boolean done
04980 );
04981
04996 void onSessionEnd (
04997 in ISession session,
04998 [retval] out IProgress progress
04999 );
05000
05016 void beginSavingState (
05017 in IProgress progress,
05018 out wstring stateFilePath
05019 );
05020
05047 void endSavingState (
05048 in boolean success
05049 );
05050
05065 void adoptSavedState (
05066 in wstring savedStateFile
05067 );
05068
05117 void beginTakingSnapshot (
05118 in IConsole initiator,
05119 in wstring name,
05120 in wstring description,
05121 in IProgress consoleProgress,
05122 in boolean fTakingSnapshotOnline,
05123 out wstring stateFilePath
05124 );
05125
05135 void endTakingSnapshot (
05136 in boolean success
05137 );
05138
05159 void deleteSnapshot (
05160 in IConsole initiator,
05161 in wstringUUID id,
05162 out MachineState machineState,
05163 [retval] out IProgress progress
05164 );
05165
05184 void finishOnlineMergeMedium (
05185 in IMediumAttachment mediumAttachment,
05186 in IMedium source,
05187 in IMedium target,
05188 in boolean mergeForward,
05189 in IMedium parentForTarget,
05190 in IMedium[] childrenToReparent
05191 );
05192
05206 void restoreSnapshot (
05207 in IConsole initiator,
05208 in ISnapshot snapshot,
05209 out MachineState machineState,
05210 [retval] out IProgress progress
05211 );
05212
05239 void pullGuestProperties (
05240 out wstring[] name,
05241 out wstring[] value,
05242 out unsigned long long[] timestamp,
05243 out wstring[] flags
05244 );
05245
05267 void pushGuestProperty (
05268 in wstring name,
05269 in wstring value,
05270 in unsigned long long timestamp,
05271 in wstring flags
05272 );
05273
05285 void lockMedia();
05286
05296 void unlockMedia();
05297
05298 };
05299
05308 interface IBIOSSettings : $unknown
05309 {
05313 attribute boolean logoFadeIn;
05314
05318 attribute boolean logoFadeOut;
05319
05323 attribute unsigned long logoDisplayTime;
05324
05331 attribute wstring logoImagePath;
05332
05336 attribute BIOSBootMenuMode bootMenuMode;
05337
05341 attribute boolean ACPIEnabled;
05342
05349 attribute boolean IOAPICEnabled;
05350
05360 attribute long long timeOffset;
05361
05368 attribute boolean PXEDebugEnabled;
05369
05370 };
05371
05412 interface IMachine : $unknown
05413 {
05417 readonly attribute IVirtualBox parent;
05418
05468 readonly attribute boolean accessible;
05469
05481 readonly attribute IVirtualBoxErrorInfo accessError;
05482
05528 attribute wstring name;
05529
05540 attribute wstring description;
05541
05545 readonly attribute wstringUUID id;
05546
05561 attribute wstring OSTypeId;
05562
05566 attribute wstring HardwareVersion;
05567
05577 attribute wstringUUID hardwareUUID;
05578
05582 attribute unsigned long CPUCount;
05583
05589 attribute boolean CPUHotPlugEnabled;
05590
05594 attribute unsigned long memorySize;
05595
05599 attribute unsigned long memoryBalloonSize;
05600
05607 attribute boolean SharedPagingEnabled;
05608
05612 attribute unsigned long VRAMSize;
05613
05619 attribute boolean accelerate3DEnabled;
05620
05626 attribute boolean accelerate2DVideoEnabled;
05627
05638 attribute unsigned long monitorCount;
05639
05643 readonly attribute IBIOSSettings BIOSSettings;
05644
05649 attribute FirmwareType firmwareType;
05650
05656 attribute PointingHidType pointingHidType;
05657
05663 attribute KeyboardHidType keyboardHidType;
05664
05671 attribute boolean hpetEnabled;
05672
05706 attribute wstring snapshotFolder;
05707
05711 readonly attribute IVRDPServer VRDPServer;
05712
05716 readonly attribute IMediumAttachment[] mediumAttachments;
05717
05729 readonly attribute IUSBController USBController;
05730
05734 readonly attribute IAudioAdapter audioAdapter;
05735
05739 readonly attribute IStorageController[] storageControllers;
05740
05746 readonly attribute wstring settingsFilePath;
05747
05772 readonly attribute boolean settingsModified;
05773
05777 readonly attribute SessionState sessionState;
05778
05791 readonly attribute wstring sessionType;
05792
05804 readonly attribute unsigned long sessionPid;
05805
05809 readonly attribute MachineState state;
05810
05817 readonly attribute long long lastStateChange;
05818
05830 readonly attribute wstring stateFilePath;
05831
05841 readonly attribute wstring logFolder;
05842
05853 readonly attribute ISnapshot currentSnapshot;
05854
05861 readonly attribute unsigned long snapshotCount;
05862
05896 readonly attribute boolean currentStateModified;
05897
05909 readonly attribute ISharedFolder[] sharedFolders;
05910
05917 attribute ClipboardMode clipboardMode;
05918
05926 attribute wstring guestPropertyNotificationPatterns;
05927
05936 attribute boolean teleporterEnabled;
05937
05948 attribute unsigned long teleporterPort;
05949
05956 attribute wstring teleporterAddress;
05957
05965 attribute wstring teleporterPassword;
05966
05974 attribute boolean RTCUseUTC;
05975
05982 attribute boolean ioCacheEnabled;
05983
05989 attribute unsigned long ioCacheSize;
05990
05997 attribute unsigned long ioBandwidthMax;
05998
06036 void setBootOrder (
06037 in unsigned long position,
06038 in DeviceType device
06039 );
06040
06075 void getBootOrder (
06076 in unsigned long position,
06077 [retval] out DeviceType device
06078 );
06079
06174 void attachDevice (
06175 in wstring name,
06176 in long controllerPort,
06177 in long device,
06178 in DeviceType type,
06179 in wstringUUID id
06180 );
06181
06234 void detachDevice (
06235 in wstring name,
06236 in long controllerPort,
06237 in long device
06238 );
06239
06282 void passthroughDevice (
06283 in wstring name,
06284 in long controllerPort,
06285 in long device,
06286 in boolean passthrough
06287 );
06288
06352 void mountMedium (
06353 in wstring name,
06354 in long controllerPort,
06355 in long device,
06356 in wstringUUID medium,
06357 in boolean force
06358 );
06359
06388 void getMedium (
06389 in wstring name,
06390 in long controllerPort,
06391 in long device,
06392 [retval] out IMedium medium
06393 );
06394
06409 void getMediumAttachmentsOfController (
06410 in wstring name,
06411 [retval] out IMediumAttachment[] mediumAttachments
06412 );
06413
06428 void getMediumAttachment (
06429 in wstring name,
06430 in long controllerPort,
06431 in long device,
06432 [retval] out IMediumAttachment attachment
06433 );
06434
06452 void getNetworkAdapter (
06453 in unsigned long slot,
06454 [retval] out INetworkAdapter adapter
06455 );
06456
06489 void addStorageController (
06490 in wstring name,
06491 in StorageBus connectionType,
06492 [retval] out IStorageController controller
06493 );
06494
06508 void getStorageControllerByName (
06509 in wstring name,
06510 [retval] out IStorageController storageController
06511 );
06512
06526 void getStorageControllerByInstance (
06527 in unsigned long instance,
06528 [retval] out IStorageController storageController
06529 );
06530
06544 void removeStorageController (
06545 in wstring name
06546 );
06547
06565 void getSerialPort (
06566 in unsigned long slot,
06567 [retval] out ISerialPort port
06568 );
06569
06587 void getParallelPort (
06588 in unsigned long slot,
06589 [retval] out IParallelPort port
06590 );
06591
06600 void getExtraDataKeys (
06601 [retval] out wstring[] value
06602 );
06603
06632 void getExtraData (
06633 in wstring key,
06634 [retval] out wstring value
06635 );
06636
06686 void setExtraData (
06687 in wstring key,
06688 in wstring value
06689 );
06690
06712 void getCPUProperty (
06713 in CPUPropertyType property,
06714 [retval] out boolean value
06715 );
06716
06738 void setCPUProperty (
06739 in CPUPropertyType property,
06740 in boolean value
06741 );
06742
06782 void getCPUIDLeaf (
06783 in unsigned long id,
06784 out unsigned long valEax,
06785 out unsigned long valEbx,
06786 out unsigned long valEcx,
06787 out unsigned long valEdx
06788 );
06789
06833 void setCPUIDLeaf (
06834 in unsigned long id,
06835 in unsigned long valEax,
06836 in unsigned long valEbx,
06837 in unsigned long valEcx,
06838 in unsigned long valEdx
06839 );
06840
06858 void removeCPUIDLeaf (
06859 in unsigned long id
06860 );
06861
06867 void removeAllCPUIDLeaves();
06868
06890 void getHWVirtExProperty (
06891 in HWVirtExPropertyType property,
06892 [retval] out boolean value
06893 );
06894
06916 void setHWVirtExProperty (
06917 in HWVirtExPropertyType property,
06918 in boolean value
06919 );
06920
06966 void saveSettings();
06967
06991 void discardSettings();
06992
07034 void deleteSettings();
07035
07045 void export (
07046 in IAppliance aAppliance,
07047 [retval] out IVirtualSystemDescription aDescription
07048 );
07049
07070 void getSnapshot (
07071 in wstringUUID id,
07072 [retval] out ISnapshot snapshot
07073 );
07074
07092 void findSnapshot (
07093 in wstring name,
07094 [retval] out ISnapshot snapshot
07095 );
07096
07109 void setCurrentSnapshot (
07110 in wstringUUID id
07111 );
07112
07143 void createSharedFolder (
07144 in wstring name,
07145 in wstring hostPath,
07146 in boolean writable
07147 );
07148
07174 void removeSharedFolder (
07175 in wstring name
07176 );
07177
07201 void canShowConsoleWindow (
07202 [retval] out boolean canShow
07203 );
07204
07239 void showConsoleWindow (
07240 [retval] out unsigned long long winId
07241 );
07242
07275 void getGuestProperty (
07276 in wstring name,
07277 out wstring value,
07278 out unsigned long long timestamp,
07279 out wstring flags
07280 );
07281
07304 void getGuestPropertyValue (
07305 in wstring property,
07306 [retval] out wstring value
07307 );
07308
07331 void getGuestPropertyTimestamp (
07332 in wstring property,
07333 [retval] out unsigned long long value
07334 );
07335
07386 void setGuestProperty (
07387 in wstring property,
07388 in wstring value,
07389 in wstring flags
07390 );
07391
07432 void setGuestPropertyValue (
07433 in wstring property,
07434 in wstring value
07435 );
07436
07467 void enumerateGuestProperties (
07468 in wstring patterns,
07469 out wstring[] name,
07470 out wstring[] value,
07471 out unsigned long long[] timestamp,
07472 out wstring[] flags
07473 );
07474
07492 void querySavedThumbnailSize (
07493 out unsigned long size,
07494 out unsigned long width,
07495 out unsigned long height
07496 );
07497
07520 void readSavedThumbnailToArray (
07521 in boolean BGR,
07522 out unsigned long width,
07523 out unsigned long height,
07524 [retval] out octet[] data
07525 );
07526
07544 void querySavedScreenshotPNGSize (
07545 out unsigned long size,
07546 out unsigned long width,
07547 out unsigned long height
07548 );
07549
07567 void readSavedScreenshotPNGToArray (
07568 out unsigned long width,
07569 out unsigned long height,
07570 [retval] out octet[] data
07571 );
07572
07582 void hotPlugCPU (
07583 in unsigned long cpu
07584 );
07585
07595 void hotUnplugCPU (
07596 in unsigned long cpu
07597 );
07598
07612 void getCPUStatus (
07613 in unsigned long cpu,
07614 [retval] out boolean attached
07615 );
07616
07631 void queryLogFilename (
07632 in unsigned long idx,
07633 [retval] out wstring filename
07634 );
07635
07661 void readLog (
07662 in unsigned long idx,
07663 in unsigned long long offset,
07664 in unsigned long long size,
07665 [retval] out octet[] data
07666 );
07667
07668 };
07669
07688 interface IConsoleCallback : $unknown
07689 {
07763 void onMousePointerShapeChange (
07764 in boolean visible,
07765 in boolean alpha,
07766 in unsigned long xHot,
07767 in unsigned long yHot,
07768 in unsigned long width,
07769 in unsigned long height,
07770 in octetPtr shape
07771 );
07772
07786 void onMouseCapabilityChange (
07787 in boolean supportsAbsolute,
07788 in boolean supportsRelative,
07789 in boolean needsHostCursor
07790 );
07791
07805 void onKeyboardLedsChange (
07806 in boolean numLock,
07807 in boolean capsLock,
07808 in boolean scrollLock
07809 );
07810
07824 void onStateChange (
07825 in MachineState state
07826 );
07827
07835 void onAdditionsStateChange();
07836
07854 void onNetworkAdapterChange (
07855 in INetworkAdapter networkAdapter
07856 );
07857
07875 void onSerialPortChange (
07876 in ISerialPort serialPort
07877 );
07878
07896 void onParallelPortChange (
07897 in IParallelPort parallelPort
07898 );
07899
07915 void onStorageControllerChange();
07916
07933 void onMediumChange (
07934 in IMediumAttachment mediumAttachment
07935 );
07936
07953 void onCPUChange (
07954 in unsigned long cpu,
07955 in boolean add
07956 );
07957
07973 void onVRDPServerChange();
07974
07989 void onRemoteDisplayInfoChange();
07990
08006 void onUSBControllerChange();
08007
08047 void onUSBDeviceStateChange (
08048 in IUSBDevice device,
08049 in boolean attached,
08050 in IVirtualBoxErrorInfo error
08051 );
08052
08075 void onSharedFolderChange (
08076 in Scope scope
08077 );
08078
08150 void onRuntimeError (
08151 in boolean fatal,
08152 in wstring id,
08153 in wstring message
08154 );
08155
08190 void onCanShowWindow (
08191 [retval] out boolean canShow
08192 );
08193
08247 void onShowWindow (
08248 [retval] out unsigned long long winId
08249 );
08250
08251 };
08252
08261 interface IRemoteDisplayInfo : $unknown
08262 {
08268 readonly attribute boolean active;
08269
08278 readonly attribute long port;
08279
08285 readonly attribute unsigned long numberOfClients;
08286
08292 readonly attribute long long beginTime;
08293
08300 readonly attribute long long endTime;
08301
08307 readonly attribute unsigned long long bytesSent;
08308
08314 readonly attribute unsigned long long bytesSentTotal;
08315
08321 readonly attribute unsigned long long bytesReceived;
08322
08328 readonly attribute unsigned long long bytesReceivedTotal;
08329
08335 readonly attribute wstring user;
08336
08342 readonly attribute wstring domain;
08343
08349 readonly attribute wstring clientName;
08350
08356 readonly attribute wstring clientIP;
08357
08363 readonly attribute unsigned long clientVersion;
08364
08372 readonly attribute unsigned long encryptionStyle;
08373
08374 };
08375
08398 interface IConsole : $unknown
08399 {
08411 readonly attribute IMachine machine;
08412
08426 readonly attribute MachineState state;
08427
08431 readonly attribute IGuest guest;
08432
08443 readonly attribute IKeyboard keyboard;
08444
08455 readonly attribute IMouse mouse;
08456
08466 readonly attribute IDisplay display;
08467
08471 readonly attribute IMachineDebugger debugger;
08472
08483 readonly attribute IUSBDevice[] USBDevices;
08484
08492 readonly attribute IHostUSBDevice[] remoteUSBDevices;
08493
08509 readonly attribute ISharedFolder[] sharedFolders;
08510
08516 readonly attribute IRemoteDisplayInfo remoteDisplayInfo;
08517
08571 void powerUp (
08572 [retval] out IProgress progress
08573 );
08574
08608 void powerUpPaused (
08609 [retval] out IProgress progress
08610 );
08611
08631 void powerDown (
08632 [retval] out IProgress progress
08633 );
08634
08654 void reset();
08655
08675 void pause();
08676
08696 void resume();
08697
08717 void powerButton();
08718
08738 void sleepButton();
08739
08751 void getPowerButtonHandled (
08752 [retval] out boolean handled
08753 );
08754
08768 void getGuestEnteredACPIMode (
08769 [retval] out boolean entered
08770 );
08771
08824 void saveState (
08825 [retval] out IProgress progress
08826 );
08827
08860 void adoptSavedState (
08861 in wstring savedStateFile
08862 );
08863
08886 void forgetSavedState (
08887 in boolean remove
08888 );
08889
08902 void getDeviceActivity (
08903 in DeviceType type,
08904 [retval] out DeviceActivity activity
08905 );
08906
08943 void attachUSBDevice (
08944 in wstringUUID id
08945 );
08946
08980 void detachUSBDevice (
08981 in wstringUUID id,
08982 [retval] out IUSBDevice device
08983 );
08984
09007 void findUSBDeviceByAddress (
09008 in wstring name,
09009 [retval] out IUSBDevice device
09010 );
09011
09031 void findUSBDeviceById (
09032 in wstringUUID id,
09033 [retval] out IUSBDevice device
09034 );
09035
09066 void createSharedFolder (
09067 in wstring name,
09068 in wstring hostPath,
09069 in boolean writable
09070 );
09071
09096 void removeSharedFolder (
09097 in wstring name
09098 );
09099
09137 void takeSnapshot (
09138 in wstring name,
09139 in wstring description,
09140 [retval] out IProgress progress
09141 );
09142
09209 void deleteSnapshot (
09210 in wstringUUID id,
09211 [retval] out IProgress progress
09212 );
09213
09254 void restoreSnapshot (
09255 in ISnapshot snapshot,
09256 [retval] out IProgress progress
09257 );
09258
09297 void teleport (
09298 in wstring hostname,
09299 in unsigned long tcpport,
09300 in wstring password,
09301 in unsigned long maxDowntime,
09302 [retval] out IProgress progress
09303 );
09304
09312 void registerCallback (
09313 in IConsoleCallback callback
09314 );
09315
09329 void unregisterCallback (
09330 in IConsoleCallback callback
09331 );
09332
09333 };
09334
09345 interface IHostNetworkInterface : $unknown
09346 {
09350 readonly attribute wstring name;
09351
09355 readonly attribute wstringUUID id;
09356
09360 readonly attribute wstring networkName;
09361
09365 readonly attribute boolean dhcpEnabled;
09366
09370 readonly attribute wstring IPAddress;
09371
09375 readonly attribute wstring networkMask;
09376
09380 readonly attribute boolean IPV6Supported;
09381
09385 readonly attribute wstring IPV6Address;
09386
09390 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
09391
09395 readonly attribute wstring hardwareAddress;
09396
09400 readonly attribute HostNetworkInterfaceMediumType mediumType;
09401
09405 readonly attribute HostNetworkInterfaceStatus status;
09406
09410 readonly attribute HostNetworkInterfaceType interfaceType;
09411
09423 void enableStaticIpConfig (
09424 in wstring IPAddress,
09425 in wstring networkMask
09426 );
09427
09439 void enableStaticIpConfigV6 (
09440 in wstring IPV6Address,
09441 in unsigned long IPV6NetworkMaskPrefixLength
09442 );
09443
09447 void enableDynamicIpConfig();
09448
09452 void dhcpRediscover();
09453
09454 };
09455
09472 interface IHost : $unknown
09473 {
09477 readonly attribute IMedium[] DVDDrives;
09478
09482 readonly attribute IMedium[] floppyDrives;
09483
09497 readonly attribute IHostUSBDevice[] USBDevices;
09498
09521 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
09522
09526 readonly attribute IHostNetworkInterface[] networkInterfaces;
09527
09531 readonly attribute unsigned long processorCount;
09532
09536 readonly attribute unsigned long processorOnlineCount;
09537
09541 readonly attribute unsigned long memorySize;
09542
09546 readonly attribute unsigned long memoryAvailable;
09547
09551 readonly attribute wstring operatingSystem;
09552
09556 readonly attribute wstring OSVersion;
09557
09561 readonly attribute long long UTCTime;
09562
09566 readonly attribute boolean Acceleration3DAvailable;
09567
09582 void getProcessorSpeed (
09583 in unsigned long cpuId,
09584 [retval] out unsigned long speed
09585 );
09586
09598 void getProcessorFeature (
09599 in ProcessorFeature feature,
09600 [retval] out boolean supported
09601 );
09602
09621 void getProcessorDescription (
09622 in unsigned long cpuId,
09623 [retval] out wstring description
09624 );
09625
09666 void getProcessorCPUIDLeaf (
09667 in unsigned long cpuId,
09668 in unsigned long leaf,
09669 in unsigned long subLeaf,
09670 out unsigned long valEax,
09671 out unsigned long valEbx,
09672 out unsigned long valEcx,
09673 out unsigned long valEdx
09674 );
09675
09696 void createHostOnlyNetworkInterface (
09697 out IHostNetworkInterface hostInterface,
09698 [retval] out IProgress progress
09699 );
09700
09721 void removeHostOnlyNetworkInterface (
09722 in wstringUUID id,
09723 [retval] out IProgress progress
09724 );
09725
09746 void createUSBDeviceFilter (
09747 in wstring name,
09748 [retval] out IHostUSBDeviceFilter filter
09749 );
09750
09793 void insertUSBDeviceFilter (
09794 in unsigned long position,
09795 in IHostUSBDeviceFilter filter
09796 );
09797
09825 void removeUSBDeviceFilter (
09826 in unsigned long position
09827 );
09828
09846 void findHostDVDDrive (
09847 in wstring name,
09848 [retval] out IMedium drive
09849 );
09850
09868 void findHostFloppyDrive (
09869 in wstring name,
09870 [retval] out IMedium drive
09871 );
09872
09888 void findHostNetworkInterfaceByName (
09889 in wstring name,
09890 [retval] out IHostNetworkInterface networkInterface
09891 );
09892
09908 void findHostNetworkInterfaceById (
09909 in wstringUUID id,
09910 [retval] out IHostNetworkInterface networkInterface
09911 );
09912
09922 void findHostNetworkInterfacesOfType (
09923 in HostNetworkInterfaceType type,
09924 [retval] out IHostNetworkInterface[] networkInterfaces
09925 );
09926
09946 void findUSBDeviceById (
09947 in wstringUUID id,
09948 [retval] out IHostUSBDevice device
09949 );
09950
09973 void findUSBDeviceByAddress (
09974 in wstring name,
09975 [retval] out IHostUSBDevice device
09976 );
09977
09978 };
09979
09992 interface ISystemProperties : $unknown
09993 {
09997 readonly attribute unsigned long minGuestRAM;
09998
10002 readonly attribute unsigned long maxGuestRAM;
10003
10007 readonly attribute unsigned long minGuestVRAM;
10008
10012 readonly attribute unsigned long maxGuestVRAM;
10013
10017 readonly attribute unsigned long minGuestCPUCount;
10018
10022 readonly attribute unsigned long maxGuestCPUCount;
10023
10027 readonly attribute unsigned long maxGuestMonitors;
10028
10032 readonly attribute unsigned long long maxVDISize;
10033
10040 readonly attribute unsigned long networkAdapterCount;
10041
10048 readonly attribute unsigned long serialPortCount;
10049
10056 readonly attribute unsigned long parallelPortCount;
10057
10067 readonly attribute unsigned long maxBootPosition;
10068
10101 attribute wstring defaultMachineFolder;
10102
10141 attribute wstring defaultHardDiskFolder;
10142
10168 readonly attribute IMediumFormat[] mediumFormats;
10169
10203 attribute wstring defaultHardDiskFormat;
10204
10210 attribute unsigned long long freeDiskSpaceWarning;
10211
10216 attribute unsigned long freeDiskSpacePercentWarning;
10217
10223 attribute unsigned long long freeDiskSpaceError;
10224
10229 attribute unsigned long freeDiskSpacePercentError;
10230
10254 attribute wstring remoteDisplayAuthLibrary;
10255
10284 attribute wstring webServiceAuthLibrary;
10285
10291 attribute unsigned long LogHistoryCount;
10292
10297 readonly attribute AudioDriverType defaultAudioDriver;
10298
10308 void getMaxDevicesPerPortForStorageBus (
10309 in StorageBus bus,
10310 [retval] out unsigned long maxDevicesPerPort
10311 );
10312
10320 void getMinPortCountForStorageBus (
10321 in StorageBus bus,
10322 [retval] out unsigned long minPortCount
10323 );
10324
10332 void getMaxPortCountForStorageBus (
10333 in StorageBus bus,
10334 [retval] out unsigned long maxPortCount
10335 );
10336
10346 void getMaxInstancesOfStorageBus (
10347 in StorageBus bus,
10348 [retval] out unsigned long maxInstances
10349 );
10350
10360 void getDeviceTypesForStorageBus (
10361 in StorageBus bus,
10362 [retval] out DeviceType[] deviceTypes
10363 );
10364
10365 };
10366
10372 interface IGuestOSType : $unknown
10373 {
10377 readonly attribute wstring familyId;
10378
10382 readonly attribute wstring familyDescription;
10383
10387 readonly attribute wstring id;
10388
10392 readonly attribute wstring description;
10393
10397 readonly attribute boolean is64Bit;
10398
10402 readonly attribute boolean recommendedIOAPIC;
10403
10407 readonly attribute boolean recommendedVirtEx;
10408
10412 readonly attribute unsigned long recommendedRAM;
10413
10417 readonly attribute unsigned long recommendedVRAM;
10418
10422 readonly attribute unsigned long recommendedHDD;
10423
10427 readonly attribute NetworkAdapterType adapterType;
10428
10432 readonly attribute boolean recommendedPae;
10433
10437 readonly attribute StorageControllerType recommendedDvdStorageController;
10438
10442 readonly attribute StorageBus recommendedDvdStorageBus;
10443
10447 readonly attribute StorageControllerType recommendedHdStorageController;
10448
10452 readonly attribute StorageBus recommendedHdStorageBus;
10453
10457 readonly attribute FirmwareType recommendedFirmware;
10458
10462 readonly attribute boolean recommendedUsbHid;
10463
10467 readonly attribute boolean recommendedHpet;
10468
10472 readonly attribute boolean recommendedUsbTablet;
10473
10477 readonly attribute boolean recommendedRtcUseUtc;
10478
10479 };
10480
10494 interface IGuest : $unknown
10495 {
10510 readonly attribute wstring OSTypeId;
10511
10519 readonly attribute boolean additionsActive;
10520
10530 readonly attribute wstring additionsVersion;
10531
10538 readonly attribute boolean supportsSeamless;
10539
10548 readonly attribute boolean supportsGraphics;
10549
10553 attribute unsigned long memoryBalloonSize;
10554
10561 attribute boolean SharedPagingEnabled;
10562
10566 attribute unsigned long statisticsUpdateInterval;
10567
10599 void internalGetStatistics (
10600 out unsigned long cpuUser,
10601 out unsigned long cpuKernel,
10602 out unsigned long cpuIdle,
10603 out unsigned long memTotal,
10604 out unsigned long memFree,
10605 out unsigned long memBalloon,
10606 out unsigned long memShared,
10607 out unsigned long memCache,
10608 out unsigned long pagedTotal,
10609 out unsigned long memAllocTotal,
10610 out unsigned long memFreeTotal,
10611 out unsigned long memBalloonTotal,
10612 out unsigned long memSharedTotal
10613 );
10614
10644 void setCredentials (
10645 in wstring userName,
10646 in wstring password,
10647 in wstring domain,
10648 in boolean allowInteractiveLogon
10649 );
10650
10719 void executeProcess (
10720 in wstring execName,
10721 in unsigned long flags,
10722 in wstring[] arguments,
10723 in wstring[] environment,
10724 in wstring stdIn,
10725 in wstring stdOut,
10726 in wstring stdErr,
10727 in wstring userName,
10728 in wstring password,
10729 in unsigned long timeoutMS,
10730 out unsigned long pid,
10731 [retval] out IProgress progress
10732 );
10733
10771 void getProcessOutput (
10772 in unsigned long pid,
10773 in unsigned long flags,
10774 in unsigned long timeoutMS,
10775 in unsigned long long size,
10776 [retval] out octet[] data
10777 );
10778
10808 void getProcessStatus (
10809 in unsigned long pid,
10810 out unsigned long exitcode,
10811 out unsigned long flags,
10812 [retval] out unsigned long reason
10813 );
10814
10815 };
10816
10857 interface IProgress : $unknown
10858 {
10862 readonly attribute wstringUUID id;
10863
10867 readonly attribute wstring description;
10868
10872 readonly attribute $unknown initiator;
10873
10877 readonly attribute boolean cancelable;
10878
10886 readonly attribute unsigned long percent;
10887
10901 readonly attribute long timeRemaining;
10902
10906 readonly attribute boolean completed;
10907
10911 readonly attribute boolean canceled;
10912
10919 readonly attribute long resultCode;
10920
10930 readonly attribute IVirtualBoxErrorInfo errorInfo;
10931
10938 readonly attribute unsigned long operationCount;
10939
10943 readonly attribute unsigned long operation;
10944
10950 readonly attribute wstring operationDescription;
10951
10955 readonly attribute unsigned long operationPercent;
10956
10964 attribute unsigned long timeout;
10965
10969 void setCurrentOperationProgress (
10970 in unsigned long percent
10971 );
10972
10976 void setNextOperation (
10977 in wstring nextOperationDescription,
10978 in unsigned long nextOperationsWeight
10979 );
10980
10999 void waitForCompletion (
11000 in long timeout
11001 );
11002
11026 void waitForOperationCompletion (
11027 in unsigned long operation,
11028 in long timeout
11029 );
11030
11047 void cancel();
11048
11049 };
11050
11142 interface ISnapshot : $unknown
11143 {
11147 readonly attribute wstringUUID id;
11148
11152 attribute wstring name;
11153
11157 attribute wstring description;
11158
11164 readonly attribute long long timeStamp;
11165
11177 readonly attribute boolean online;
11178
11190 readonly attribute IMachine machine;
11191
11198 readonly attribute ISnapshot parent;
11199
11205 readonly attribute ISnapshot[] children;
11206
11207 };
11208
11224 interface IMediumAttachment : $unknown
11225 {
11230 readonly attribute IMedium medium;
11231
11237 readonly attribute wstring controller;
11238
11242 readonly attribute long port;
11243
11247 readonly attribute long device;
11248
11252 readonly attribute DeviceType type;
11253
11257 readonly attribute boolean passthrough;
11258
11259 };
11260
11606 interface IMedium : $unknown
11607 {
11621 readonly attribute wstringUUID id;
11622
11641 attribute wstring description;
11642
11658 readonly attribute MediumState state;
11659
11681 attribute wstring location;
11682
11702 readonly attribute wstring name;
11703
11708 readonly attribute DeviceType deviceType;
11709
11713 readonly attribute boolean hostDrive;
11714
11727 readonly attribute unsigned long long size;
11728
11743 readonly attribute wstring format;
11744
11760 readonly attribute IMediumFormat mediumFormat;
11761
11786 attribute MediumType type;
11787
11797 readonly attribute IMedium parent;
11798
11806 readonly attribute IMedium[] children;
11807
11818 readonly attribute IMedium base;
11819
11852 readonly attribute boolean readOnly;
11853
11874 readonly attribute unsigned long long logicalSize;
11875
11903 attribute boolean autoReset;
11904
11919 readonly attribute wstring lastAccessError;
11920
11937 readonly attribute wstringUUID[] machineIds;
11938
11973 void refreshState (
11974 [retval] out MediumState state
11975 );
11976
12003 void getSnapshotIds (
12004 in wstringUUID machineId,
12005 [retval] out wstringUUID[] snapshotIds
12006 );
12007
12067 void lockRead (
12068 [retval] out MediumState state
12069 );
12070
12093 void unlockRead (
12094 [retval] out MediumState state
12095 );
12096
12151 void lockWrite (
12152 [retval] out MediumState state
12153 );
12154
12177 void unlockWrite (
12178 [retval] out MediumState state
12179 );
12180
12229 void close();
12230
12260 void getProperty (
12261 in wstring name,
12262 [retval] out wstring value
12263 );
12264
12296 void setProperty (
12297 in wstring name,
12298 in wstring value
12299 );
12300
12334 void getProperties (
12335 in wstring names,
12336 out wstring[] returnNames,
12337 [retval] out wstring[] returnValues
12338 );
12339
12371 void setProperties (
12372 in wstring[] names,
12373 in wstring[] values
12374 );
12375
12407 void createBaseStorage (
12408 in unsigned long long logicalSize,
12409 in MediumVariant variant,
12410 [retval] out IProgress progress
12411 );
12412
12464 void deleteStorage (
12465 [retval] out IProgress progress
12466 );
12467
12505 void createDiffStorage (
12506 in IMedium target,
12507 in MediumVariant variant,
12508 [retval] out IProgress progress
12509 );
12510
12586 void mergeTo (
12587 in IMedium target,
12588 [retval] out IProgress progress
12589 );
12590
12639 void cloneTo (
12640 in IMedium target,
12641 in MediumVariant variant,
12642 in IMedium parent,
12643 [retval] out IProgress progress
12644 );
12645
12674 void compact (
12675 [retval] out IProgress progress
12676 );
12677
12710 void resize (
12711 in unsigned long long logicalSize,
12712 [retval] out IProgress progress
12713 );
12714
12748 void reset (
12749 [retval] out IProgress progress
12750 );
12751
12752 };
12753
12776 interface IMediumFormat : $unknown
12777 {
12796 readonly attribute wstring id;
12797
12805 readonly attribute wstring name;
12806
12822 readonly attribute wstring[] fileExtensions;
12823
12832 readonly attribute unsigned long capabilities;
12833
12863 void describeProperties (
12864 out wstring[] names,
12865 out wstring[] description,
12866 out DataType[] types,
12867 out unsigned long[] flags,
12868 out wstring[] defaults
12869 );
12870
12871 };
12872
12885 interface IKeyboard : $unknown
12886 {
12899 void putScancode (
12900 in long scancode
12901 );
12902
12915 void putScancodes (
12916 in long[] scancodes,
12917 [retval] out unsigned long codesStored
12918 );
12919
12934 void putCAD();
12935
12936 };
12937
12949 interface IMouse : $unknown
12950 {
12965 readonly attribute boolean absoluteSupported;
12966
12981 readonly attribute boolean relativeSupported;
12982
12997 readonly attribute boolean needsHostCursor;
12998
13064 void putMouseEvent (
13065 in long dx,
13066 in long dy,
13067 in long dz,
13068 in long dw,
13069 in long buttonState
13070 );
13071
13144 void putMouseEventAbsolute (
13145 in long x,
13146 in long y,
13147 in long dz,
13148 in long dw,
13149 in long buttonState
13150 );
13151
13152 };
13153
13154 interface IFramebuffer : $unknown
13155 {
13164 readonly attribute octetPtr address;
13165
13169 readonly attribute unsigned long width;
13170
13174 readonly attribute unsigned long height;
13175
13182 readonly attribute unsigned long bitsPerPixel;
13183
13190 readonly attribute unsigned long bytesPerLine;
13191
13202 readonly attribute unsigned long pixelFormat;
13203
13210 readonly attribute boolean usesGuestVRAM;
13211
13221 readonly attribute unsigned long heightReduction;
13222
13237 readonly attribute IFramebufferOverlay overlay;
13238
13245 readonly attribute unsigned long long winId;
13246
13254 void lock();
13255
13263 void unlock();
13264
13272 void notifyUpdate (
13273 in unsigned long x,
13274 in unsigned long y,
13275 in unsigned long width,
13276 in unsigned long height
13277 );
13278
13391 void requestResize (
13392 in unsigned long screenId,
13393 in unsigned long pixelFormat,
13394 in octetPtr VRAM,
13395 in unsigned long bitsPerPixel,
13396 in unsigned long bytesPerLine,
13397 in unsigned long width,
13398 in unsigned long height,
13399 [retval] out boolean finished
13400 );
13401
13413 void videoModeSupported (
13414 in unsigned long width,
13415 in unsigned long height,
13416 in unsigned long bpp,
13417 [retval] out boolean supported
13418 );
13419
13456 void getVisibleRegion (
13457 in octetPtr rectangles,
13458 in unsigned long count,
13459 [retval] out unsigned long countCopied
13460 );
13461
13496 void setVisibleRegion (
13497 in octetPtr rectangles,
13498 in unsigned long count
13499 );
13500
13521 void processVHWACommand (
13522 in octetPtr command
13523 );
13524
13525 };
13526
13541 interface IFramebufferOverlay : IFramebuffer
13542 {
13546 readonly attribute unsigned long x;
13547
13551 readonly attribute unsigned long y;
13552
13558 attribute boolean visible;
13559
13566 attribute unsigned long alpha;
13567
13573 void move (
13574 in unsigned long x,
13575 in unsigned long y
13576 );
13577
13578 };
13579
13595 interface IDisplay : $unknown
13596 {
13600 void getScreenResolution (
13601 in unsigned long screenId,
13602 out unsigned long width,
13603 out unsigned long height,
13604 out unsigned long bitsPerPixel
13605 );
13606
13612 void setFramebuffer (
13613 in unsigned long screenId,
13614 in IFramebuffer framebuffer
13615 );
13616
13622 void getFramebuffer (
13623 in unsigned long screenId,
13624 out IFramebuffer framebuffer,
13625 out long xOrigin,
13626 out long yOrigin
13627 );
13628
13657 void setVideoModeHint (
13658 in unsigned long width,
13659 in unsigned long height,
13660 in unsigned long bitsPerPixel,
13661 in unsigned long display
13662 );
13663
13674 void setSeamlessMode (
13675 in boolean enabled
13676 );
13677
13711 void takeScreenShot (
13712 in unsigned long screenId,
13713 in octetPtr address,
13714 in unsigned long width,
13715 in unsigned long height
13716 );
13717
13761 void takeScreenShotToArray (
13762 in unsigned long screenId,
13763 in unsigned long width,
13764 in unsigned long height,
13765 [retval] out octet[] screenData
13766 );
13767
13799 void drawToScreen (
13800 in unsigned long screenId,
13801 in octetPtr address,
13802 in unsigned long x,
13803 in unsigned long y,
13804 in unsigned long width,
13805 in unsigned long height
13806 );
13807
13822 void invalidateAndUpdate();
13823
13837 void resizeCompleted (
13838 in unsigned long screenId
13839 );
13840
13853 void completeVHWACommand (
13854 in octetPtr command
13855 );
13856
13857 };
13858
13874 interface INetworkAdapter : $unknown
13875 {
13883 attribute NetworkAdapterType adapterType;
13884
13892 readonly attribute unsigned long slot;
13893
13902 attribute boolean enabled;
13903
13910 attribute wstring MACAddress;
13911
13912 readonly attribute NetworkAttachmentType attachmentType;
13913
13919 attribute wstring hostInterface;
13920
13926 attribute wstring internalNetwork;
13927
13933 attribute wstring NATNetwork;
13934
13940 attribute wstring VDENetwork;
13941
13948 attribute boolean cableConnected;
13949
13955 attribute unsigned long lineSpeed;
13956
13963 attribute boolean traceEnabled;
13964
13971 attribute wstring traceFile;
13972
13980 readonly attribute INATEngine natDriver;
13981
13988 attribute unsigned long bootPriority;
13989
13995 void attachToNAT();
13996
14002 void attachToBridgedInterface();
14003
14009 void attachToInternalNetwork();
14010
14016 void attachToHostOnlyInterface();
14017
14023 void attachToVDE();
14024
14030 void detach();
14031
14032 };
14033
14062 interface ISerialPort : $unknown
14063 {
14071 readonly attribute unsigned long slot;
14072
14079 attribute boolean enabled;
14080
14084 attribute unsigned long IOBase;
14085
14089 attribute unsigned long IRQ;
14090
14101 attribute PortMode hostMode;
14102
14110 attribute boolean server;
14111
14121 attribute wstring path;
14122
14123 };
14124
14144 interface IParallelPort : $unknown
14145 {
14153 readonly attribute unsigned long slot;
14154
14161 attribute boolean enabled;
14162
14166 attribute unsigned long IOBase;
14167
14171 attribute unsigned long IRQ;
14172
14180 attribute wstring path;
14181
14182 };
14183
14184 interface IMachineDebugger : $unknown
14185 {
14189 attribute boolean singlestep;
14190
14194 attribute boolean recompileUser;
14195
14199 attribute boolean recompileSupervisor;
14200
14204 attribute boolean PATMEnabled;
14205
14209 attribute boolean CSAMEnabled;
14210
14214 attribute boolean logEnabled;
14215
14222 readonly attribute boolean HWVirtExEnabled;
14223
14230 readonly attribute boolean HWVirtExNestedPagingEnabled;
14231
14238 readonly attribute boolean HWVirtExVPIDEnabled;
14239
14246 readonly attribute boolean PAEEnabled;
14247
14254 attribute unsigned long virtualTimeRate;
14255
14262 readonly attribute unsigned long long VM;
14263
14271 void resetStats (
14272 in wstring pattern
14273 );
14274
14282 void dumpStats (
14283 in wstring pattern
14284 );
14285
14297 void getStats (
14298 in wstring pattern,
14299 in boolean withDescriptions,
14300 out wstring stats
14301 );
14302
14308 void injectNMI();
14309
14310 };
14311
14312 interface IUSBController : $unknown
14313 {
14322 attribute boolean enabled;
14323
14332 attribute boolean enabledEhci;
14333
14339 readonly attribute boolean proxyAvailable;
14340
14348 readonly attribute unsigned short USBStandard;
14349
14375 readonly attribute IUSBDeviceFilter[] deviceFilters;
14376
14404 void createDeviceFilter (
14405 in wstring name,
14406 [retval] out IUSBDeviceFilter filter
14407 );
14408
14453 void insertDeviceFilter (
14454 in unsigned long position,
14455 in IUSBDeviceFilter filter
14456 );
14457
14490 void removeDeviceFilter (
14491 in unsigned long position,
14492 [retval] out IUSBDeviceFilter filter
14493 );
14494
14495 };
14496
14509 interface IUSBDevice : $unknown
14510 {
14517 readonly attribute wstringUUID id;
14518
14522 readonly attribute unsigned short vendorId;
14523
14527 readonly attribute unsigned short productId;
14528
14536 readonly attribute unsigned short revision;
14537
14541 readonly attribute wstring manufacturer;
14542
14546 readonly attribute wstring product;
14547
14551 readonly attribute wstring serialNumber;
14552
14556 readonly attribute wstring address;
14557
14564 readonly attribute unsigned short port;
14565
14571 readonly attribute unsigned short version;
14572
14580 readonly attribute unsigned short portVersion;
14581
14588 readonly attribute boolean remote;
14589
14590 };
14591
14665 interface IUSBDeviceFilter : $unknown
14666 {
14674 attribute wstring name;
14675
14679 attribute boolean active;
14680
14688 attribute wstring vendorId;
14689
14697 attribute wstring productId;
14698
14712 attribute wstring revision;
14713
14718 attribute wstring manufacturer;
14719
14724 attribute wstring product;
14725
14730 attribute wstring serialNumber;
14731
14736 attribute wstring port;
14737
14747 attribute wstring remote;
14748
14758 attribute unsigned long maskedInterfaces;
14759
14760 };
14761
14777 interface IHostUSBDevice : IUSBDevice
14778 {
14784 readonly attribute USBDeviceState state;
14785
14786 };
14787
14810 interface IHostUSBDeviceFilter : IUSBDeviceFilter
14811 {
14818 attribute USBDeviceFilterAction action;
14819
14820 };
14821
14830 interface IAudioAdapter : $unknown
14831 {
14840 attribute boolean enabled;
14841
14847 attribute AudioControllerType audioController;
14848
14855 attribute AudioDriverType audioDriver;
14856
14857 };
14858
14859 interface IVRDPServer : $unknown
14860 {
14864 attribute boolean enabled;
14865
14875 attribute wstring ports;
14876
14880 attribute wstring netAddress;
14881
14885 attribute VRDPAuthType authType;
14886
14890 attribute unsigned long authTimeout;
14891
14898 attribute boolean allowMultiConnection;
14899
14907 attribute boolean reuseSingleConnection;
14908
14914 attribute boolean videoChannel;
14915
14921 attribute unsigned long videoChannelQuality;
14922
14923 };
14924
14982 interface ISharedFolder : $unknown
14983 {
14987 readonly attribute wstring name;
14988
14992 readonly attribute wstring hostPath;
14993
15003 readonly attribute boolean accessible;
15004
15011 readonly attribute boolean writable;
15012
15025 readonly attribute wstring lastAccessError;
15026
15027 };
15028
15029 interface IInternalSessionControl : $unknown
15030 {
15035 void getPID (
15036 [retval] out unsigned long pid
15037 );
15038
15060 void getRemoteConsole (
15061 [retval] out IConsole console
15062 );
15063
15087 void assignMachine (
15088 in IMachine machine
15089 );
15090
15105 void assignRemoteMachine (
15106 in IMachine machine,
15107 in IConsole console
15108 );
15109
15133 void updateMachineState (
15134 in MachineState aMachineState
15135 );
15136
15152 void uninitialize();
15153
15176 void onNetworkAdapterChange (
15177 in INetworkAdapter networkAdapter,
15178 in boolean changeAdapter
15179 );
15180
15203 void onSerialPortChange (
15204 in ISerialPort serialPort
15205 );
15206
15229 void onParallelPortChange (
15230 in IParallelPort parallelPort
15231 );
15232
15255 void onStorageControllerChange();
15256
15279 void onMediumChange (
15280 in IMediumAttachment mediumAttachment,
15281 in boolean force
15282 );
15283
15293 void onCPUChange (
15294 in unsigned long cpu,
15295 in boolean add
15296 );
15297
15320 void onVRDPServerChange();
15321
15344 void onUSBControllerChange();
15345
15374 void onSharedFolderChange (
15375 in boolean global
15376 );
15377
15403 void onUSBDeviceAttach (
15404 in IUSBDevice device,
15405 in IVirtualBoxErrorInfo error,
15406 in unsigned long maskedInterfaces
15407 );
15408
15434 void onUSBDeviceDetach (
15435 in wstringUUID id,
15436 in IVirtualBoxErrorInfo error
15437 );
15438
15456 void onShowWindow (
15457 in boolean check,
15458 out boolean canShow,
15459 out unsigned long long winId
15460 );
15461
15485 void accessGuestProperty (
15486 in wstring name,
15487 in wstring value,
15488 in wstring flags,
15489 in boolean isSetter,
15490 out wstring retValue,
15491 out unsigned long long retTimestamp,
15492 out wstring retFlags
15493 );
15494
15542 void enumerateGuestProperties (
15543 in wstring patterns,
15544 out wstring[] key,
15545 out wstring[] value,
15546 out unsigned long long[] timestamp,
15547 out wstring[] flags
15548 );
15549
15595 void onlineMergeMedium (
15596 in IMediumAttachment mediumAttachment,
15597 in unsigned long sourceIdx,
15598 in unsigned long targetIdx,
15599 in IMedium source,
15600 in IMedium target,
15601 in boolean mergeForward,
15602 in IMedium parentForTarget,
15603 in IMedium[] childrenToReparent,
15604 in IProgress progress
15605 );
15606
15607 };
15608
15685 interface ISession : $unknown
15686 {
15690 readonly attribute SessionState state;
15691
15699 readonly attribute SessionType type;
15700
15704 readonly attribute IMachine machine;
15705
15709 readonly attribute IConsole console;
15710
15751 void close();
15752
15753 };
15754
15777 interface IStorageController : $unknown
15778 {
15787 readonly attribute wstring name;
15788
15794 readonly attribute unsigned long maxDevicesPerPortCount;
15795
15801 readonly attribute unsigned long minPortCount;
15802
15808 readonly attribute unsigned long maxPortCount;
15809
15815 attribute unsigned long instance;
15816
15825 attribute unsigned long portCount;
15826
15832 readonly attribute StorageBus bus;
15833
15846 attribute StorageControllerType controllerType;
15847
15853 attribute IoBackendType ioBackend;
15854
15877 void getIDEEmulationPort (
15878 in long devicePosition,
15879 [retval] out long portNumber
15880 );
15881
15905 void setIDEEmulationPort (
15906 in long devicePosition,
15907 in long portNumber
15908 );
15909
15910 };
15911
15935 interface IManagedObjectRef : $unknown
15936 {
15943 void getInterfaceName (
15944 [retval] out wstring return
15945 );
15946
15954 void release();
15955
15956 };
15957
15966 interface IWebsessionManager : $unknown
15967 {
15976 void logon (
15977 in wstring username,
15978 in wstring password,
15979 [retval] out IVirtualBox return
15980 );
15981
15991 void getSessionObject (
15992 in IVirtualBox refIVirtualBox,
15993 [retval] out ISession return
15994 );
15995
16003 void logoff (
16004 in IVirtualBox refIVirtualBox
16005 );
16006
16007 };
16008
16017 interface IPerformanceMetric : $unknown
16018 {
16024 readonly attribute wstring metricName;
16025
16031 readonly attribute $unknown object;
16032
16038 readonly attribute wstring description;
16039
16045 readonly attribute unsigned long period;
16046
16056 readonly attribute unsigned long count;
16057
16063 readonly attribute wstring unit;
16064
16070 readonly attribute long minimumValue;
16071
16077 readonly attribute long maximumValue;
16078
16079 };
16080
16186 interface IPerformanceCollector : $unknown
16187 {
16198 readonly attribute wstring[] metricNames;
16199
16223 void getMetrics (
16224 in wstring[] metricNames,
16225 in $unknown[] objects,
16226 [retval] out IPerformanceMetric[] metrics
16227 );
16228
16267 void setupMetrics (
16268 in wstring[] metricNames,
16269 in $unknown[] objects,
16270 in unsigned long period,
16271 in unsigned long count,
16272 [retval] out IPerformanceMetric[] affectedMetrics
16273 );
16274
16303 void enableMetrics (
16304 in wstring[] metricNames,
16305 in $unknown[] objects,
16306 [retval] out IPerformanceMetric[] affectedMetrics
16307 );
16308
16337 void disableMetrics (
16338 in wstring[] metricNames,
16339 in $unknown[] objects,
16340 [retval] out IPerformanceMetric[] affectedMetrics
16341 );
16342
16431 void queryMetricsData (
16432 in wstring[] metricNames,
16433 in $unknown[] objects,
16434 out wstring[] returnMetricNames,
16435 out $unknown[] returnObjects,
16436 out wstring[] returnUnits,
16437 out unsigned long[] returnScales,
16438 out unsigned long[] returnSequenceNumbers,
16439 out unsigned long[] returnDataIndices,
16440 out unsigned long[] returnDataLengths,
16441 [retval] out long[] returnData
16442 );
16443
16444 };
16445
16453 interface INATEngine : $unknown
16454 {
16459 attribute wstring network;
16460
16467 attribute wstring hostIP;
16468
16473 attribute wstring tftpPrefix;
16474
16479 attribute wstring tftpBootFile;
16480
16488 attribute wstring tftpNextServer;
16489
16493 attribute unsigned long aliasMode;
16494
16498 attribute boolean dnsPassDomain;
16499
16504 attribute boolean dnsProxy;
16505
16510 attribute boolean dnsUseHostResolver;
16511
16516 readonly attribute wstring[] redirects;
16517
16533 void setNetworkSettings (
16534 in unsigned long mtu,
16535 in unsigned long sockSnd,
16536 in unsigned long sockRcv,
16537 in unsigned long TcpWndSnd,
16538 in unsigned long TcpWndRcv
16539 );
16540
16545 void getNetworkSettings (
16546 out unsigned long mtu,
16547 out unsigned long sockSnd,
16548 out unsigned long sockRcv,
16549 out unsigned long TcpWndSnd,
16550 out unsigned long TcpWndRcv
16551 );
16552
16572 void addRedirect (
16573 in wstring name,
16574 in NATProtocol proto,
16575 in wstring hostIp,
16576 in unsigned short hostPort,
16577 in wstring guestIp,
16578 in unsigned short guestPort
16579 );
16580
16586 void removeRedirect (
16587 in wstring name
16588 );
16589
16590 };
16591
16592