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 VFSType
01062 {
01063 VFSType_File = 1,
01064 VFSType_Cloud = 2,
01065 VFSType_S3 = 3,
01066 VFSType_WebDav = 4,
01067 };
01068
01076 enum VFSFileType
01077 {
01078 VFSFileType_Unknown = 1,
01079 VFSFileType_Fifo = 2,
01080 VFSFileType_DevChar = 3,
01081 VFSFileType_Directory = 4,
01082 VFSFileType_DevBlock = 5,
01083 VFSFileType_File = 6,
01084 VFSFileType_SymLink = 7,
01085 VFSFileType_Socket = 8,
01086 VFSFileType_WhiteOut = 9,
01087 };
01088
01095 enum VirtualSystemDescriptionType
01096 {
01097 VirtualSystemDescriptionType_Ignore = 1,
01098 VirtualSystemDescriptionType_OS = 2,
01099 VirtualSystemDescriptionType_Name = 3,
01100 VirtualSystemDescriptionType_Product = 4,
01101 VirtualSystemDescriptionType_Vendor = 5,
01102 VirtualSystemDescriptionType_Version = 6,
01103 VirtualSystemDescriptionType_ProductUrl = 7,
01104 VirtualSystemDescriptionType_VendorUrl = 8,
01105 VirtualSystemDescriptionType_Description = 9,
01106 VirtualSystemDescriptionType_License = 10,
01107 VirtualSystemDescriptionType_Miscellaneous = 11,
01108 VirtualSystemDescriptionType_CPU = 12,
01109 VirtualSystemDescriptionType_Memory = 13,
01110 VirtualSystemDescriptionType_HardDiskControllerIDE = 14,
01111 VirtualSystemDescriptionType_HardDiskControllerSATA = 15,
01112 VirtualSystemDescriptionType_HardDiskControllerSCSI = 16,
01113 VirtualSystemDescriptionType_HardDiskControllerSAS = 17,
01114 VirtualSystemDescriptionType_HardDiskImage = 18,
01115 VirtualSystemDescriptionType_Floppy = 19,
01116 VirtualSystemDescriptionType_CDROM = 20,
01117 VirtualSystemDescriptionType_NetworkAdapter = 21,
01118 VirtualSystemDescriptionType_USBController = 22,
01119 VirtualSystemDescriptionType_SoundCard = 23,
01120 };
01121
01128 enum VirtualSystemDescriptionValueType
01129 {
01130 VirtualSystemDescriptionValueType_Reference = 1,
01131 VirtualSystemDescriptionValueType_Original = 2,
01132 VirtualSystemDescriptionValueType_Auto = 3,
01133 VirtualSystemDescriptionValueType_ExtraConfig = 4,
01134 };
01135
01146 enum HostNetworkInterfaceMediumType
01147 {
01154 HostNetworkInterfaceMediumType_Unknown = 0,
01161 HostNetworkInterfaceMediumType_Ethernet = 1,
01168 HostNetworkInterfaceMediumType_PPP = 2,
01175 HostNetworkInterfaceMediumType_SLIP = 3,
01176 };
01177
01187 enum HostNetworkInterfaceStatus
01188 {
01195 HostNetworkInterfaceStatus_Unknown = 0,
01202 HostNetworkInterfaceStatus_Up = 1,
01209 HostNetworkInterfaceStatus_Down = 2,
01210 };
01211
01219 enum HostNetworkInterfaceType
01220 {
01221 HostNetworkInterfaceType_Bridged = 1,
01222 HostNetworkInterfaceType_HostOnly = 2,
01223 };
01224
01234 enum MediumState
01235 {
01243 MediumState_NotCreated = 0,
01252 MediumState_Created = 1,
01260 MediumState_LockedRead = 2,
01268 MediumState_LockedWrite = 3,
01278 MediumState_Inaccessible = 4,
01285 MediumState_Creating = 5,
01292 MediumState_Deleting = 6,
01293 };
01294
01304 enum MediumType
01305 {
01313 MediumType_Normal = 0,
01321 MediumType_Immutable = 1,
01329 MediumType_Writethrough = 2,
01338 MediumType_Shareable = 3,
01339 };
01340
01350 enum MediumVariant
01351 {
01358 MediumVariant_Standard = 0,
01365 MediumVariant_VmdkSplit2G = 0x01,
01373 MediumVariant_VmdkStreamOptimized = 0x04,
01380 MediumVariant_VmdkESX = 0x08,
01387 MediumVariant_Fixed = 0x10000,
01394 MediumVariant_Diff = 0x20000,
01395 };
01396
01397 enum DataType
01398 {
01399 DataType_Int32 = 0,
01400 DataType_Int8 = 1,
01401 DataType_String = 2,
01402 };
01403
01404 enum DataFlags
01405 {
01406 DataFlags_None = 0x00,
01407 DataFlags_Mandatory = 0x01,
01408 DataFlags_Expert = 0x02,
01409 DataFlags_Array = 0x04,
01410 DataFlags_FlagMask = 0x07,
01411 };
01412
01420 enum MediumFormatCapabilities
01421 {
01428 MediumFormatCapabilities_Uuid = 0x01,
01435 MediumFormatCapabilities_CreateFixed = 0x02,
01443 MediumFormatCapabilities_CreateDynamic = 0x04,
01450 MediumFormatCapabilities_CreateSplit2G = 0x08,
01457 MediumFormatCapabilities_Differencing = 0x10,
01464 MediumFormatCapabilities_Asynchronous = 0x20,
01474 MediumFormatCapabilities_File = 0x40,
01483 MediumFormatCapabilities_Properties = 0x80,
01484 MediumFormatCapabilities_CapabilityMask = 0xFF,
01485 };
01486
01494 enum MouseButtonState
01495 {
01496 MouseButtonState_LeftButton = 0x01,
01497 MouseButtonState_RightButton = 0x02,
01498 MouseButtonState_MiddleButton = 0x04,
01499 MouseButtonState_WheelUp = 0x08,
01500 MouseButtonState_WheelDown = 0x10,
01501 MouseButtonState_XButton1 = 0x20,
01502 MouseButtonState_XButton2 = 0x40,
01503 MouseButtonState_MouseStateMask = 0x7F,
01504 };
01505
01516 enum FramebufferPixelFormat
01517 {
01525 FramebufferPixelFormat_Opaque = 0,
01533 FramebufferPixelFormat_FOURCC_RGB = 0x32424752,
01534 };
01535
01543 enum NetworkAttachmentType
01544 {
01549 NetworkAttachmentType_Null = 0,
01550 NetworkAttachmentType_NAT = 1,
01551 NetworkAttachmentType_Bridged = 2,
01552 NetworkAttachmentType_Internal = 3,
01553 NetworkAttachmentType_HostOnly = 4,
01554 NetworkAttachmentType_VDE = 5,
01555 };
01556
01564 enum NetworkAdapterType
01565 {
01570 NetworkAdapterType_Null = 0,
01575 NetworkAdapterType_Am79C970A = 1,
01580 NetworkAdapterType_Am79C973 = 2,
01585 NetworkAdapterType_I82540EM = 3,
01590 NetworkAdapterType_I82543GC = 4,
01595 NetworkAdapterType_I82545EM = 5,
01600 NetworkAdapterType_Virtio = 6,
01601 };
01602
01611 enum PortMode
01612 {
01617 PortMode_Disconnected = 0,
01622 PortMode_HostPipe = 1,
01627 PortMode_HostDevice = 2,
01632 PortMode_RawFile = 3,
01633 };
01634
01673 enum USBDeviceState
01674 {
01681 USBDeviceState_NotSupported = 0,
01689 USBDeviceState_Unavailable = 1,
01696 USBDeviceState_Busy = 2,
01704 USBDeviceState_Available = 3,
01712 USBDeviceState_Held = 4,
01720 USBDeviceState_Captured = 5,
01721 };
01722
01732 enum USBDeviceFilterAction
01733 {
01738 USBDeviceFilterAction_Null = 0,
01743 USBDeviceFilterAction_Ignore = 1,
01748 USBDeviceFilterAction_Hold = 2,
01749 };
01750
01758 enum AudioDriverType
01759 {
01764 AudioDriverType_Null = 0,
01769 AudioDriverType_WinMM = 1,
01774 AudioDriverType_OSS = 2,
01779 AudioDriverType_ALSA = 3,
01784 AudioDriverType_DirectSound = 4,
01789 AudioDriverType_CoreAudio = 5,
01794 AudioDriverType_MMPM = 6,
01799 AudioDriverType_Pulse = 7,
01804 AudioDriverType_SolAudio = 8,
01805 };
01806
01814 enum AudioControllerType
01815 {
01816 AudioControllerType_AC97 = 0,
01817 AudioControllerType_SB16 = 1,
01818 };
01819
01827 enum VRDPAuthType
01828 {
01833 VRDPAuthType_Null = 0,
01834 VRDPAuthType_External = 1,
01835 VRDPAuthType_Guest = 2,
01836 };
01837
01846 enum StorageBus
01847 {
01852 StorageBus_Null = 0,
01853 StorageBus_IDE = 1,
01854 StorageBus_SATA = 2,
01855 StorageBus_SCSI = 3,
01856 StorageBus_Floppy = 4,
01857 StorageBus_SAS = 5,
01858 };
01859
01868 enum StorageControllerType
01869 {
01874 StorageControllerType_Null = 0,
01879 StorageControllerType_LsiLogic = 1,
01884 StorageControllerType_BusLogic = 2,
01889 StorageControllerType_IntelAhci = 3,
01894 StorageControllerType_PIIX3 = 4,
01899 StorageControllerType_PIIX4 = 5,
01904 StorageControllerType_ICH6 = 6,
01909 StorageControllerType_I82078 = 7,
01914 StorageControllerType_LsiLogicSas = 8,
01915 };
01916
01922 enum NATAliasMode
01923 {
01928 NATAliasMode_AliasLog = 0x1,
01933 NATAliasMode_AliasProxyOnly = 0x02,
01938 NATAliasMode_AliasUseSamePorts = 0x04,
01939 };
01940
01946 enum NATProtocol
01947 {
01952 NATProtocol_UDP = 0,
01957 NATProtocol_TCP = 1,
01958 };
01959
01992 interface IVirtualBoxErrorInfo : $errorinfo
01993 {
02011 readonly attribute long resultCode;
02012
02024 readonly attribute wstringUUID interfaceID;
02025
02036 readonly attribute wstring component;
02037
02048 readonly attribute wstring text;
02049
02060 readonly attribute IVirtualBoxErrorInfo next;
02061
02062 };
02063
02076 interface ILocalOwner : $unknown
02077 {
02086 void setLocalObject (
02087 in $unknown object
02088 );
02089
02090 };
02091
02092 interface IVirtualBoxCallback : $unknown
02093 {
02112 void onMachineStateChange (
02113 in wstringUUID machineId,
02114 in MachineState state
02115 );
02116
02131 void onMachineDataChange (
02132 in wstringUUID machineId
02133 );
02134
02172 void onExtraDataCanChange (
02173 in wstringUUID machineId,
02174 in wstring key,
02175 in wstring value,
02176 out wstring error,
02177 [retval] out boolean allowChange
02178 );
02179
02206 void onExtraDataChange (
02207 in wstringUUID machineId,
02208 in wstring key,
02209 in wstring value
02210 );
02211
02257 void onMediumRegistered (
02258 in wstringUUID mediumId,
02259 in DeviceType mediumType,
02260 in boolean registered
02261 );
02262
02283 void onMachineRegistered (
02284 in wstringUUID machineId,
02285 in boolean registered
02286 );
02287
02306 void onSessionStateChange (
02307 in wstringUUID machineId,
02308 in SessionState state
02309 );
02310
02329 void onSnapshotTaken (
02330 in wstringUUID machineId,
02331 in wstringUUID snapshotId
02332 );
02333
02362 void onSnapshotDeleted (
02363 in wstringUUID machineId,
02364 in wstringUUID snapshotId
02365 );
02366
02385 void onSnapshotChange (
02386 in wstringUUID machineId,
02387 in wstringUUID snapshotId
02388 );
02389
02418 void onGuestPropertyChange (
02419 in wstringUUID machineId,
02420 in wstring name,
02421 in wstring value,
02422 in wstring flags
02423 );
02424
02425 };
02426
02437 interface IDHCPServer : $unknown
02438 {
02444 attribute boolean enabled;
02445
02451 readonly attribute wstring IPAddress;
02452
02458 readonly attribute wstring networkMask;
02459
02465 readonly attribute wstring networkName;
02466
02472 readonly attribute wstring lowerIP;
02473
02479 readonly attribute wstring upperIP;
02480
02509 void setConfiguration (
02510 in wstring IPAddress,
02511 in wstring networkMask,
02512 in wstring FromIPAddress,
02513 in wstring ToIPAddress
02514 );
02515
02540 void start (
02541 in wstring networkName,
02542 in wstring trunkName,
02543 in wstring trunkType
02544 );
02545
02558 void stop();
02559
02560 };
02561
02580 interface IVirtualBox : $unknown
02581 {
02589 readonly attribute wstring version;
02590
02596 readonly attribute unsigned long revision;
02597
02607 readonly attribute wstring packageType;
02608
02624 readonly attribute wstring homeFolder;
02625
02633 readonly attribute wstring settingsFilePath;
02634
02638 readonly attribute IHost host;
02639
02643 readonly attribute ISystemProperties systemProperties;
02644
02650 readonly attribute IMachine[] machines;
02651
02661 readonly attribute IMedium[] hardDisks;
02662
02668 readonly attribute IMedium[] DVDImages;
02669
02675 readonly attribute IMedium[] floppyImages;
02676
02677 readonly attribute IProgress[] progressOperations;
02678
02679 readonly attribute IGuestOSType[] guestOSTypes;
02680
02697 readonly attribute ISharedFolder[] sharedFolders;
02698
02704 readonly attribute IPerformanceCollector performanceCollector;
02705
02711 readonly attribute IDHCPServer[] DHCPServers;
02712
02816 void createMachine (
02817 in wstring name,
02818 in wstring osTypeId,
02819 in wstring baseFolder,
02820 in wstringUUID id,
02821 in boolean override,
02822 [retval] out IMachine machine
02823 );
02824
02888 void createLegacyMachine (
02889 in wstring name,
02890 in wstring osTypeId,
02891 in wstring settingsFile,
02892 in wstringUUID id,
02893 [retval] out IMachine machine
02894 );
02895
02923 void openMachine (
02924 in wstring settingsFile,
02925 [retval] out IMachine machine
02926 );
02927
02960 void registerMachine (
02961 in IMachine machine
02962 );
02963
02979 void getMachine (
02980 in wstringUUID id,
02981 [retval] out IMachine machine
02982 );
02983
02999 void findMachine (
03000 in wstring name,
03001 [retval] out IMachine machine
03002 );
03003
03058 void unregisterMachine (
03059 in wstringUUID id,
03060 [retval] out IMachine machine
03061 );
03062
03072 void createAppliance (
03073 [retval] out IAppliance appliance
03074 );
03075
03141 void createHardDisk (
03142 in wstring format,
03143 in wstring location,
03144 [retval] out IMedium medium
03145 );
03146
03234 void openHardDisk (
03235 in wstring location,
03236 in AccessMode accessMode,
03237 in boolean setImageId,
03238 in wstringUUID imageId,
03239 in boolean setParentId,
03240 in wstringUUID parentId,
03241 [retval] out IMedium medium
03242 );
03243
03265 void getHardDisk (
03266 in wstringUUID id,
03267 [retval] out IMedium medium
03268 );
03269
03302 void findHardDisk (
03303 in wstring location,
03304 [retval] out IMedium medium
03305 );
03306
03356 void openDVDImage (
03357 in wstring location,
03358 in wstringUUID id,
03359 [retval] out IMedium image
03360 );
03361
03382 void getDVDImage (
03383 in wstringUUID id,
03384 [retval] out IMedium image
03385 );
03386
03425 void findDVDImage (
03426 in wstring location,
03427 [retval] out IMedium image
03428 );
03429
03479 void openFloppyImage (
03480 in wstring location,
03481 in wstringUUID id,
03482 [retval] out IMedium image
03483 );
03484
03505 void getFloppyImage (
03506 in wstringUUID id,
03507 [retval] out IMedium image
03508 );
03509
03548 void findFloppyImage (
03549 in wstring location,
03550 [retval] out IMedium image
03551 );
03552
03581 void getGuestOSType (
03582 in wstringUUID id,
03583 [retval] out IGuestOSType type
03584 );
03585
03605 void createSharedFolder (
03606 in wstring name,
03607 in wstring hostPath,
03608 in boolean writable
03609 );
03610
03625 void removeSharedFolder (
03626 in wstring name
03627 );
03628
03637 void getExtraDataKeys (
03638 [retval] out wstring[] value
03639 );
03640
03669 void getExtraData (
03670 in wstring key,
03671 [retval] out wstring value
03672 );
03673
03723 void setExtraData (
03724 in wstring key,
03725 in wstring value
03726 );
03727
03824 void openSession (
03825 in ISession session,
03826 in wstringUUID machineId
03827 );
03828
03962 void openRemoteSession (
03963 in ISession session,
03964 in wstringUUID machineId,
03965 in wstring type,
03966 in wstring environment,
03967 [retval] out IProgress progress
03968 );
03969
04039 void openExistingSession (
04040 in ISession session,
04041 in wstringUUID machineId
04042 );
04043
04061 void registerCallback (
04062 in IVirtualBoxCallback callback
04063 );
04064
04080 void unregisterCallback (
04081 in IVirtualBoxCallback callback
04082 );
04083
04171 void waitForPropertyChange (
04172 in wstring what,
04173 in unsigned long timeout,
04174 out wstring changed,
04175 out wstring values
04176 );
04177
04194 void createDHCPServer (
04195 in wstring name,
04196 [retval] out IDHCPServer server
04197 );
04198
04215 void findDHCPServerByNetworkName (
04216 in wstring name,
04217 [retval] out IDHCPServer server
04218 );
04219
04234 void removeDHCPServer (
04235 in IDHCPServer server
04236 );
04237
04262 void checkFirmwarePresent (
04263 in FirmwareType firmwareType,
04264 in wstring version,
04265 out wstring url,
04266 out wstring file,
04267 [retval] out boolean result
04268 );
04269
04270 };
04271
04282 interface IVFSExplorer : $unknown
04283 {
04287 readonly attribute wstring path;
04288
04292 readonly attribute VFSType type;
04293
04301 void update (
04302 [retval] out IProgress aProgress
04303 );
04304
04312 void cd (
04313 in wstring aDir,
04314 [retval] out IProgress aProgress
04315 );
04316
04322 void cdUp (
04323 [retval] out IProgress aProgress
04324 );
04325
04334 void entryList (
04335 out wstring[] aNames,
04336 out unsigned long[] aTypes
04337 );
04338
04347 void exists (
04348 in wstring[] aNames,
04349 [retval] out wstring[] aExists
04350 );
04351
04359 void remove (
04360 in wstring[] aNames,
04361 [retval] out IProgress aProgress
04362 );
04363
04364 };
04365
04430 interface IAppliance : $unknown
04431 {
04439 readonly attribute wstring path;
04440
04471 readonly attribute wstring[] disks;
04472
04480 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04481
04498 void read (
04499 in wstring file,
04500 [retval] out IProgress aProgress
04501 );
04502
04519 void interpret();
04520
04538 void importMachines (
04539 [retval] out IProgress aProgress
04540 );
04541
04549 void createVFSExplorer (
04550 in wstring aUri,
04551 [retval] out IVFSExplorer aExplorer
04552 );
04553
04578 void write (
04579 in wstring format,
04580 in wstring path,
04581 [retval] out IProgress aProgress
04582 );
04583
04589 void getWarnings (
04590 [retval] out wstring[] aWarnings
04591 );
04592
04593 };
04594
04606 interface IVirtualSystemDescription : $unknown
04607 {
04611 readonly attribute unsigned long count;
04612
04737 void getDescription (
04738 out VirtualSystemDescriptionType[] aTypes,
04739 out wstring[] aRefs,
04740 out wstring[] aOvfValues,
04741 out wstring[] aVBoxValues,
04742 out wstring[] aExtraConfigValues
04743 );
04744
04761 void getDescriptionByType (
04762 in VirtualSystemDescriptionType aType,
04763 out VirtualSystemDescriptionType[] aTypes,
04764 out wstring[] aRefs,
04765 out wstring[] aOvfValues,
04766 out wstring[] aVBoxValues,
04767 out wstring[] aExtraConfigValues
04768 );
04769
04781 void getValuesByType (
04782 in VirtualSystemDescriptionType aType,
04783 in VirtualSystemDescriptionValueType aWhich,
04784 [retval] out wstring[] aValues
04785 );
04786
04812 void setFinalValues (
04813 in boolean[] aEnabled,
04814 in wstring[] aVBoxValues,
04815 in wstring[] aExtraConfigValues
04816 );
04817
04832 void addDescription (
04833 in VirtualSystemDescriptionType aType,
04834 in wstring aVBoxValue,
04835 in wstring aExtraConfigValue
04836 );
04837
04838 };
04839
04840 interface IInternalMachineControl : $unknown
04841 {
04848 void setRemoveSavedState (
04849 in boolean aRemove
04850 );
04851
04863 void updateState (
04864 in MachineState state
04865 );
04866
04867 void getIPCId (
04868 [retval] out wstring id
04869 );
04870
04882 void beginPowerUp (
04883 in IProgress progress
04884 );
04885
04895 void endPowerUp (
04896 in long result
04897 );
04898
04912 void runUSBDeviceFilters (
04913 in IUSBDevice device,
04914 out boolean matched,
04915 out unsigned long maskedInterfaces
04916 );
04917
04926 void captureUSBDevice (
04927 in wstringUUID id
04928 );
04929
04945 void detachUSBDevice (
04946 in wstringUUID id,
04947 in boolean done
04948 );
04949
04958 void autoCaptureUSBDevices();
04959
04975 void detachAllUSBDevices (
04976 in boolean done
04977 );
04978
04993 void onSessionEnd (
04994 in ISession session,
04995 [retval] out IProgress progress
04996 );
04997
05013 void beginSavingState (
05014 in IProgress progress,
05015 out wstring stateFilePath
05016 );
05017
05044 void endSavingState (
05045 in boolean success
05046 );
05047
05062 void adoptSavedState (
05063 in wstring savedStateFile
05064 );
05065
05114 void beginTakingSnapshot (
05115 in IConsole initiator,
05116 in wstring name,
05117 in wstring description,
05118 in IProgress consoleProgress,
05119 in boolean fTakingSnapshotOnline,
05120 out wstring stateFilePath
05121 );
05122
05132 void endTakingSnapshot (
05133 in boolean success
05134 );
05135
05156 void deleteSnapshot (
05157 in IConsole initiator,
05158 in wstringUUID id,
05159 out MachineState machineState,
05160 [retval] out IProgress progress
05161 );
05162
05181 void finishOnlineMergeMedium (
05182 in IMediumAttachment mediumAttachment,
05183 in IMedium source,
05184 in IMedium target,
05185 in boolean mergeForward,
05186 in IMedium parentForTarget,
05187 in IMedium[] childrenToReparent
05188 );
05189
05203 void restoreSnapshot (
05204 in IConsole initiator,
05205 in ISnapshot snapshot,
05206 out MachineState machineState,
05207 [retval] out IProgress progress
05208 );
05209
05236 void pullGuestProperties (
05237 out wstring[] name,
05238 out wstring[] value,
05239 out unsigned long long[] timestamp,
05240 out wstring[] flags
05241 );
05242
05264 void pushGuestProperty (
05265 in wstring name,
05266 in wstring value,
05267 in unsigned long long timestamp,
05268 in wstring flags
05269 );
05270
05282 void lockMedia();
05283
05293 void unlockMedia();
05294
05295 };
05296
05305 interface IBIOSSettings : $unknown
05306 {
05310 attribute boolean logoFadeIn;
05311
05315 attribute boolean logoFadeOut;
05316
05320 attribute unsigned long logoDisplayTime;
05321
05328 attribute wstring logoImagePath;
05329
05333 attribute BIOSBootMenuMode bootMenuMode;
05334
05338 attribute boolean ACPIEnabled;
05339
05346 attribute boolean IOAPICEnabled;
05347
05357 attribute long long timeOffset;
05358
05365 attribute boolean PXEDebugEnabled;
05366
05367 };
05368
05409 interface IMachine : $unknown
05410 {
05414 readonly attribute IVirtualBox parent;
05415
05465 readonly attribute boolean accessible;
05466
05478 readonly attribute IVirtualBoxErrorInfo accessError;
05479
05525 attribute wstring name;
05526
05537 attribute wstring description;
05538
05542 readonly attribute wstringUUID id;
05543
05558 attribute wstring OSTypeId;
05559
05563 attribute wstring HardwareVersion;
05564
05574 attribute wstringUUID hardwareUUID;
05575
05579 attribute unsigned long CPUCount;
05580
05586 attribute boolean CPUHotPlugEnabled;
05587
05591 attribute unsigned long memorySize;
05592
05596 attribute unsigned long memoryBalloonSize;
05597
05604 attribute boolean PageFusionEnabled;
05605
05609 attribute unsigned long VRAMSize;
05610
05616 attribute boolean accelerate3DEnabled;
05617
05623 attribute boolean accelerate2DVideoEnabled;
05624
05635 attribute unsigned long monitorCount;
05636
05640 readonly attribute IBIOSSettings BIOSSettings;
05641
05646 attribute FirmwareType firmwareType;
05647
05653 attribute PointingHidType pointingHidType;
05654
05660 attribute KeyboardHidType keyboardHidType;
05661
05668 attribute boolean hpetEnabled;
05669
05703 attribute wstring snapshotFolder;
05704
05708 readonly attribute IVRDPServer VRDPServer;
05709
05713 readonly attribute IMediumAttachment[] mediumAttachments;
05714
05726 readonly attribute IUSBController USBController;
05727
05731 readonly attribute IAudioAdapter audioAdapter;
05732
05736 readonly attribute IStorageController[] storageControllers;
05737
05743 readonly attribute wstring settingsFilePath;
05744
05769 readonly attribute boolean settingsModified;
05770
05774 readonly attribute SessionState sessionState;
05775
05788 readonly attribute wstring sessionType;
05789
05801 readonly attribute unsigned long sessionPid;
05802
05806 readonly attribute MachineState state;
05807
05814 readonly attribute long long lastStateChange;
05815
05827 readonly attribute wstring stateFilePath;
05828
05838 readonly attribute wstring logFolder;
05839
05850 readonly attribute ISnapshot currentSnapshot;
05851
05858 readonly attribute unsigned long snapshotCount;
05859
05893 readonly attribute boolean currentStateModified;
05894
05906 readonly attribute ISharedFolder[] sharedFolders;
05907
05914 attribute ClipboardMode clipboardMode;
05915
05923 attribute wstring guestPropertyNotificationPatterns;
05924
05933 attribute boolean teleporterEnabled;
05934
05945 attribute unsigned long teleporterPort;
05946
05953 attribute wstring teleporterAddress;
05954
05962 attribute wstring teleporterPassword;
05963
05971 attribute boolean RTCUseUTC;
05972
05979 attribute boolean ioCacheEnabled;
05980
05986 attribute unsigned long ioCacheSize;
05987
05994 attribute unsigned long ioBandwidthMax;
05995
06033 void setBootOrder (
06034 in unsigned long position,
06035 in DeviceType device
06036 );
06037
06072 void getBootOrder (
06073 in unsigned long position,
06074 [retval] out DeviceType device
06075 );
06076
06166 void attachDevice (
06167 in wstring name,
06168 in long controllerPort,
06169 in long device,
06170 in DeviceType type,
06171 in wstringUUID id
06172 );
06173
06226 void detachDevice (
06227 in wstring name,
06228 in long controllerPort,
06229 in long device
06230 );
06231
06274 void passthroughDevice (
06275 in wstring name,
06276 in long controllerPort,
06277 in long device,
06278 in boolean passthrough
06279 );
06280
06344 void mountMedium (
06345 in wstring name,
06346 in long controllerPort,
06347 in long device,
06348 in wstringUUID medium,
06349 in boolean force
06350 );
06351
06380 void getMedium (
06381 in wstring name,
06382 in long controllerPort,
06383 in long device,
06384 [retval] out IMedium medium
06385 );
06386
06401 void getMediumAttachmentsOfController (
06402 in wstring name,
06403 [retval] out IMediumAttachment[] mediumAttachments
06404 );
06405
06420 void getMediumAttachment (
06421 in wstring name,
06422 in long controllerPort,
06423 in long device,
06424 [retval] out IMediumAttachment attachment
06425 );
06426
06444 void getNetworkAdapter (
06445 in unsigned long slot,
06446 [retval] out INetworkAdapter adapter
06447 );
06448
06481 void addStorageController (
06482 in wstring name,
06483 in StorageBus connectionType,
06484 [retval] out IStorageController controller
06485 );
06486
06500 void getStorageControllerByName (
06501 in wstring name,
06502 [retval] out IStorageController storageController
06503 );
06504
06518 void getStorageControllerByInstance (
06519 in unsigned long instance,
06520 [retval] out IStorageController storageController
06521 );
06522
06536 void removeStorageController (
06537 in wstring name
06538 );
06539
06557 void getSerialPort (
06558 in unsigned long slot,
06559 [retval] out ISerialPort port
06560 );
06561
06579 void getParallelPort (
06580 in unsigned long slot,
06581 [retval] out IParallelPort port
06582 );
06583
06592 void getExtraDataKeys (
06593 [retval] out wstring[] value
06594 );
06595
06624 void getExtraData (
06625 in wstring key,
06626 [retval] out wstring value
06627 );
06628
06678 void setExtraData (
06679 in wstring key,
06680 in wstring value
06681 );
06682
06704 void getCPUProperty (
06705 in CPUPropertyType property,
06706 [retval] out boolean value
06707 );
06708
06730 void setCPUProperty (
06731 in CPUPropertyType property,
06732 in boolean value
06733 );
06734
06774 void getCPUIDLeaf (
06775 in unsigned long id,
06776 out unsigned long valEax,
06777 out unsigned long valEbx,
06778 out unsigned long valEcx,
06779 out unsigned long valEdx
06780 );
06781
06825 void setCPUIDLeaf (
06826 in unsigned long id,
06827 in unsigned long valEax,
06828 in unsigned long valEbx,
06829 in unsigned long valEcx,
06830 in unsigned long valEdx
06831 );
06832
06850 void removeCPUIDLeaf (
06851 in unsigned long id
06852 );
06853
06859 void removeAllCPUIDLeaves();
06860
06882 void getHWVirtExProperty (
06883 in HWVirtExPropertyType property,
06884 [retval] out boolean value
06885 );
06886
06908 void setHWVirtExProperty (
06909 in HWVirtExPropertyType property,
06910 in boolean value
06911 );
06912
06958 void saveSettings();
06959
06983 void discardSettings();
06984
07026 void deleteSettings();
07027
07037 void export (
07038 in IAppliance aAppliance,
07039 [retval] out IVirtualSystemDescription aDescription
07040 );
07041
07062 void getSnapshot (
07063 in wstringUUID id,
07064 [retval] out ISnapshot snapshot
07065 );
07066
07084 void findSnapshot (
07085 in wstring name,
07086 [retval] out ISnapshot snapshot
07087 );
07088
07101 void setCurrentSnapshot (
07102 in wstringUUID id
07103 );
07104
07135 void createSharedFolder (
07136 in wstring name,
07137 in wstring hostPath,
07138 in boolean writable
07139 );
07140
07166 void removeSharedFolder (
07167 in wstring name
07168 );
07169
07193 void canShowConsoleWindow (
07194 [retval] out boolean canShow
07195 );
07196
07231 void showConsoleWindow (
07232 [retval] out unsigned long long winId
07233 );
07234
07267 void getGuestProperty (
07268 in wstring name,
07269 out wstring value,
07270 out unsigned long long timestamp,
07271 out wstring flags
07272 );
07273
07296 void getGuestPropertyValue (
07297 in wstring property,
07298 [retval] out wstring value
07299 );
07300
07323 void getGuestPropertyTimestamp (
07324 in wstring property,
07325 [retval] out unsigned long long value
07326 );
07327
07378 void setGuestProperty (
07379 in wstring property,
07380 in wstring value,
07381 in wstring flags
07382 );
07383
07424 void setGuestPropertyValue (
07425 in wstring property,
07426 in wstring value
07427 );
07428
07459 void enumerateGuestProperties (
07460 in wstring patterns,
07461 out wstring[] name,
07462 out wstring[] value,
07463 out unsigned long long[] timestamp,
07464 out wstring[] flags
07465 );
07466
07488 void querySavedThumbnailSize (
07489 in unsigned long screenId,
07490 out unsigned long size,
07491 out unsigned long width,
07492 out unsigned long height
07493 );
07494
07521 void readSavedThumbnailToArray (
07522 in unsigned long screenId,
07523 in boolean BGR,
07524 out unsigned long width,
07525 out unsigned long height,
07526 [retval] out octet[] data
07527 );
07528
07550 void querySavedScreenshotPNGSize (
07551 in unsigned long screenId,
07552 out unsigned long size,
07553 out unsigned long width,
07554 out unsigned long height
07555 );
07556
07578 void readSavedScreenshotPNGToArray (
07579 in unsigned long screenId,
07580 out unsigned long width,
07581 out unsigned long height,
07582 [retval] out octet[] data
07583 );
07584
07594 void hotPlugCPU (
07595 in unsigned long cpu
07596 );
07597
07607 void hotUnplugCPU (
07608 in unsigned long cpu
07609 );
07610
07624 void getCPUStatus (
07625 in unsigned long cpu,
07626 [retval] out boolean attached
07627 );
07628
07643 void queryLogFilename (
07644 in unsigned long idx,
07645 [retval] out wstring filename
07646 );
07647
07673 void readLog (
07674 in unsigned long idx,
07675 in unsigned long long offset,
07676 in unsigned long long size,
07677 [retval] out octet[] data
07678 );
07679
07680 };
07681
07700 interface IConsoleCallback : $unknown
07701 {
07770 void onMousePointerShapeChange (
07771 in boolean visible,
07772 in boolean alpha,
07773 in unsigned long xHot,
07774 in unsigned long yHot,
07775 in unsigned long width,
07776 in unsigned long height,
07777 in octet[] shape
07778 );
07779
07793 void onMouseCapabilityChange (
07794 in boolean supportsAbsolute,
07795 in boolean supportsRelative,
07796 in boolean needsHostCursor
07797 );
07798
07812 void onKeyboardLedsChange (
07813 in boolean numLock,
07814 in boolean capsLock,
07815 in boolean scrollLock
07816 );
07817
07831 void onStateChange (
07832 in MachineState state
07833 );
07834
07842 void onAdditionsStateChange();
07843
07861 void onNetworkAdapterChange (
07862 in INetworkAdapter networkAdapter
07863 );
07864
07882 void onSerialPortChange (
07883 in ISerialPort serialPort
07884 );
07885
07903 void onParallelPortChange (
07904 in IParallelPort parallelPort
07905 );
07906
07922 void onStorageControllerChange();
07923
07940 void onMediumChange (
07941 in IMediumAttachment mediumAttachment
07942 );
07943
07960 void onCPUChange (
07961 in unsigned long cpu,
07962 in boolean add
07963 );
07964
07980 void onVRDPServerChange();
07981
07996 void onRemoteDisplayInfoChange();
07997
08013 void onUSBControllerChange();
08014
08054 void onUSBDeviceStateChange (
08055 in IUSBDevice device,
08056 in boolean attached,
08057 in IVirtualBoxErrorInfo error
08058 );
08059
08082 void onSharedFolderChange (
08083 in Scope scope
08084 );
08085
08157 void onRuntimeError (
08158 in boolean fatal,
08159 in wstring id,
08160 in wstring message
08161 );
08162
08197 void onCanShowWindow (
08198 [retval] out boolean canShow
08199 );
08200
08254 void onShowWindow (
08255 [retval] out unsigned long long winId
08256 );
08257
08258 };
08259
08268 interface IRemoteDisplayInfo : $unknown
08269 {
08275 readonly attribute boolean active;
08276
08285 readonly attribute long port;
08286
08292 readonly attribute unsigned long numberOfClients;
08293
08299 readonly attribute long long beginTime;
08300
08307 readonly attribute long long endTime;
08308
08314 readonly attribute unsigned long long bytesSent;
08315
08321 readonly attribute unsigned long long bytesSentTotal;
08322
08328 readonly attribute unsigned long long bytesReceived;
08329
08335 readonly attribute unsigned long long bytesReceivedTotal;
08336
08342 readonly attribute wstring user;
08343
08349 readonly attribute wstring domain;
08350
08356 readonly attribute wstring clientName;
08357
08363 readonly attribute wstring clientIP;
08364
08370 readonly attribute unsigned long clientVersion;
08371
08379 readonly attribute unsigned long encryptionStyle;
08380
08381 };
08382
08405 interface IConsole : $unknown
08406 {
08418 readonly attribute IMachine machine;
08419
08433 readonly attribute MachineState state;
08434
08438 readonly attribute IGuest guest;
08439
08450 readonly attribute IKeyboard keyboard;
08451
08462 readonly attribute IMouse mouse;
08463
08473 readonly attribute IDisplay display;
08474
08478 readonly attribute IMachineDebugger debugger;
08479
08490 readonly attribute IUSBDevice[] USBDevices;
08491
08499 readonly attribute IHostUSBDevice[] remoteUSBDevices;
08500
08516 readonly attribute ISharedFolder[] sharedFolders;
08517
08523 readonly attribute IRemoteDisplayInfo remoteDisplayInfo;
08524
08588 void powerUp (
08589 [retval] out IProgress progress
08590 );
08591
08625 void powerUpPaused (
08626 [retval] out IProgress progress
08627 );
08628
08648 void powerDown (
08649 [retval] out IProgress progress
08650 );
08651
08671 void reset();
08672
08692 void pause();
08693
08713 void resume();
08714
08734 void powerButton();
08735
08755 void sleepButton();
08756
08768 void getPowerButtonHandled (
08769 [retval] out boolean handled
08770 );
08771
08785 void getGuestEnteredACPIMode (
08786 [retval] out boolean entered
08787 );
08788
08841 void saveState (
08842 [retval] out IProgress progress
08843 );
08844
08877 void adoptSavedState (
08878 in wstring savedStateFile
08879 );
08880
08903 void forgetSavedState (
08904 in boolean remove
08905 );
08906
08919 void getDeviceActivity (
08920 in DeviceType type,
08921 [retval] out DeviceActivity activity
08922 );
08923
08960 void attachUSBDevice (
08961 in wstringUUID id
08962 );
08963
08997 void detachUSBDevice (
08998 in wstringUUID id,
08999 [retval] out IUSBDevice device
09000 );
09001
09024 void findUSBDeviceByAddress (
09025 in wstring name,
09026 [retval] out IUSBDevice device
09027 );
09028
09048 void findUSBDeviceById (
09049 in wstringUUID id,
09050 [retval] out IUSBDevice device
09051 );
09052
09083 void createSharedFolder (
09084 in wstring name,
09085 in wstring hostPath,
09086 in boolean writable
09087 );
09088
09113 void removeSharedFolder (
09114 in wstring name
09115 );
09116
09154 void takeSnapshot (
09155 in wstring name,
09156 in wstring description,
09157 [retval] out IProgress progress
09158 );
09159
09226 void deleteSnapshot (
09227 in wstringUUID id,
09228 [retval] out IProgress progress
09229 );
09230
09271 void restoreSnapshot (
09272 in ISnapshot snapshot,
09273 [retval] out IProgress progress
09274 );
09275
09314 void teleport (
09315 in wstring hostname,
09316 in unsigned long tcpport,
09317 in wstring password,
09318 in unsigned long maxDowntime,
09319 [retval] out IProgress progress
09320 );
09321
09329 void registerCallback (
09330 in IConsoleCallback callback
09331 );
09332
09346 void unregisterCallback (
09347 in IConsoleCallback callback
09348 );
09349
09350 };
09351
09362 interface IHostNetworkInterface : $unknown
09363 {
09367 readonly attribute wstring name;
09368
09372 readonly attribute wstringUUID id;
09373
09377 readonly attribute wstring networkName;
09378
09382 readonly attribute boolean dhcpEnabled;
09383
09387 readonly attribute wstring IPAddress;
09388
09392 readonly attribute wstring networkMask;
09393
09397 readonly attribute boolean IPV6Supported;
09398
09402 readonly attribute wstring IPV6Address;
09403
09407 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
09408
09412 readonly attribute wstring hardwareAddress;
09413
09417 readonly attribute HostNetworkInterfaceMediumType mediumType;
09418
09422 readonly attribute HostNetworkInterfaceStatus status;
09423
09427 readonly attribute HostNetworkInterfaceType interfaceType;
09428
09440 void enableStaticIpConfig (
09441 in wstring IPAddress,
09442 in wstring networkMask
09443 );
09444
09456 void enableStaticIpConfigV6 (
09457 in wstring IPV6Address,
09458 in unsigned long IPV6NetworkMaskPrefixLength
09459 );
09460
09464 void enableDynamicIpConfig();
09465
09469 void dhcpRediscover();
09470
09471 };
09472
09489 interface IHost : $unknown
09490 {
09494 readonly attribute IMedium[] DVDDrives;
09495
09499 readonly attribute IMedium[] floppyDrives;
09500
09514 readonly attribute IHostUSBDevice[] USBDevices;
09515
09538 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
09539
09543 readonly attribute IHostNetworkInterface[] networkInterfaces;
09544
09548 readonly attribute unsigned long processorCount;
09549
09553 readonly attribute unsigned long processorOnlineCount;
09554
09558 readonly attribute unsigned long processorCoreCount;
09559
09563 readonly attribute unsigned long memorySize;
09564
09568 readonly attribute unsigned long memoryAvailable;
09569
09573 readonly attribute wstring operatingSystem;
09574
09578 readonly attribute wstring OSVersion;
09579
09583 readonly attribute long long UTCTime;
09584
09588 readonly attribute boolean Acceleration3DAvailable;
09589
09604 void getProcessorSpeed (
09605 in unsigned long cpuId,
09606 [retval] out unsigned long speed
09607 );
09608
09620 void getProcessorFeature (
09621 in ProcessorFeature feature,
09622 [retval] out boolean supported
09623 );
09624
09643 void getProcessorDescription (
09644 in unsigned long cpuId,
09645 [retval] out wstring description
09646 );
09647
09688 void getProcessorCPUIDLeaf (
09689 in unsigned long cpuId,
09690 in unsigned long leaf,
09691 in unsigned long subLeaf,
09692 out unsigned long valEax,
09693 out unsigned long valEbx,
09694 out unsigned long valEcx,
09695 out unsigned long valEdx
09696 );
09697
09718 void createHostOnlyNetworkInterface (
09719 out IHostNetworkInterface hostInterface,
09720 [retval] out IProgress progress
09721 );
09722
09743 void removeHostOnlyNetworkInterface (
09744 in wstringUUID id,
09745 [retval] out IProgress progress
09746 );
09747
09768 void createUSBDeviceFilter (
09769 in wstring name,
09770 [retval] out IHostUSBDeviceFilter filter
09771 );
09772
09815 void insertUSBDeviceFilter (
09816 in unsigned long position,
09817 in IHostUSBDeviceFilter filter
09818 );
09819
09847 void removeUSBDeviceFilter (
09848 in unsigned long position
09849 );
09850
09868 void findHostDVDDrive (
09869 in wstring name,
09870 [retval] out IMedium drive
09871 );
09872
09890 void findHostFloppyDrive (
09891 in wstring name,
09892 [retval] out IMedium drive
09893 );
09894
09910 void findHostNetworkInterfaceByName (
09911 in wstring name,
09912 [retval] out IHostNetworkInterface networkInterface
09913 );
09914
09930 void findHostNetworkInterfaceById (
09931 in wstringUUID id,
09932 [retval] out IHostNetworkInterface networkInterface
09933 );
09934
09944 void findHostNetworkInterfacesOfType (
09945 in HostNetworkInterfaceType type,
09946 [retval] out IHostNetworkInterface[] networkInterfaces
09947 );
09948
09968 void findUSBDeviceById (
09969 in wstringUUID id,
09970 [retval] out IHostUSBDevice device
09971 );
09972
09995 void findUSBDeviceByAddress (
09996 in wstring name,
09997 [retval] out IHostUSBDevice device
09998 );
09999
10000 };
10001
10014 interface ISystemProperties : $unknown
10015 {
10019 readonly attribute unsigned long minGuestRAM;
10020
10024 readonly attribute unsigned long maxGuestRAM;
10025
10029 readonly attribute unsigned long minGuestVRAM;
10030
10034 readonly attribute unsigned long maxGuestVRAM;
10035
10039 readonly attribute unsigned long minGuestCPUCount;
10040
10044 readonly attribute unsigned long maxGuestCPUCount;
10045
10049 readonly attribute unsigned long maxGuestMonitors;
10050
10054 readonly attribute unsigned long long maxVDISize;
10055
10062 readonly attribute unsigned long networkAdapterCount;
10063
10070 readonly attribute unsigned long serialPortCount;
10071
10078 readonly attribute unsigned long parallelPortCount;
10079
10089 readonly attribute unsigned long maxBootPosition;
10090
10123 attribute wstring defaultMachineFolder;
10124
10163 attribute wstring defaultHardDiskFolder;
10164
10190 readonly attribute IMediumFormat[] mediumFormats;
10191
10225 attribute wstring defaultHardDiskFormat;
10226
10232 attribute unsigned long long freeDiskSpaceWarning;
10233
10238 attribute unsigned long freeDiskSpacePercentWarning;
10239
10245 attribute unsigned long long freeDiskSpaceError;
10246
10251 attribute unsigned long freeDiskSpacePercentError;
10252
10276 attribute wstring remoteDisplayAuthLibrary;
10277
10306 attribute wstring webServiceAuthLibrary;
10307
10313 attribute unsigned long LogHistoryCount;
10314
10319 readonly attribute AudioDriverType defaultAudioDriver;
10320
10330 void getMaxDevicesPerPortForStorageBus (
10331 in StorageBus bus,
10332 [retval] out unsigned long maxDevicesPerPort
10333 );
10334
10342 void getMinPortCountForStorageBus (
10343 in StorageBus bus,
10344 [retval] out unsigned long minPortCount
10345 );
10346
10354 void getMaxPortCountForStorageBus (
10355 in StorageBus bus,
10356 [retval] out unsigned long maxPortCount
10357 );
10358
10368 void getMaxInstancesOfStorageBus (
10369 in StorageBus bus,
10370 [retval] out unsigned long maxInstances
10371 );
10372
10382 void getDeviceTypesForStorageBus (
10383 in StorageBus bus,
10384 [retval] out DeviceType[] deviceTypes
10385 );
10386
10387 };
10388
10394 interface IGuestOSType : $unknown
10395 {
10399 readonly attribute wstring familyId;
10400
10404 readonly attribute wstring familyDescription;
10405
10409 readonly attribute wstring id;
10410
10414 readonly attribute wstring description;
10415
10419 readonly attribute boolean is64Bit;
10420
10424 readonly attribute boolean recommendedIOAPIC;
10425
10429 readonly attribute boolean recommendedVirtEx;
10430
10434 readonly attribute unsigned long recommendedRAM;
10435
10439 readonly attribute unsigned long recommendedVRAM;
10440
10444 readonly attribute unsigned long recommendedHDD;
10445
10449 readonly attribute NetworkAdapterType adapterType;
10450
10454 readonly attribute boolean recommendedPae;
10455
10459 readonly attribute StorageControllerType recommendedDvdStorageController;
10460
10464 readonly attribute StorageBus recommendedDvdStorageBus;
10465
10469 readonly attribute StorageControllerType recommendedHdStorageController;
10470
10474 readonly attribute StorageBus recommendedHdStorageBus;
10475
10479 readonly attribute FirmwareType recommendedFirmware;
10480
10484 readonly attribute boolean recommendedUsbHid;
10485
10489 readonly attribute boolean recommendedHpet;
10490
10494 readonly attribute boolean recommendedUsbTablet;
10495
10499 readonly attribute boolean recommendedRtcUseUtc;
10500
10501 };
10502
10516 interface IGuest : $unknown
10517 {
10532 readonly attribute wstring OSTypeId;
10533
10541 readonly attribute boolean additionsActive;
10542
10552 readonly attribute wstring additionsVersion;
10553
10560 readonly attribute boolean supportsSeamless;
10561
10570 readonly attribute boolean supportsGraphics;
10571
10575 attribute unsigned long memoryBalloonSize;
10576
10580 attribute boolean pageFusionEnabled;
10581
10585 attribute unsigned long statisticsUpdateInterval;
10586
10618 void internalGetStatistics (
10619 out unsigned long cpuUser,
10620 out unsigned long cpuKernel,
10621 out unsigned long cpuIdle,
10622 out unsigned long memTotal,
10623 out unsigned long memFree,
10624 out unsigned long memBalloon,
10625 out unsigned long memShared,
10626 out unsigned long memCache,
10627 out unsigned long pagedTotal,
10628 out unsigned long memAllocTotal,
10629 out unsigned long memFreeTotal,
10630 out unsigned long memBalloonTotal,
10631 out unsigned long memSharedTotal
10632 );
10633
10663 void setCredentials (
10664 in wstring userName,
10665 in wstring password,
10666 in wstring domain,
10667 in boolean allowInteractiveLogon
10668 );
10669
10723 void executeProcess (
10724 in wstring execName,
10725 in unsigned long flags,
10726 in wstring[] arguments,
10727 in wstring[] environment,
10728 in wstring userName,
10729 in wstring password,
10730 in unsigned long timeoutMS,
10731 out unsigned long pid,
10732 [retval] out IProgress progress
10733 );
10734
10772 void getProcessOutput (
10773 in unsigned long pid,
10774 in unsigned long flags,
10775 in unsigned long timeoutMS,
10776 in unsigned long long size,
10777 [retval] out octet[] data
10778 );
10779
10809 void getProcessStatus (
10810 in unsigned long pid,
10811 out unsigned long exitcode,
10812 out unsigned long flags,
10813 [retval] out unsigned long reason
10814 );
10815
10816 };
10817
10858 interface IProgress : $unknown
10859 {
10863 readonly attribute wstringUUID id;
10864
10868 readonly attribute wstring description;
10869
10873 readonly attribute $unknown initiator;
10874
10878 readonly attribute boolean cancelable;
10879
10887 readonly attribute unsigned long percent;
10888
10902 readonly attribute long timeRemaining;
10903
10907 readonly attribute boolean completed;
10908
10912 readonly attribute boolean canceled;
10913
10920 readonly attribute long resultCode;
10921
10931 readonly attribute IVirtualBoxErrorInfo errorInfo;
10932
10939 readonly attribute unsigned long operationCount;
10940
10944 readonly attribute unsigned long operation;
10945
10951 readonly attribute wstring operationDescription;
10952
10956 readonly attribute unsigned long operationPercent;
10957
10965 attribute unsigned long timeout;
10966
10970 void setCurrentOperationProgress (
10971 in unsigned long percent
10972 );
10973
10977 void setNextOperation (
10978 in wstring nextOperationDescription,
10979 in unsigned long nextOperationsWeight
10980 );
10981
11000 void waitForCompletion (
11001 in long timeout
11002 );
11003
11027 void waitForOperationCompletion (
11028 in unsigned long operation,
11029 in long timeout
11030 );
11031
11048 void cancel();
11049
11050 };
11051
11143 interface ISnapshot : $unknown
11144 {
11148 readonly attribute wstringUUID id;
11149
11153 attribute wstring name;
11154
11158 attribute wstring description;
11159
11165 readonly attribute long long timeStamp;
11166
11178 readonly attribute boolean online;
11179
11191 readonly attribute IMachine machine;
11192
11199 readonly attribute ISnapshot parent;
11200
11206 readonly attribute ISnapshot[] children;
11207
11208 };
11209
11225 interface IMediumAttachment : $unknown
11226 {
11231 readonly attribute IMedium medium;
11232
11238 readonly attribute wstring controller;
11239
11245 readonly attribute long port;
11246
11252 readonly attribute long device;
11253
11257 readonly attribute DeviceType type;
11258
11262 readonly attribute boolean passthrough;
11263
11264 };
11265
11611 interface IMedium : $unknown
11612 {
11626 readonly attribute wstringUUID id;
11627
11646 attribute wstring description;
11647
11663 readonly attribute MediumState state;
11664
11686 attribute wstring location;
11687
11707 readonly attribute wstring name;
11708
11713 readonly attribute DeviceType deviceType;
11714
11718 readonly attribute boolean hostDrive;
11719
11732 readonly attribute unsigned long long size;
11733
11748 readonly attribute wstring format;
11749
11765 readonly attribute IMediumFormat mediumFormat;
11766
11791 attribute MediumType type;
11792
11802 readonly attribute IMedium parent;
11803
11811 readonly attribute IMedium[] children;
11812
11823 readonly attribute IMedium base;
11824
11857 readonly attribute boolean readOnly;
11858
11879 readonly attribute unsigned long long logicalSize;
11880
11908 attribute boolean autoReset;
11909
11924 readonly attribute wstring lastAccessError;
11925
11942 readonly attribute wstringUUID[] machineIds;
11943
11978 void refreshState (
11979 [retval] out MediumState state
11980 );
11981
12008 void getSnapshotIds (
12009 in wstringUUID machineId,
12010 [retval] out wstringUUID[] snapshotIds
12011 );
12012
12072 void lockRead (
12073 [retval] out MediumState state
12074 );
12075
12098 void unlockRead (
12099 [retval] out MediumState state
12100 );
12101
12156 void lockWrite (
12157 [retval] out MediumState state
12158 );
12159
12182 void unlockWrite (
12183 [retval] out MediumState state
12184 );
12185
12234 void close();
12235
12265 void getProperty (
12266 in wstring name,
12267 [retval] out wstring value
12268 );
12269
12301 void setProperty (
12302 in wstring name,
12303 in wstring value
12304 );
12305
12339 void getProperties (
12340 in wstring names,
12341 out wstring[] returnNames,
12342 [retval] out wstring[] returnValues
12343 );
12344
12376 void setProperties (
12377 in wstring[] names,
12378 in wstring[] values
12379 );
12380
12412 void createBaseStorage (
12413 in unsigned long long logicalSize,
12414 in MediumVariant variant,
12415 [retval] out IProgress progress
12416 );
12417
12469 void deleteStorage (
12470 [retval] out IProgress progress
12471 );
12472
12510 void createDiffStorage (
12511 in IMedium target,
12512 in MediumVariant variant,
12513 [retval] out IProgress progress
12514 );
12515
12591 void mergeTo (
12592 in IMedium target,
12593 [retval] out IProgress progress
12594 );
12595
12644 void cloneTo (
12645 in IMedium target,
12646 in MediumVariant variant,
12647 in IMedium parent,
12648 [retval] out IProgress progress
12649 );
12650
12679 void compact (
12680 [retval] out IProgress progress
12681 );
12682
12715 void resize (
12716 in unsigned long long logicalSize,
12717 [retval] out IProgress progress
12718 );
12719
12753 void reset (
12754 [retval] out IProgress progress
12755 );
12756
12757 };
12758
12781 interface IMediumFormat : $unknown
12782 {
12801 readonly attribute wstring id;
12802
12810 readonly attribute wstring name;
12811
12827 readonly attribute wstring[] fileExtensions;
12828
12837 readonly attribute unsigned long capabilities;
12838
12868 void describeProperties (
12869 out wstring[] names,
12870 out wstring[] description,
12871 out DataType[] types,
12872 out unsigned long[] flags,
12873 out wstring[] defaults
12874 );
12875
12876 };
12877
12890 interface IKeyboard : $unknown
12891 {
12904 void putScancode (
12905 in long scancode
12906 );
12907
12920 void putScancodes (
12921 in long[] scancodes,
12922 [retval] out unsigned long codesStored
12923 );
12924
12939 void putCAD();
12940
12941 };
12942
12954 interface IMouse : $unknown
12955 {
12970 readonly attribute boolean absoluteSupported;
12971
12986 readonly attribute boolean relativeSupported;
12987
13002 readonly attribute boolean needsHostCursor;
13003
13069 void putMouseEvent (
13070 in long dx,
13071 in long dy,
13072 in long dz,
13073 in long dw,
13074 in long buttonState
13075 );
13076
13149 void putMouseEventAbsolute (
13150 in long x,
13151 in long y,
13152 in long dz,
13153 in long dw,
13154 in long buttonState
13155 );
13156
13157 };
13158
13159 interface IFramebuffer : $unknown
13160 {
13169 readonly attribute octetPtr address;
13170
13174 readonly attribute unsigned long width;
13175
13179 readonly attribute unsigned long height;
13180
13187 readonly attribute unsigned long bitsPerPixel;
13188
13195 readonly attribute unsigned long bytesPerLine;
13196
13207 readonly attribute unsigned long pixelFormat;
13208
13215 readonly attribute boolean usesGuestVRAM;
13216
13226 readonly attribute unsigned long heightReduction;
13227
13242 readonly attribute IFramebufferOverlay overlay;
13243
13250 readonly attribute unsigned long long winId;
13251
13259 void lock();
13260
13268 void unlock();
13269
13277 void notifyUpdate (
13278 in unsigned long x,
13279 in unsigned long y,
13280 in unsigned long width,
13281 in unsigned long height
13282 );
13283
13396 void requestResize (
13397 in unsigned long screenId,
13398 in unsigned long pixelFormat,
13399 in octetPtr VRAM,
13400 in unsigned long bitsPerPixel,
13401 in unsigned long bytesPerLine,
13402 in unsigned long width,
13403 in unsigned long height,
13404 [retval] out boolean finished
13405 );
13406
13418 void videoModeSupported (
13419 in unsigned long width,
13420 in unsigned long height,
13421 in unsigned long bpp,
13422 [retval] out boolean supported
13423 );
13424
13461 void getVisibleRegion (
13462 in octetPtr rectangles,
13463 in unsigned long count,
13464 [retval] out unsigned long countCopied
13465 );
13466
13501 void setVisibleRegion (
13502 in octetPtr rectangles,
13503 in unsigned long count
13504 );
13505
13526 void processVHWACommand (
13527 in octetPtr command
13528 );
13529
13530 };
13531
13546 interface IFramebufferOverlay : IFramebuffer
13547 {
13551 readonly attribute unsigned long x;
13552
13556 readonly attribute unsigned long y;
13557
13563 attribute boolean visible;
13564
13571 attribute unsigned long alpha;
13572
13578 void move (
13579 in unsigned long x,
13580 in unsigned long y
13581 );
13582
13583 };
13584
13600 interface IDisplay : $unknown
13601 {
13605 void getScreenResolution (
13606 in unsigned long screenId,
13607 out unsigned long width,
13608 out unsigned long height,
13609 out unsigned long bitsPerPixel
13610 );
13611
13617 void setFramebuffer (
13618 in unsigned long screenId,
13619 in IFramebuffer framebuffer
13620 );
13621
13627 void getFramebuffer (
13628 in unsigned long screenId,
13629 out IFramebuffer framebuffer,
13630 out long xOrigin,
13631 out long yOrigin
13632 );
13633
13662 void setVideoModeHint (
13663 in unsigned long width,
13664 in unsigned long height,
13665 in unsigned long bitsPerPixel,
13666 in unsigned long display
13667 );
13668
13679 void setSeamlessMode (
13680 in boolean enabled
13681 );
13682
13716 void takeScreenShot (
13717 in unsigned long screenId,
13718 in octetPtr address,
13719 in unsigned long width,
13720 in unsigned long height
13721 );
13722
13766 void takeScreenShotToArray (
13767 in unsigned long screenId,
13768 in unsigned long width,
13769 in unsigned long height,
13770 [retval] out octet[] screenData
13771 );
13772
13804 void drawToScreen (
13805 in unsigned long screenId,
13806 in octetPtr address,
13807 in unsigned long x,
13808 in unsigned long y,
13809 in unsigned long width,
13810 in unsigned long height
13811 );
13812
13827 void invalidateAndUpdate();
13828
13842 void resizeCompleted (
13843 in unsigned long screenId
13844 );
13845
13858 void completeVHWACommand (
13859 in octetPtr command
13860 );
13861
13862 };
13863
13879 interface INetworkAdapter : $unknown
13880 {
13888 attribute NetworkAdapterType adapterType;
13889
13897 readonly attribute unsigned long slot;
13898
13907 attribute boolean enabled;
13908
13915 attribute wstring MACAddress;
13916
13917 readonly attribute NetworkAttachmentType attachmentType;
13918
13924 attribute wstring hostInterface;
13925
13931 attribute wstring internalNetwork;
13932
13938 attribute wstring NATNetwork;
13939
13945 attribute wstring VDENetwork;
13946
13953 attribute boolean cableConnected;
13954
13960 attribute unsigned long lineSpeed;
13961
13968 attribute boolean traceEnabled;
13969
13976 attribute wstring traceFile;
13977
13985 readonly attribute INATEngine natDriver;
13986
13993 attribute unsigned long bootPriority;
13994
14000 void attachToNAT();
14001
14007 void attachToBridgedInterface();
14008
14014 void attachToInternalNetwork();
14015
14021 void attachToHostOnlyInterface();
14022
14028 void attachToVDE();
14029
14035 void detach();
14036
14037 };
14038
14067 interface ISerialPort : $unknown
14068 {
14076 readonly attribute unsigned long slot;
14077
14084 attribute boolean enabled;
14085
14089 attribute unsigned long IOBase;
14090
14094 attribute unsigned long IRQ;
14095
14106 attribute PortMode hostMode;
14107
14115 attribute boolean server;
14116
14126 attribute wstring path;
14127
14128 };
14129
14149 interface IParallelPort : $unknown
14150 {
14158 readonly attribute unsigned long slot;
14159
14166 attribute boolean enabled;
14167
14171 attribute unsigned long IOBase;
14172
14176 attribute unsigned long IRQ;
14177
14185 attribute wstring path;
14186
14187 };
14188
14189 interface IMachineDebugger : $unknown
14190 {
14194 attribute boolean singlestep;
14195
14199 attribute boolean recompileUser;
14200
14204 attribute boolean recompileSupervisor;
14205
14209 attribute boolean PATMEnabled;
14210
14214 attribute boolean CSAMEnabled;
14215
14219 attribute boolean logEnabled;
14220
14227 readonly attribute boolean HWVirtExEnabled;
14228
14235 readonly attribute boolean HWVirtExNestedPagingEnabled;
14236
14243 readonly attribute boolean HWVirtExVPIDEnabled;
14244
14251 readonly attribute boolean PAEEnabled;
14252
14259 attribute unsigned long virtualTimeRate;
14260
14267 readonly attribute unsigned long long VM;
14268
14276 void resetStats (
14277 in wstring pattern
14278 );
14279
14287 void dumpStats (
14288 in wstring pattern
14289 );
14290
14302 void getStats (
14303 in wstring pattern,
14304 in boolean withDescriptions,
14305 out wstring stats
14306 );
14307
14313 void injectNMI();
14314
14315 };
14316
14317 interface IUSBController : $unknown
14318 {
14327 attribute boolean enabled;
14328
14337 attribute boolean enabledEhci;
14338
14344 readonly attribute boolean proxyAvailable;
14345
14353 readonly attribute unsigned short USBStandard;
14354
14380 readonly attribute IUSBDeviceFilter[] deviceFilters;
14381
14409 void createDeviceFilter (
14410 in wstring name,
14411 [retval] out IUSBDeviceFilter filter
14412 );
14413
14458 void insertDeviceFilter (
14459 in unsigned long position,
14460 in IUSBDeviceFilter filter
14461 );
14462
14495 void removeDeviceFilter (
14496 in unsigned long position,
14497 [retval] out IUSBDeviceFilter filter
14498 );
14499
14500 };
14501
14514 interface IUSBDevice : $unknown
14515 {
14522 readonly attribute wstringUUID id;
14523
14527 readonly attribute unsigned short vendorId;
14528
14532 readonly attribute unsigned short productId;
14533
14541 readonly attribute unsigned short revision;
14542
14546 readonly attribute wstring manufacturer;
14547
14551 readonly attribute wstring product;
14552
14556 readonly attribute wstring serialNumber;
14557
14561 readonly attribute wstring address;
14562
14569 readonly attribute unsigned short port;
14570
14576 readonly attribute unsigned short version;
14577
14585 readonly attribute unsigned short portVersion;
14586
14593 readonly attribute boolean remote;
14594
14595 };
14596
14670 interface IUSBDeviceFilter : $unknown
14671 {
14679 attribute wstring name;
14680
14684 attribute boolean active;
14685
14693 attribute wstring vendorId;
14694
14702 attribute wstring productId;
14703
14717 attribute wstring revision;
14718
14723 attribute wstring manufacturer;
14724
14729 attribute wstring product;
14730
14735 attribute wstring serialNumber;
14736
14741 attribute wstring port;
14742
14752 attribute wstring remote;
14753
14763 attribute unsigned long maskedInterfaces;
14764
14765 };
14766
14782 interface IHostUSBDevice : IUSBDevice
14783 {
14789 readonly attribute USBDeviceState state;
14790
14791 };
14792
14815 interface IHostUSBDeviceFilter : IUSBDeviceFilter
14816 {
14823 attribute USBDeviceFilterAction action;
14824
14825 };
14826
14835 interface IAudioAdapter : $unknown
14836 {
14845 attribute boolean enabled;
14846
14852 attribute AudioControllerType audioController;
14853
14860 attribute AudioDriverType audioDriver;
14861
14862 };
14863
14864 interface IVRDPServer : $unknown
14865 {
14869 attribute boolean enabled;
14870
14880 attribute wstring ports;
14881
14885 attribute wstring netAddress;
14886
14890 attribute VRDPAuthType authType;
14891
14895 attribute unsigned long authTimeout;
14896
14903 attribute boolean allowMultiConnection;
14904
14912 attribute boolean reuseSingleConnection;
14913
14919 attribute boolean videoChannel;
14920
14926 attribute unsigned long videoChannelQuality;
14927
14928 };
14929
14987 interface ISharedFolder : $unknown
14988 {
14992 readonly attribute wstring name;
14993
14997 readonly attribute wstring hostPath;
14998
15008 readonly attribute boolean accessible;
15009
15016 readonly attribute boolean writable;
15017
15030 readonly attribute wstring lastAccessError;
15031
15032 };
15033
15034 interface IInternalSessionControl : $unknown
15035 {
15040 void getPID (
15041 [retval] out unsigned long pid
15042 );
15043
15065 void getRemoteConsole (
15066 [retval] out IConsole console
15067 );
15068
15092 void assignMachine (
15093 in IMachine machine
15094 );
15095
15110 void assignRemoteMachine (
15111 in IMachine machine,
15112 in IConsole console
15113 );
15114
15138 void updateMachineState (
15139 in MachineState aMachineState
15140 );
15141
15157 void uninitialize();
15158
15181 void onNetworkAdapterChange (
15182 in INetworkAdapter networkAdapter,
15183 in boolean changeAdapter
15184 );
15185
15208 void onSerialPortChange (
15209 in ISerialPort serialPort
15210 );
15211
15234 void onParallelPortChange (
15235 in IParallelPort parallelPort
15236 );
15237
15260 void onStorageControllerChange();
15261
15284 void onMediumChange (
15285 in IMediumAttachment mediumAttachment,
15286 in boolean force
15287 );
15288
15298 void onCPUChange (
15299 in unsigned long cpu,
15300 in boolean add
15301 );
15302
15327 void onVRDPServerChange (
15328 in boolean restart
15329 );
15330
15353 void onUSBControllerChange();
15354
15383 void onSharedFolderChange (
15384 in boolean global
15385 );
15386
15412 void onUSBDeviceAttach (
15413 in IUSBDevice device,
15414 in IVirtualBoxErrorInfo error,
15415 in unsigned long maskedInterfaces
15416 );
15417
15443 void onUSBDeviceDetach (
15444 in wstringUUID id,
15445 in IVirtualBoxErrorInfo error
15446 );
15447
15465 void onShowWindow (
15466 in boolean check,
15467 out boolean canShow,
15468 out unsigned long long winId
15469 );
15470
15494 void accessGuestProperty (
15495 in wstring name,
15496 in wstring value,
15497 in wstring flags,
15498 in boolean isSetter,
15499 out wstring retValue,
15500 out unsigned long long retTimestamp,
15501 out wstring retFlags
15502 );
15503
15551 void enumerateGuestProperties (
15552 in wstring patterns,
15553 out wstring[] key,
15554 out wstring[] value,
15555 out unsigned long long[] timestamp,
15556 out wstring[] flags
15557 );
15558
15604 void onlineMergeMedium (
15605 in IMediumAttachment mediumAttachment,
15606 in unsigned long sourceIdx,
15607 in unsigned long targetIdx,
15608 in IMedium source,
15609 in IMedium target,
15610 in boolean mergeForward,
15611 in IMedium parentForTarget,
15612 in IMedium[] childrenToReparent,
15613 in IProgress progress
15614 );
15615
15616 };
15617
15694 interface ISession : $unknown
15695 {
15699 readonly attribute SessionState state;
15700
15708 readonly attribute SessionType type;
15709
15713 readonly attribute IMachine machine;
15714
15718 readonly attribute IConsole console;
15719
15760 void close();
15761
15762 };
15763
15786 interface IStorageController : $unknown
15787 {
15796 readonly attribute wstring name;
15797
15803 readonly attribute unsigned long maxDevicesPerPortCount;
15804
15810 readonly attribute unsigned long minPortCount;
15811
15817 readonly attribute unsigned long maxPortCount;
15818
15824 attribute unsigned long instance;
15825
15834 attribute unsigned long portCount;
15835
15841 readonly attribute StorageBus bus;
15842
15855 attribute StorageControllerType controllerType;
15856
15871 attribute boolean useHostIOCache;
15872
15895 void getIDEEmulationPort (
15896 in long devicePosition,
15897 [retval] out long portNumber
15898 );
15899
15923 void setIDEEmulationPort (
15924 in long devicePosition,
15925 in long portNumber
15926 );
15927
15928 };
15929
15953 interface IManagedObjectRef : $unknown
15954 {
15961 void getInterfaceName (
15962 [retval] out wstring return
15963 );
15964
15972 void release();
15973
15974 };
15975
15984 interface IWebsessionManager : $unknown
15985 {
15994 void logon (
15995 in wstring username,
15996 in wstring password,
15997 [retval] out IVirtualBox return
15998 );
15999
16009 void getSessionObject (
16010 in IVirtualBox refIVirtualBox,
16011 [retval] out ISession return
16012 );
16013
16021 void logoff (
16022 in IVirtualBox refIVirtualBox
16023 );
16024
16025 };
16026
16035 interface IPerformanceMetric : $unknown
16036 {
16042 readonly attribute wstring metricName;
16043
16049 readonly attribute $unknown object;
16050
16056 readonly attribute wstring description;
16057
16063 readonly attribute unsigned long period;
16064
16074 readonly attribute unsigned long count;
16075
16081 readonly attribute wstring unit;
16082
16088 readonly attribute long minimumValue;
16089
16095 readonly attribute long maximumValue;
16096
16097 };
16098
16204 interface IPerformanceCollector : $unknown
16205 {
16216 readonly attribute wstring[] metricNames;
16217
16241 void getMetrics (
16242 in wstring[] metricNames,
16243 in $unknown[] objects,
16244 [retval] out IPerformanceMetric[] metrics
16245 );
16246
16285 void setupMetrics (
16286 in wstring[] metricNames,
16287 in $unknown[] objects,
16288 in unsigned long period,
16289 in unsigned long count,
16290 [retval] out IPerformanceMetric[] affectedMetrics
16291 );
16292
16321 void enableMetrics (
16322 in wstring[] metricNames,
16323 in $unknown[] objects,
16324 [retval] out IPerformanceMetric[] affectedMetrics
16325 );
16326
16355 void disableMetrics (
16356 in wstring[] metricNames,
16357 in $unknown[] objects,
16358 [retval] out IPerformanceMetric[] affectedMetrics
16359 );
16360
16449 void queryMetricsData (
16450 in wstring[] metricNames,
16451 in $unknown[] objects,
16452 out wstring[] returnMetricNames,
16453 out $unknown[] returnObjects,
16454 out wstring[] returnUnits,
16455 out unsigned long[] returnScales,
16456 out unsigned long[] returnSequenceNumbers,
16457 out unsigned long[] returnDataIndices,
16458 out unsigned long[] returnDataLengths,
16459 [retval] out long[] returnData
16460 );
16461
16462 };
16463
16471 interface INATEngine : $unknown
16472 {
16477 attribute wstring network;
16478
16485 attribute wstring hostIP;
16486
16491 attribute wstring tftpPrefix;
16492
16497 attribute wstring tftpBootFile;
16498
16506 attribute wstring tftpNextServer;
16507
16511 attribute unsigned long aliasMode;
16512
16516 attribute boolean dnsPassDomain;
16517
16522 attribute boolean dnsProxy;
16523
16528 attribute boolean dnsUseHostResolver;
16529
16534 readonly attribute wstring[] redirects;
16535
16551 void setNetworkSettings (
16552 in unsigned long mtu,
16553 in unsigned long sockSnd,
16554 in unsigned long sockRcv,
16555 in unsigned long TcpWndSnd,
16556 in unsigned long TcpWndRcv
16557 );
16558
16563 void getNetworkSettings (
16564 out unsigned long mtu,
16565 out unsigned long sockSnd,
16566 out unsigned long sockRcv,
16567 out unsigned long TcpWndSnd,
16568 out unsigned long TcpWndRcv
16569 );
16570
16590 void addRedirect (
16591 in wstring name,
16592 in NATProtocol proto,
16593 in wstring hostIp,
16594 in unsigned short hostPort,
16595 in wstring guestIp,
16596 in unsigned short guestPort
16597 );
16598
16604 void removeRedirect (
16605 in wstring name
16606 );
16607
16608 };
16609
16610