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;
00226 enum AccessMode
00227 {
00228 AccessMode_ReadOnly = 1,
00229 AccessMode_ReadWrite = 2,
00230 };
00231
00349 enum MachineState
00350 {
00355 MachineState_Null = 0,
00362 MachineState_PoweredOff = 1,
00370 MachineState_Saved = 2,
00377 MachineState_Aborted = 3,
00384 MachineState_Running = 4,
00391 MachineState_Paused = 5,
00399 MachineState_Stuck = 6,
00407 MachineState_Starting = 7,
00415 MachineState_Stopping = 8,
00423 MachineState_Saving = 9,
00431 MachineState_Restoring = 10,
00438 MachineState_Discarding = 11,
00445 MachineState_SettingUp = 12,
00452 MachineState_FirstOnline = 4,
00459 MachineState_LastOnline = 10,
00466 MachineState_FirstTransient = 7,
00473 MachineState_LastTransient = 12,
00474 };
00475
00486 enum SessionState
00487 {
00492 SessionState_Null = 0,
00500 SessionState_Closed = 1,
00508 SessionState_Open = 2,
00520 SessionState_Spawning = 3,
00528 SessionState_Closing = 4,
00529 };
00530
00539 enum SessionType
00540 {
00545 SessionType_Null = 0,
00553 SessionType_Direct = 1,
00561 SessionType_Remote = 2,
00569 SessionType_Existing = 3,
00570 };
00571
00579 enum DeviceType
00580 {
00588 DeviceType_Null = 0,
00593 DeviceType_Floppy = 1,
00598 DeviceType_DVD = 2,
00603 DeviceType_HardDisk = 3,
00608 DeviceType_Network = 4,
00613 DeviceType_USB = 5,
00618 DeviceType_SharedFolder = 6,
00619 };
00620
00628 enum DeviceActivity
00629 {
00630 DeviceActivity_Null = 0,
00631 DeviceActivity_Idle = 1,
00632 DeviceActivity_Reading = 2,
00633 DeviceActivity_Writing = 3,
00634 };
00635
00643 enum ClipboardMode
00644 {
00645 ClipboardMode_Disabled = 0,
00646 ClipboardMode_HostToGuest = 1,
00647 ClipboardMode_GuestToHost = 2,
00648 ClipboardMode_Bidirectional = 3,
00649 };
00650
00661 enum Scope
00662 {
00663 Scope_Global = 0,
00664 Scope_Machine = 1,
00665 Scope_Session = 2,
00666 };
00667
00675 enum GuestStatisticType
00676 {
00683 GuestStatisticType_CPULoad_Idle = 0,
00690 GuestStatisticType_CPULoad_Kernel = 1,
00697 GuestStatisticType_CPULoad_User = 2,
00704 GuestStatisticType_Threads = 3,
00711 GuestStatisticType_Processes = 4,
00718 GuestStatisticType_Handles = 5,
00725 GuestStatisticType_MemoryLoad = 6,
00732 GuestStatisticType_PhysMemTotal = 7,
00739 GuestStatisticType_PhysMemAvailable = 8,
00746 GuestStatisticType_PhysMemBalloon = 9,
00753 GuestStatisticType_MemCommitTotal = 10,
00760 GuestStatisticType_MemKernelTotal = 11,
00767 GuestStatisticType_MemKernelPaged = 12,
00774 GuestStatisticType_MemKernelNonpaged = 13,
00781 GuestStatisticType_MemSystemCache = 14,
00788 GuestStatisticType_PageFileSize = 15,
00795 GuestStatisticType_SampleNumber = 16,
00796 GuestStatisticType_MaxVal = 17,
00797 };
00798
00806 enum BIOSBootMenuMode
00807 {
00808 BIOSBootMenuMode_Disabled = 0,
00809 BIOSBootMenuMode_MenuOnly = 1,
00810 BIOSBootMenuMode_MessageAndMenu = 2,
00811 };
00812
00813 enum DriveState
00814 {
00819 DriveState_Null = 0,
00820 DriveState_NotMounted = 1,
00821 DriveState_ImageMounted = 2,
00822 DriveState_HostDriveCaptured = 3,
00823 };
00824
00832 enum ProcessorFeature
00833 {
00834 ProcessorFeature_HWVirtEx = 0,
00835 ProcessorFeature_PAE = 1,
00836 ProcessorFeature_LongMode = 2,
00837 };
00838
00846 enum VFSType
00847 {
00848 VFSType_File = 1,
00849 VFSType_Cloud = 2,
00850 VFSType_S3 = 3,
00851 VFSType_WebDav = 4,
00852 };
00853
00861 enum VFSFileType
00862 {
00863 VFSFileType_Unknown = 1,
00864 VFSFileType_Fifo = 2,
00865 VFSFileType_DevChar = 3,
00866 VFSFileType_Directory = 4,
00867 VFSFileType_DevBlock = 5,
00868 VFSFileType_File = 6,
00869 VFSFileType_SymLink = 7,
00870 VFSFileType_Socket = 8,
00871 VFSFileType_WhiteOut = 9,
00872 };
00873
00881 enum CIMOSType
00882 {
00883 CIMOSType_CIMOS_Unknown = 0,
00884 CIMOSType_CIMOS_Other = 1,
00885 CIMOSType_CIMOS_MACOS = 2,
00886 CIMOSType_CIMOS_ATTUNIX = 3,
00887 CIMOSType_CIMOS_DGUX = 4,
00888 CIMOSType_CIMOS_DECNT = 5,
00889 CIMOSType_CIMOS_Tru64UNIX = 6,
00890 CIMOSType_CIMOS_OpenVMS = 7,
00891 CIMOSType_CIMOS_HPUX = 8,
00892 CIMOSType_CIMOS_AIX = 9,
00893 CIMOSType_CIMOS_MVS = 10,
00894 CIMOSType_CIMOS_OS400 = 11,
00895 CIMOSType_CIMOS_OS2 = 12,
00896 CIMOSType_CIMOS_JavaVM = 13,
00897 CIMOSType_CIMOS_MSDOS = 14,
00898 CIMOSType_CIMOS_WIN3x = 15,
00899 CIMOSType_CIMOS_WIN95 = 16,
00900 CIMOSType_CIMOS_WIN98 = 17,
00901 CIMOSType_CIMOS_WINNT = 18,
00902 CIMOSType_CIMOS_WINCE = 19,
00903 CIMOSType_CIMOS_NCR3000 = 20,
00904 CIMOSType_CIMOS_NetWare = 21,
00905 CIMOSType_CIMOS_OSF = 22,
00906 CIMOSType_CIMOS_DCOS = 23,
00907 CIMOSType_CIMOS_ReliantUNIX = 24,
00908 CIMOSType_CIMOS_SCOUnixWare = 25,
00909 CIMOSType_CIMOS_SCOOpenServer = 26,
00910 CIMOSType_CIMOS_Sequent = 27,
00911 CIMOSType_CIMOS_IRIX = 28,
00912 CIMOSType_CIMOS_Solaris = 29,
00913 CIMOSType_CIMOS_SunOS = 30,
00914 CIMOSType_CIMOS_U6000 = 31,
00915 CIMOSType_CIMOS_ASERIES = 32,
00916 CIMOSType_CIMOS_HPNonStopOS = 33,
00917 CIMOSType_CIMOS_HPNonStopOSS = 34,
00918 CIMOSType_CIMOS_BS2000 = 35,
00919 CIMOSType_CIMOS_LINUX = 36,
00920 CIMOSType_CIMOS_Lynx = 37,
00921 CIMOSType_CIMOS_XENIX = 38,
00922 CIMOSType_CIMOS_VM = 39,
00923 CIMOSType_CIMOS_InteractiveUNIX = 40,
00924 CIMOSType_CIMOS_BSDUNIX = 41,
00925 CIMOSType_CIMOS_FreeBSD = 42,
00926 CIMOSType_CIMOS_NetBSD = 43,
00927 CIMOSType_CIMOS_GNUHurd = 44,
00928 CIMOSType_CIMOS_OS9 = 45,
00929 CIMOSType_CIMOS_MACHKernel = 46,
00930 CIMOSType_CIMOS_Inferno = 47,
00931 CIMOSType_CIMOS_QNX = 48,
00932 CIMOSType_CIMOS_EPOC = 49,
00933 CIMOSType_CIMOS_IxWorks = 50,
00934 CIMOSType_CIMOS_VxWorks = 51,
00935 CIMOSType_CIMOS_MiNT = 52,
00936 CIMOSType_CIMOS_BeOS = 53,
00937 CIMOSType_CIMOS_HPMPE = 54,
00938 CIMOSType_CIMOS_NextStep = 55,
00939 CIMOSType_CIMOS_PalmPilot = 56,
00940 CIMOSType_CIMOS_Rhapsody = 57,
00941 CIMOSType_CIMOS_Windows2000 = 58,
00942 CIMOSType_CIMOS_Dedicated = 59,
00943 CIMOSType_CIMOS_OS390 = 60,
00944 CIMOSType_CIMOS_VSE = 61,
00945 CIMOSType_CIMOS_TPF = 62,
00946 CIMOSType_CIMOS_WindowsMe = 63,
00947 CIMOSType_CIMOS_CalderaOpenUNIX = 64,
00948 CIMOSType_CIMOS_OpenBSD = 65,
00949 CIMOSType_CIMOS_NotApplicable = 66,
00950 CIMOSType_CIMOS_WindowsXP = 67,
00951 CIMOSType_CIMOS_zOS = 68,
00952 CIMOSType_CIMOS_MicrosoftWindowsServer2003 = 69,
00953 CIMOSType_CIMOS_MicrosoftWindowsServer2003_64 = 70,
00954 CIMOSType_CIMOS_WindowsXP_64 = 71,
00955 CIMOSType_CIMOS_WindowsXPEmbedded = 72,
00956 CIMOSType_CIMOS_WindowsVista = 73,
00957 CIMOSType_CIMOS_WindowsVista_64 = 74,
00958 CIMOSType_CIMOS_WindowsEmbeddedforPointofService = 75,
00959 CIMOSType_CIMOS_MicrosoftWindowsServer2008 = 76,
00960 CIMOSType_CIMOS_MicrosoftWindowsServer2008_64 = 77,
00961 CIMOSType_CIMOS_FreeBSD_64 = 78,
00962 CIMOSType_CIMOS_RedHatEnterpriseLinux = 79,
00963 CIMOSType_CIMOS_RedHatEnterpriseLinux_64 = 80,
00964 CIMOSType_CIMOS_Solaris_64 = 81,
00965 CIMOSType_CIMOS_SUSE = 82,
00966 CIMOSType_CIMOS_SUSE_64 = 83,
00967 CIMOSType_CIMOS_SLES = 84,
00968 CIMOSType_CIMOS_SLES_64 = 85,
00969 CIMOSType_CIMOS_NovellOES = 86,
00970 CIMOSType_CIMOS_NovellLinuxDesktop = 87,
00971 CIMOSType_CIMOS_SunJavaDesktopSystem = 88,
00972 CIMOSType_CIMOS_Mandriva = 89,
00973 CIMOSType_CIMOS_Mandriva_64 = 90,
00974 CIMOSType_CIMOS_TurboLinux = 91,
00975 CIMOSType_CIMOS_TurboLinux_64 = 92,
00976 CIMOSType_CIMOS_Ubuntu = 93,
00977 CIMOSType_CIMOS_Ubuntu_64 = 94,
00978 CIMOSType_CIMOS_Debian = 95,
00979 CIMOSType_CIMOS_Debian_64 = 96,
00980 CIMOSType_CIMOS_Linux_2_4_x = 97,
00981 CIMOSType_CIMOS_Linux_2_4_x_64 = 98,
00982 CIMOSType_CIMOS_Linux_2_6_x = 99,
00983 CIMOSType_CIMOS_Linux_2_6_x_64 = 100,
00984 CIMOSType_CIMOS_Linux_64 = 101,
00985 CIMOSType_CIMOS_Other_64 = 102,
00986 };
00987
00996 enum OVFResourceType
00997 {
00998 OVFResourceType_Other = 1,
00999 OVFResourceType_ComputerSystem = 2,
01000 OVFResourceType_Processor = 3,
01001 OVFResourceType_Memory = 4,
01002 OVFResourceType_IDEController = 5,
01003 OVFResourceType_ParallelSCSIHBA = 6,
01004 OVFResourceType_FCHBA = 7,
01005 OVFResourceType_iSCSIHBA = 8,
01006 OVFResourceType_IBHCA = 9,
01007 OVFResourceType_EthernetAdapter = 10,
01008 OVFResourceType_OtherNetworkAdapter = 11,
01009 OVFResourceType_IOSlot = 12,
01010 OVFResourceType_IODevice = 13,
01011 OVFResourceType_FloppyDrive = 14,
01012 OVFResourceType_CDDrive = 15,
01013 OVFResourceType_DVDDrive = 16,
01014 OVFResourceType_HardDisk = 17,
01015 OVFResourceType_OtherStorageDevice = 20,
01016 OVFResourceType_USBController = 23,
01017 OVFResourceType_SoundCard = 35,
01018 };
01019
01026 enum VirtualSystemDescriptionType
01027 {
01028 VirtualSystemDescriptionType_Ignore = 1,
01029 VirtualSystemDescriptionType_OS = 2,
01030 VirtualSystemDescriptionType_Name = 3,
01031 VirtualSystemDescriptionType_Product = 4,
01032 VirtualSystemDescriptionType_Vendor = 5,
01033 VirtualSystemDescriptionType_Version = 6,
01034 VirtualSystemDescriptionType_ProductUrl = 7,
01035 VirtualSystemDescriptionType_VendorUrl = 8,
01036 VirtualSystemDescriptionType_Description = 9,
01037 VirtualSystemDescriptionType_License = 10,
01038 VirtualSystemDescriptionType_Miscellaneous = 11,
01039 VirtualSystemDescriptionType_CPU = 12,
01040 VirtualSystemDescriptionType_Memory = 13,
01041 VirtualSystemDescriptionType_HardDiskControllerIDE = 14,
01042 VirtualSystemDescriptionType_HardDiskControllerSATA = 15,
01043 VirtualSystemDescriptionType_HardDiskControllerSCSI = 16,
01044 VirtualSystemDescriptionType_HardDiskImage = 17,
01045 VirtualSystemDescriptionType_Floppy = 18,
01046 VirtualSystemDescriptionType_CDROM = 19,
01047 VirtualSystemDescriptionType_NetworkAdapter = 20,
01048 VirtualSystemDescriptionType_USBController = 21,
01049 VirtualSystemDescriptionType_SoundCard = 22,
01050 };
01051
01058 enum VirtualSystemDescriptionValueType
01059 {
01060 VirtualSystemDescriptionValueType_Reference = 1,
01061 VirtualSystemDescriptionValueType_Original = 2,
01062 VirtualSystemDescriptionValueType_Auto = 3,
01063 VirtualSystemDescriptionValueType_ExtraConfig = 4,
01064 };
01065
01076 enum HostNetworkInterfaceMediumType
01077 {
01084 HostNetworkInterfaceMediumType_Unknown = 0,
01091 HostNetworkInterfaceMediumType_Ethernet = 1,
01098 HostNetworkInterfaceMediumType_PPP = 2,
01105 HostNetworkInterfaceMediumType_SLIP = 3,
01106 };
01107
01117 enum HostNetworkInterfaceStatus
01118 {
01125 HostNetworkInterfaceStatus_Unknown = 0,
01132 HostNetworkInterfaceStatus_Up = 1,
01139 HostNetworkInterfaceStatus_Down = 2,
01140 };
01141
01149 enum HostNetworkInterfaceType
01150 {
01151 HostNetworkInterfaceType_Bridged = 1,
01152 HostNetworkInterfaceType_HostOnly = 2,
01153 };
01154
01164 enum MediaState
01165 {
01173 MediaState_NotCreated = 0,
01180 MediaState_Created = 1,
01187 MediaState_LockedRead = 2,
01195 MediaState_LockedWrite = 3,
01202 MediaState_Inaccessible = 4,
01209 MediaState_Creating = 5,
01216 MediaState_Deleting = 6,
01217 };
01218
01228 enum HardDiskType
01229 {
01237 HardDiskType_Normal = 0,
01245 HardDiskType_Immutable = 1,
01253 HardDiskType_Writethrough = 2,
01254 };
01255
01265 enum HardDiskVariant
01266 {
01273 HardDiskVariant_Standard = 0,
01280 HardDiskVariant_VmdkSplit2G = 0x01,
01288 HardDiskVariant_VmdkStreamOptimized = 0x04,
01295 HardDiskVariant_VmdkESX = 0x08,
01302 HardDiskVariant_Fixed = 0x10000,
01309 HardDiskVariant_Diff = 0x20000,
01310 };
01311
01312 enum DataType
01313 {
01314 DataType_Int32 = 0,
01315 DataType_Int8 = 1,
01316 DataType_String = 2,
01317 };
01318
01319 enum DataFlags
01320 {
01321 DataFlags_None = 0x00,
01322 DataFlags_Mandatory = 0x01,
01323 DataFlags_Expert = 0x02,
01324 DataFlags_Array = 0x04,
01325 DataFlags_FlagMask = 0x07,
01326 };
01327
01335 enum HardDiskFormatCapabilities
01336 {
01343 HardDiskFormatCapabilities_Uuid = 0x01,
01350 HardDiskFormatCapabilities_CreateFixed = 0x02,
01358 HardDiskFormatCapabilities_CreateDynamic = 0x04,
01365 HardDiskFormatCapabilities_CreateSplit2G = 0x08,
01372 HardDiskFormatCapabilities_Differencing = 0x10,
01379 HardDiskFormatCapabilities_Asynchronous = 0x20,
01389 HardDiskFormatCapabilities_File = 0x40,
01399 HardDiskFormatCapabilities_Properties = 0x80,
01400 HardDiskFormatCapabilities_CapabilityMask = 0xFF,
01401 };
01402
01410 enum MouseButtonState
01411 {
01412 MouseButtonState_LeftButton = 0x01,
01413 MouseButtonState_RightButton = 0x02,
01414 MouseButtonState_MiddleButton = 0x04,
01415 MouseButtonState_WheelUp = 0x08,
01416 MouseButtonState_WheelDown = 0x10,
01417 MouseButtonState_MouseStateMask = 0x1F,
01418 };
01419
01430 enum FramebufferPixelFormat
01431 {
01439 FramebufferPixelFormat_Opaque = 0,
01447 FramebufferPixelFormat_FOURCC_RGB = 0x32424752,
01448 };
01449
01457 enum NetworkAttachmentType
01458 {
01463 NetworkAttachmentType_Null = 0,
01464 NetworkAttachmentType_NAT = 1,
01465 NetworkAttachmentType_Bridged = 2,
01466 NetworkAttachmentType_Internal = 3,
01467 NetworkAttachmentType_HostOnly = 4,
01468 };
01469
01477 enum NetworkAdapterType
01478 {
01483 NetworkAdapterType_Null = 0,
01488 NetworkAdapterType_Am79C970A = 1,
01493 NetworkAdapterType_Am79C973 = 2,
01498 NetworkAdapterType_I82540EM = 3,
01503 NetworkAdapterType_I82543GC = 4,
01508 NetworkAdapterType_I82545EM = 5,
01509 };
01510
01519 enum PortMode
01520 {
01525 PortMode_Disconnected = 0,
01530 PortMode_HostPipe = 1,
01535 PortMode_HostDevice = 2,
01540 PortMode_RawFile = 3,
01541 };
01542
01581 enum USBDeviceState
01582 {
01589 USBDeviceState_NotSupported = 0,
01597 USBDeviceState_Unavailable = 1,
01604 USBDeviceState_Busy = 2,
01612 USBDeviceState_Available = 3,
01620 USBDeviceState_Held = 4,
01628 USBDeviceState_Captured = 5,
01629 };
01630
01640 enum USBDeviceFilterAction
01641 {
01646 USBDeviceFilterAction_Null = 0,
01651 USBDeviceFilterAction_Ignore = 1,
01656 USBDeviceFilterAction_Hold = 2,
01657 };
01658
01666 enum AudioDriverType
01667 {
01672 AudioDriverType_Null = 0,
01673 AudioDriverType_WinMM = 1,
01674 AudioDriverType_OSS = 2,
01675 AudioDriverType_ALSA = 3,
01676 AudioDriverType_DirectSound = 4,
01677 AudioDriverType_CoreAudio = 5,
01678 AudioDriverType_MMPM = 6,
01679 AudioDriverType_Pulse = 7,
01680 AudioDriverType_SolAudio = 8,
01681 };
01682
01690 enum AudioControllerType
01691 {
01692 AudioControllerType_AC97 = 0,
01693 AudioControllerType_SB16 = 1,
01694 };
01695
01703 enum VRDPAuthType
01704 {
01709 VRDPAuthType_Null = 0,
01710 VRDPAuthType_External = 1,
01711 VRDPAuthType_Guest = 2,
01712 };
01713
01721 enum StorageBus
01722 {
01727 StorageBus_Null = 0,
01728 StorageBus_IDE = 1,
01729 StorageBus_SATA = 2,
01730 StorageBus_SCSI = 3,
01731 };
01732
01740 enum StorageControllerType
01741 {
01746 StorageControllerType_Null = 0,
01747 StorageControllerType_LsiLogic = 1,
01748 StorageControllerType_BusLogic = 2,
01749 StorageControllerType_IntelAhci = 3,
01750 StorageControllerType_PIIX3 = 4,
01751 StorageControllerType_PIIX4 = 5,
01752 StorageControllerType_ICH6 = 6,
01753 };
01754
01787 interface IVirtualBoxErrorInfo : $errorinfo
01788 {
01806 readonly attribute long resultCode;
01807
01818 readonly attribute uuid interfaceID;
01819
01830 readonly attribute wstring component;
01831
01842 readonly attribute wstring text;
01843
01854 readonly attribute IVirtualBoxErrorInfo next;
01855
01856 };
01857
01870 interface ILocalOwner : $dispatched
01871 {
01880 void setLocalObject (
01881 in $unknown object
01882 );
01883
01884 };
01885
01886 interface IVirtualBoxCallback : $unknown
01887 {
01899 void onMachineStateChange (
01900 in wstring machineId,
01901 in MachineState state
01902 );
01903
01911 void onMachineDataChange (
01912 in wstring machineId
01913 );
01914
01945 void onExtraDataCanChange (
01946 in wstring machineId,
01947 in wstring key,
01948 in wstring value,
01949 out wstring error,
01950 [retval] out boolean allowChange
01951 );
01952
01972 void onExtraDataChange (
01973 in wstring machineId,
01974 in wstring key,
01975 in wstring value
01976 );
01977
02015 void onMediaRegistered (
02016 in wstring mediaId,
02017 in DeviceType mediaType,
02018 in boolean registered
02019 );
02020
02034 void onMachineRegistered (
02035 in wstring machineId,
02036 in boolean registered
02037 );
02038
02050 void onSessionStateChange (
02051 in wstring machineId,
02052 in SessionState state
02053 );
02054
02066 void onSnapshotTaken (
02067 in wstring machineId,
02068 in wstring snapshotId
02069 );
02070
02092 void onSnapshotDiscarded (
02093 in wstring machineId,
02094 in wstring snapshotId
02095 );
02096
02108 void onSnapshotChange (
02109 in wstring machineId,
02110 in wstring snapshotId
02111 );
02112
02134 void onGuestPropertyChange (
02135 in wstring machineId,
02136 in wstring name,
02137 in wstring value,
02138 in wstring flags
02139 );
02140
02141 };
02142
02153 interface IDHCPServer : $unknown
02154 {
02160 attribute boolean enabled;
02161
02167 readonly attribute wstring IPAddress;
02168
02174 readonly attribute wstring networkMask;
02175
02181 readonly attribute wstring networkName;
02182
02188 readonly attribute wstring lowerIP;
02189
02195 readonly attribute wstring upperIP;
02196
02225 void setConfiguration (
02226 in wstring IPAddress,
02227 in wstring networkMask,
02228 in wstring FromIPAddress,
02229 in wstring ToIPAddress
02230 );
02231
02256 void start (
02257 in wstring networkName,
02258 in wstring trunkName,
02259 in wstring trunkType
02260 );
02261
02274 void stop();
02275
02276 };
02277
02296 interface IVirtualBox : $dispatched
02297 {
02305 readonly attribute wstring version;
02306
02312 readonly attribute unsigned long revision;
02313
02323 readonly attribute wstring packageType;
02324
02340 readonly attribute wstring homeFolder;
02341
02349 readonly attribute wstring settingsFilePath;
02350
02388 readonly attribute wstring settingsFileVersion;
02389
02409 readonly attribute wstring settingsFormatVersion;
02410
02414 readonly attribute IHost host;
02415
02419 readonly attribute ISystemProperties systemProperties;
02420
02426 readonly attribute IMachine[] machines;
02427
02437 readonly attribute IHardDisk[] hardDisks;
02438
02444 readonly attribute IDVDImage[] DVDImages;
02445
02451 readonly attribute IFloppyImage[] floppyImages;
02452
02453 readonly attribute IProgress[] progressOperations;
02454
02455 readonly attribute IGuestOSType[] guestOSTypes;
02456
02473 readonly attribute ISharedFolder[] sharedFolders;
02474
02480 readonly attribute IPerformanceCollector performanceCollector;
02481
02487 readonly attribute IDHCPServer[] DHCPServers;
02488
02590 void createMachine (
02591 in wstring name,
02592 in wstring osTypeId,
02593 in wstring baseFolder,
02594 in wstring id,
02595 [retval] out IMachine machine
02596 );
02597
02661 void createLegacyMachine (
02662 in wstring name,
02663 in wstring osTypeId,
02664 in wstring settingsFile,
02665 in wstring id,
02666 [retval] out IMachine machine
02667 );
02668
02696 void openMachine (
02697 in wstring settingsFile,
02698 [retval] out IMachine machine
02699 );
02700
02733 void registerMachine (
02734 in IMachine machine
02735 );
02736
02752 void getMachine (
02753 in wstring id,
02754 [retval] out IMachine machine
02755 );
02756
02772 void findMachine (
02773 in wstring name,
02774 [retval] out IMachine machine
02775 );
02776
02831 void unregisterMachine (
02832 in wstring id,
02833 [retval] out IMachine machine
02834 );
02835
02845 void createAppliance (
02846 [retval] out IAppliance appliance
02847 );
02848
02914 void createHardDisk (
02915 in wstring format,
02916 in wstring location,
02917 [retval] out IHardDisk hardDisk
02918 );
02919
03007 void openHardDisk (
03008 in wstring location,
03009 in AccessMode accessMode,
03010 in boolean setImageId,
03011 in wstring imageId,
03012 in boolean setParentId,
03013 in wstring parentId,
03014 [retval] out IHardDisk hardDisk
03015 );
03016
03038 void getHardDisk (
03039 in wstring id,
03040 [retval] out IHardDisk hardDisk
03041 );
03042
03077 void findHardDisk (
03078 in wstring location,
03079 [retval] out IHardDisk hardDisk
03080 );
03081
03131 void openDVDImage (
03132 in wstring location,
03133 in wstring id,
03134 [retval] out IDVDImage image
03135 );
03136
03157 void getDVDImage (
03158 in wstring id,
03159 [retval] out IDVDImage image
03160 );
03161
03200 void findDVDImage (
03201 in wstring location,
03202 [retval] out IDVDImage image
03203 );
03204
03254 void openFloppyImage (
03255 in wstring location,
03256 in wstring id,
03257 [retval] out IFloppyImage image
03258 );
03259
03280 void getFloppyImage (
03281 in wstring id,
03282 [retval] out IFloppyImage image
03283 );
03284
03323 void findFloppyImage (
03324 in wstring location,
03325 [retval] out IFloppyImage image
03326 );
03327
03356 void getGuestOSType (
03357 in wstring id,
03358 [retval] out IGuestOSType type
03359 );
03360
03380 void createSharedFolder (
03381 in wstring name,
03382 in wstring hostPath,
03383 in boolean writable
03384 );
03385
03400 void removeSharedFolder (
03401 in wstring name
03402 );
03403
03429 void getNextExtraDataKey (
03430 in wstring key,
03431 out wstring nextKey,
03432 out wstring nextValue
03433 );
03434
03463 void getExtraData (
03464 in wstring key,
03465 [retval] out wstring value
03466 );
03467
03517 void setExtraData (
03518 in wstring key,
03519 in wstring value
03520 );
03521
03618 void openSession (
03619 in ISession session,
03620 in wstring machineId
03621 );
03622
03745 void openRemoteSession (
03746 in ISession session,
03747 in wstring machineId,
03748 in wstring type,
03749 in wstring environment,
03750 [retval] out IProgress progress
03751 );
03752
03822 void openExistingSession (
03823 in ISession session,
03824 in wstring machineId
03825 );
03826
03844 void registerCallback (
03845 in IVirtualBoxCallback callback
03846 );
03847
03863 void unregisterCallback (
03864 in IVirtualBoxCallback callback
03865 );
03866
03954 void waitForPropertyChange (
03955 in wstring what,
03956 in unsigned long timeout,
03957 out wstring changed,
03958 out wstring values
03959 );
03960
03989 void saveSettings();
03990
04057 void saveSettingsWithBackup (
04058 [retval] out wstring bakFileName
04059 );
04060
04077 void createDHCPServer (
04078 in wstring name,
04079 [retval] out IDHCPServer server
04080 );
04081
04098 void findDHCPServerByNetworkName (
04099 in wstring name,
04100 [retval] out IDHCPServer server
04101 );
04102
04117 void removeDHCPServer (
04118 in IDHCPServer server
04119 );
04120
04121 };
04122
04133 interface IVFSExplorer : $unknown
04134 {
04138 readonly attribute wstring path;
04139
04143 readonly attribute VFSType type;
04144
04152 void update (
04153 [retval] out IProgress aProgress
04154 );
04155
04163 void cd (
04164 in wstring aDir,
04165 [retval] out IProgress aProgress
04166 );
04167
04173 void cdUp (
04174 [retval] out IProgress aProgress
04175 );
04176
04185 void entryList (
04186 out wstring[] aNames,
04187 out unsigned long[] aTypes
04188 );
04189
04198 void exists (
04199 in wstring[] aNames,
04200 [retval] out wstring[] aExists
04201 );
04202
04210 void remove (
04211 in wstring[] aNames,
04212 [retval] out IProgress aProgress
04213 );
04214
04215 };
04216
04281 interface IAppliance : $unknown
04282 {
04290 readonly attribute wstring path;
04291
04322 readonly attribute wstring[] disks;
04323
04331 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04332
04347 void read (
04348 in wstring file
04349 );
04350
04367 void interpret();
04368
04386 void importMachines (
04387 [retval] out IProgress aProgress
04388 );
04389
04397 void createVFSExplorer (
04398 in wstring aUri,
04399 [retval] out IVFSExplorer aExplorer
04400 );
04401
04426 void write (
04427 in wstring format,
04428 in wstring path,
04429 [retval] out IProgress aProgress
04430 );
04431
04437 void getWarnings (
04438 [retval] out wstring[] aWarnings
04439 );
04440
04441 };
04442
04453 interface IVirtualSystemDescription : $unknown
04454 {
04458 readonly attribute unsigned long count;
04459
04568 void getDescription (
04569 out VirtualSystemDescriptionType[] aTypes,
04570 out wstring[] aRefs,
04571 out wstring[] aOvfValues,
04572 out wstring[] aVBoxValues,
04573 out wstring[] aExtraConfigValues
04574 );
04575
04592 void getDescriptionByType (
04593 in VirtualSystemDescriptionType aType,
04594 out VirtualSystemDescriptionType[] aTypes,
04595 out wstring[] aRefs,
04596 out wstring[] aOvfValues,
04597 out wstring[] aVBoxValues,
04598 out wstring[] aExtraConfigValues
04599 );
04600
04612 void getValuesByType (
04613 in VirtualSystemDescriptionType aType,
04614 in VirtualSystemDescriptionValueType aWhich,
04615 [retval] out wstring[] aValues
04616 );
04617
04643 void setFinalValues (
04644 in boolean[] aEnabled,
04645 in wstring[] aVBoxValues,
04646 in wstring[] aExtraConfigValues
04647 );
04648
04663 void addDescription (
04664 in VirtualSystemDescriptionType aType,
04665 in wstring aVBoxValue,
04666 in wstring aExtraConfigValue
04667 );
04668
04669 };
04670
04671 interface IInternalMachineControl : $unknown
04672 {
04679 void setRemoveSavedState (
04680 in boolean aRemove
04681 );
04682
04694 void updateState (
04695 in MachineState state
04696 );
04697
04698 void getIPCId (
04699 [retval] out wstring id
04700 );
04701
04715 void runUSBDeviceFilters (
04716 in IUSBDevice device,
04717 out boolean matched,
04718 out unsigned long maskedInterfaces
04719 );
04720
04729 void captureUSBDevice (
04730 in wstring id
04731 );
04732
04748 void detachUSBDevice (
04749 in wstring id,
04750 in boolean done
04751 );
04752
04761 void autoCaptureUSBDevices();
04762
04778 void detachAllUSBDevices (
04779 in boolean done
04780 );
04781
04796 void onSessionEnd (
04797 in ISession session,
04798 [retval] out IProgress progress
04799 );
04800
04816 void beginSavingState (
04817 in IProgress progress,
04818 out wstring stateFilePath
04819 );
04820
04847 void endSavingState (
04848 in boolean success
04849 );
04850
04865 void adoptSavedState (
04866 in wstring savedStateFile
04867 );
04868
04911 void beginTakingSnapshot (
04912 in IConsole initiator,
04913 in wstring name,
04914 in wstring description,
04915 in IProgress progress,
04916 out wstring stateFilePath,
04917 out IProgress serverProgress
04918 );
04919
04929 void endTakingSnapshot (
04930 in boolean success
04931 );
04932
04953 void discardSnapshot (
04954 in IConsole initiator,
04955 in wstring id,
04956 out MachineState machineState,
04957 [retval] out IProgress progress
04958 );
04959
04978 void discardCurrentState (
04979 in IConsole initiator,
04980 out MachineState machineState,
04981 [retval] out IProgress progress
04982 );
04983
05002 void discardCurrentSnapshotAndState (
05003 in IConsole initiator,
05004 out MachineState machineState,
05005 [retval] out IProgress progress
05006 );
05007
05034 void pullGuestProperties (
05035 out wstring[] name,
05036 out wstring[] value,
05037 out unsigned long long[] timestamp,
05038 out wstring[] flags
05039 );
05040
05067 void pushGuestProperties (
05068 in wstring[] name,
05069 in wstring[] value,
05070 in unsigned long long[] timestamp,
05071 in wstring[] flags
05072 );
05073
05095 void pushGuestProperty (
05096 in wstring name,
05097 in wstring value,
05098 in unsigned long long timestamp,
05099 in wstring flags
05100 );
05101
05113 void lockMedia();
05114
05115 };
05116
05125 interface IBIOSSettings : $unknown
05126 {
05130 attribute boolean logoFadeIn;
05131
05135 attribute boolean logoFadeOut;
05136
05140 attribute unsigned long logoDisplayTime;
05141
05145 attribute wstring logoImagePath;
05146
05150 attribute BIOSBootMenuMode bootMenuMode;
05151
05155 attribute boolean ACPIEnabled;
05156
05163 attribute boolean IOAPICEnabled;
05164
05174 attribute long long timeOffset;
05175
05182 attribute boolean PXEDebugEnabled;
05183
05184 };
05185
05228 interface IMachine : $unknown
05229 {
05233 readonly attribute IVirtualBox parent;
05234
05293 readonly attribute boolean accessible;
05294
05306 readonly attribute IVirtualBoxErrorInfo accessError;
05307
05353 attribute wstring name;
05354
05365 attribute wstring description;
05366
05370 readonly attribute wstring id;
05371
05386 attribute wstring OSTypeId;
05387
05391 attribute wstring HardwareVersion;
05392
05396 attribute unsigned long CPUCount;
05397
05401 attribute unsigned long memorySize;
05402
05406 attribute unsigned long memoryBalloonSize;
05407
05411 attribute unsigned long statisticsUpdateInterval;
05412
05416 attribute unsigned long VRAMSize;
05417
05424 attribute boolean accelerate3DEnabled;
05425
05436 attribute unsigned long monitorCount;
05437
05441 readonly attribute IBIOSSettings BIOSSettings;
05442
05451 attribute boolean HWVirtExEnabled;
05452
05460 attribute boolean HWVirtExNestedPagingEnabled;
05461
05469 attribute boolean HWVirtExVPIDEnabled;
05470
05478 attribute boolean PAEEnabled;
05479
05513 attribute wstring snapshotFolder;
05514
05518 readonly attribute IVRDPServer VRDPServer;
05519
05523 readonly attribute IHardDiskAttachment[] hardDiskAttachments;
05524
05528 readonly attribute IDVDDrive DVDDrive;
05529
05533 readonly attribute IFloppyDrive floppyDrive;
05534
05546 readonly attribute IUSBController USBController;
05547
05551 readonly attribute IAudioAdapter audioAdapter;
05552
05556 readonly attribute IStorageController[] storageControllers;
05557
05563 readonly attribute wstring settingsFilePath;
05564
05602 readonly attribute wstring settingsFileVersion;
05603
05628 readonly attribute boolean settingsModified;
05629
05633 readonly attribute SessionState sessionState;
05634
05647 readonly attribute wstring sessionType;
05648
05660 readonly attribute unsigned long sessionPid;
05661
05665 readonly attribute MachineState state;
05666
05673 readonly attribute long long lastStateChange;
05674
05686 readonly attribute wstring stateFilePath;
05687
05697 readonly attribute wstring logFolder;
05698
05711 readonly attribute ISnapshot currentSnapshot;
05712
05719 readonly attribute unsigned long snapshotCount;
05720
05754 readonly attribute boolean currentStateModified;
05755
05767 readonly attribute ISharedFolder[] sharedFolders;
05768
05775 attribute ClipboardMode clipboardMode;
05776
05784 attribute wstring guestPropertyNotificationPatterns;
05785
05823 void setBootOrder (
05824 in unsigned long position,
05825 in DeviceType device
05826 );
05827
05862 void getBootOrder (
05863 in unsigned long position,
05864 [retval] out DeviceType device
05865 );
05866
05949 void attachHardDisk (
05950 in wstring id,
05951 in wstring name,
05952 in long controllerPort,
05953 in long device
05954 );
05955
05984 void getHardDisk (
05985 in wstring name,
05986 in long controllerPort,
05987 in long device,
05988 [retval] out IHardDisk hardDisk
05989 );
05990
06044 void detachHardDisk (
06045 in wstring name,
06046 in long controllerPort,
06047 in long device
06048 );
06049
06064 void getHardDiskAttachmentsOfController (
06065 in wstring name,
06066 [retval] out IHardDiskAttachment[] hardDiskAttachments
06067 );
06068
06086 void getNetworkAdapter (
06087 in unsigned long slot,
06088 [retval] out INetworkAdapter adapter
06089 );
06090
06122 void addStorageController (
06123 in wstring name,
06124 in StorageBus connectionType,
06125 [retval] out IStorageController controller
06126 );
06127
06141 void getStorageControllerByName (
06142 in wstring name,
06143 [retval] out IStorageController storageController
06144 );
06145
06159 void removeStorageController (
06160 in wstring name
06161 );
06162
06180 void getSerialPort (
06181 in unsigned long slot,
06182 [retval] out ISerialPort port
06183 );
06184
06202 void getParallelPort (
06203 in unsigned long slot,
06204 [retval] out IParallelPort port
06205 );
06206
06234 void getNextExtraDataKey (
06235 in wstring key,
06236 out wstring nextKey,
06237 out wstring nextValue
06238 );
06239
06268 void getExtraData (
06269 in wstring key,
06270 [retval] out wstring value
06271 );
06272
06322 void setExtraData (
06323 in wstring key,
06324 in wstring value
06325 );
06326
06372 void saveSettings();
06373
06445 void saveSettingsWithBackup (
06446 [retval] out wstring bakFileName
06447 );
06448
06472 void discardSettings();
06473
06515 void deleteSettings();
06516
06526 void export (
06527 in IAppliance aAppliance,
06528 [retval] out IVirtualSystemDescription aDescription
06529 );
06530
06551 void getSnapshot (
06552 in wstring id,
06553 [retval] out ISnapshot snapshot
06554 );
06555
06573 void findSnapshot (
06574 in wstring name,
06575 [retval] out ISnapshot snapshot
06576 );
06577
06590 void setCurrentSnapshot (
06591 in wstring id
06592 );
06593
06624 void createSharedFolder (
06625 in wstring name,
06626 in wstring hostPath,
06627 in boolean writable
06628 );
06629
06655 void removeSharedFolder (
06656 in wstring name
06657 );
06658
06682 void canShowConsoleWindow (
06683 [retval] out boolean canShow
06684 );
06685
06720 void showConsoleWindow (
06721 [retval] out unsigned long long winId
06722 );
06723
06756 void getGuestProperty (
06757 in wstring name,
06758 out wstring value,
06759 out unsigned long long timestamp,
06760 out wstring flags
06761 );
06762
06785 void getGuestPropertyValue (
06786 in wstring property,
06787 [retval] out wstring value
06788 );
06789
06812 void getGuestPropertyTimestamp (
06813 in wstring property,
06814 [retval] out unsigned long long value
06815 );
06816
06867 void setGuestProperty (
06868 in wstring property,
06869 in wstring value,
06870 in wstring flags
06871 );
06872
06913 void setGuestPropertyValue (
06914 in wstring property,
06915 in wstring value
06916 );
06917
06948 void enumerateGuestProperties (
06949 in wstring patterns,
06950 out wstring[] name,
06951 out wstring[] value,
06952 out unsigned long long[] timestamp,
06953 out wstring[] flags
06954 );
06955
06956 };
06957
06976 interface IConsoleCallback : $unknown
06977 {
07044 void onMousePointerShapeChange (
07045 in boolean visible,
07046 in boolean alpha,
07047 in unsigned long xHot,
07048 in unsigned long yHot,
07049 in unsigned long width,
07050 in unsigned long height,
07051 in octetPtr shape
07052 );
07053
07060 void onMouseCapabilityChange (
07061 in boolean supportsAbsolute,
07062 in boolean needsHostCursor
07063 );
07064
07071 void onKeyboardLedsChange (
07072 in boolean numLock,
07073 in boolean capsLock,
07074 in boolean scrollLock
07075 );
07076
07083 void onStateChange (
07084 in MachineState state
07085 );
07086
07094 void onAdditionsStateChange();
07095
07104 void onDVDDriveChange();
07105
07114 void onFloppyDriveChange();
07115
07126 void onNetworkAdapterChange (
07127 in INetworkAdapter networkAdapter
07128 );
07129
07140 void onSerialPortChange (
07141 in ISerialPort serialPort
07142 );
07143
07154 void onParallelPortChange (
07155 in IParallelPort parallelPort
07156 );
07157
07166 void onStorageControllerChange();
07167
07176 void onVRDPServerChange();
07177
07186 void onUSBControllerChange();
07187
07220 void onUSBDeviceStateChange (
07221 in IUSBDevice device,
07222 in boolean attached,
07223 in IVirtualBoxErrorInfo error
07224 );
07225
07241 void onSharedFolderChange (
07242 in Scope scope
07243 );
07244
07308 void onRuntimeError (
07309 in boolean fatal,
07310 in wstring id,
07311 in wstring message
07312 );
07313
07341 void onCanShowWindow (
07342 [retval] out boolean canShow
07343 );
07344
07391 void onShowWindow (
07392 [retval] out unsigned long long winId
07393 );
07394
07395 };
07396
07405 interface IRemoteDisplayInfo : $unknown
07406 {
07412 readonly attribute boolean active;
07413
07419 readonly attribute unsigned long numberOfClients;
07420
07426 readonly attribute long long beginTime;
07427
07434 readonly attribute long long endTime;
07435
07441 readonly attribute unsigned long long bytesSent;
07442
07448 readonly attribute unsigned long long bytesSentTotal;
07449
07455 readonly attribute unsigned long long bytesReceived;
07456
07462 readonly attribute unsigned long long bytesReceivedTotal;
07463
07469 readonly attribute wstring user;
07470
07476 readonly attribute wstring domain;
07477
07483 readonly attribute wstring clientName;
07484
07490 readonly attribute wstring clientIP;
07491
07497 readonly attribute unsigned long clientVersion;
07498
07506 readonly attribute unsigned long encryptionStyle;
07507
07508 };
07509
07532 interface IConsole : $unknown
07533 {
07545 readonly attribute IMachine machine;
07546
07560 readonly attribute MachineState state;
07561
07565 readonly attribute IGuest guest;
07566
07577 readonly attribute IKeyboard keyboard;
07578
07589 readonly attribute IMouse mouse;
07590
07600 readonly attribute IDisplay display;
07601
07605 readonly attribute IMachineDebugger debugger;
07606
07617 readonly attribute IUSBDevice[] USBDevices;
07618
07626 readonly attribute IHostUSBDevice[] remoteUSBDevices;
07627
07643 readonly attribute ISharedFolder[] sharedFolders;
07644
07650 readonly attribute IRemoteDisplayInfo remoteDisplayInfo;
07651
07705 void powerUp (
07706 [retval] out IProgress progress
07707 );
07708
07742 void powerUpPaused (
07743 [retval] out IProgress progress
07744 );
07745
07765 void powerDown (
07766 [retval] out IProgress progress
07767 );
07768
07788 void reset();
07789
07809 void pause();
07810
07830 void resume();
07831
07851 void powerButton();
07852
07872 void sleepButton();
07873
07885 void getPowerButtonHandled (
07886 [retval] out boolean handled
07887 );
07888
07902 void getGuestEnteredACPIMode (
07903 [retval] out boolean entered
07904 );
07905
07958 void saveState (
07959 [retval] out IProgress progress
07960 );
07961
07994 void adoptSavedState (
07995 in wstring savedStateFile
07996 );
07997
08020 void forgetSavedState (
08021 in boolean remove
08022 );
08023
08036 void getDeviceActivity (
08037 in DeviceType type,
08038 [retval] out DeviceActivity activity
08039 );
08040
08077 void attachUSBDevice (
08078 in wstring id
08079 );
08080
08114 void detachUSBDevice (
08115 in wstring id,
08116 [retval] out IUSBDevice device
08117 );
08118
08141 void findUSBDeviceByAddress (
08142 in wstring name,
08143 [retval] out IUSBDevice device
08144 );
08145
08165 void findUSBDeviceById (
08166 in wstring id,
08167 [retval] out IUSBDevice device
08168 );
08169
08200 void createSharedFolder (
08201 in wstring name,
08202 in wstring hostPath,
08203 in boolean writable
08204 );
08205
08230 void removeSharedFolder (
08231 in wstring name
08232 );
08233
08271 void takeSnapshot (
08272 in wstring name,
08273 in wstring description,
08274 [retval] out IProgress progress
08275 );
08276
08375 void discardSnapshot (
08376 in wstring id,
08377 [retval] out IProgress progress
08378 );
08379
08417 void discardCurrentState (
08418 [retval] out IProgress progress
08419 );
08420
08475 void discardCurrentSnapshotAndState (
08476 [retval] out IProgress progress
08477 );
08478
08486 void registerCallback (
08487 in IConsoleCallback callback
08488 );
08489
08503 void unregisterCallback (
08504 in IConsoleCallback callback
08505 );
08506
08507 };
08508
08517 interface IHostDVDDrive : $unknown
08518 {
08526 readonly attribute wstring name;
08527
08535 readonly attribute wstring description;
08536
08545 readonly attribute wstring udi;
08546
08547 };
08548
08557 interface IHostFloppyDrive : $unknown
08558 {
08566 readonly attribute wstring name;
08567
08575 readonly attribute wstring description;
08576
08585 readonly attribute wstring udi;
08586
08587 };
08588
08599 interface IHostNetworkInterface : $unknown
08600 {
08604 readonly attribute wstring name;
08605
08609 readonly attribute wstring id;
08610
08614 readonly attribute wstring networkName;
08615
08619 readonly attribute boolean dhcpEnabled;
08620
08624 readonly attribute wstring IPAddress;
08625
08629 readonly attribute wstring networkMask;
08630
08634 readonly attribute boolean IPV6Supported;
08635
08639 readonly attribute wstring IPV6Address;
08640
08644 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
08645
08649 readonly attribute wstring hardwareAddress;
08650
08654 readonly attribute HostNetworkInterfaceMediumType mediumType;
08655
08659 readonly attribute HostNetworkInterfaceStatus status;
08660
08664 readonly attribute HostNetworkInterfaceType interfaceType;
08665
08677 void enableStaticIpConfig (
08678 in wstring IPAddress,
08679 in wstring networkMask
08680 );
08681
08693 void enableStaticIpConfigV6 (
08694 in wstring IPV6Address,
08695 in unsigned long IPV6NetworkMaskPrefixLength
08696 );
08697
08701 void enableDynamicIpConfig();
08702
08706 void dhcpRediscover();
08707
08708 };
08709
08726 interface IHost : $unknown
08727 {
08731 readonly attribute IHostDVDDrive[] DVDDrives;
08732
08736 readonly attribute IHostFloppyDrive[] floppyDrives;
08737
08751 readonly attribute IHostUSBDevice[] USBDevices;
08752
08775 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
08776
08780 readonly attribute IHostNetworkInterface[] networkInterfaces;
08781
08785 readonly attribute unsigned long processorCount;
08786
08790 readonly attribute unsigned long processorOnlineCount;
08791
08795 readonly attribute unsigned long memorySize;
08796
08800 readonly attribute unsigned long memoryAvailable;
08801
08805 readonly attribute wstring operatingSystem;
08806
08810 readonly attribute wstring OSVersion;
08811
08815 readonly attribute long long UTCTime;
08816
08820 readonly attribute boolean Acceleration3DAvailable;
08821
08836 void getProcessorSpeed (
08837 in unsigned long cpuId,
08838 [retval] out unsigned long speed
08839 );
08840
08852 void getProcessorFeature (
08853 in ProcessorFeature feature,
08854 [retval] out boolean supported
08855 );
08856
08875 void getProcessorDescription (
08876 in unsigned long cpuId,
08877 [retval] out wstring description
08878 );
08879
08900 void createHostOnlyNetworkInterface (
08901 out IHostNetworkInterface hostInterface,
08902 [retval] out IProgress progress
08903 );
08904
08929 void removeHostOnlyNetworkInterface (
08930 in wstring id,
08931 out IHostNetworkInterface hostInterface,
08932 [retval] out IProgress progress
08933 );
08934
08955 void createUSBDeviceFilter (
08956 in wstring name,
08957 [retval] out IHostUSBDeviceFilter filter
08958 );
08959
09002 void insertUSBDeviceFilter (
09003 in unsigned long position,
09004 in IHostUSBDeviceFilter filter
09005 );
09006
09036 void removeUSBDeviceFilter (
09037 in unsigned long position,
09038 [retval] out IHostUSBDeviceFilter filter
09039 );
09040
09058 void findHostDVDDrive (
09059 in wstring name,
09060 [retval] out IHostDVDDrive drive
09061 );
09062
09080 void findHostFloppyDrive (
09081 in wstring name,
09082 [retval] out IHostFloppyDrive drive
09083 );
09084
09100 void findHostNetworkInterfaceByName (
09101 in wstring name,
09102 [retval] out IHostNetworkInterface networkInterface
09103 );
09104
09120 void findHostNetworkInterfaceById (
09121 in wstring id,
09122 [retval] out IHostNetworkInterface networkInterface
09123 );
09124
09134 void findHostNetworkInterfacesOfType (
09135 in HostNetworkInterfaceType type,
09136 [retval] out IHostNetworkInterface[] networkInterfaces
09137 );
09138
09158 void findUSBDeviceById (
09159 in wstring id,
09160 [retval] out IHostUSBDevice device
09161 );
09162
09185 void findUSBDeviceByAddress (
09186 in wstring name,
09187 [retval] out IHostUSBDevice device
09188 );
09189
09190 };
09191
09204 interface ISystemProperties : $unknown
09205 {
09209 readonly attribute unsigned long minGuestRAM;
09210
09214 readonly attribute unsigned long maxGuestRAM;
09215
09219 readonly attribute unsigned long minGuestVRAM;
09220
09224 readonly attribute unsigned long maxGuestVRAM;
09225
09229 readonly attribute unsigned long minGuestCPUCount;
09230
09234 readonly attribute unsigned long maxGuestCPUCount;
09235
09239 readonly attribute unsigned long long maxVDISize;
09240
09247 readonly attribute unsigned long networkAdapterCount;
09248
09255 readonly attribute unsigned long serialPortCount;
09256
09263 readonly attribute unsigned long parallelPortCount;
09264
09274 readonly attribute unsigned long maxBootPosition;
09275
09308 attribute wstring defaultMachineFolder;
09309
09348 attribute wstring defaultHardDiskFolder;
09349
09375 readonly attribute IHardDiskFormat[] hardDiskFormats;
09376
09410 attribute wstring defaultHardDiskFormat;
09411
09435 attribute wstring remoteDisplayAuthLibrary;
09436
09465 attribute wstring webServiceAuthLibrary;
09466
09472 attribute unsigned long LogHistoryCount;
09473
09478 readonly attribute AudioDriverType defaultAudioDriver;
09479
09480 };
09481
09487 interface IGuestOSType : $unknown
09488 {
09492 readonly attribute wstring familyId;
09493
09497 readonly attribute wstring familyDescription;
09498
09502 readonly attribute wstring id;
09503
09507 readonly attribute wstring description;
09508
09512 readonly attribute boolean is64Bit;
09513
09517 readonly attribute boolean recommendedIOAPIC;
09518
09522 readonly attribute boolean recommendedVirtEx;
09523
09527 readonly attribute unsigned long recommendedRAM;
09528
09532 readonly attribute unsigned long recommendedVRAM;
09533
09537 readonly attribute unsigned long recommendedHDD;
09538
09542 readonly attribute NetworkAdapterType adapterType;
09543
09544 };
09545
09559 interface IGuest : $unknown
09560 {
09575 readonly attribute wstring OSTypeId;
09576
09584 readonly attribute boolean additionsActive;
09585
09595 readonly attribute wstring additionsVersion;
09596
09603 readonly attribute boolean supportsSeamless;
09604
09613 readonly attribute boolean supportsGraphics;
09614
09618 attribute unsigned long memoryBalloonSize;
09619
09623 attribute unsigned long statisticsUpdateInterval;
09624
09654 void setCredentials (
09655 in wstring userName,
09656 in wstring password,
09657 in wstring domain,
09658 in boolean allowInteractiveLogon
09659 );
09660
09672 void getStatistic (
09673 in unsigned long cpuId,
09674 in GuestStatisticType statistic,
09675 [retval] out unsigned long statVal
09676 );
09677
09678 };
09679
09720 interface IProgress : $unknown
09721 {
09725 readonly attribute wstring id;
09726
09730 readonly attribute wstring description;
09731
09735 readonly attribute $unknown initiator;
09736
09740 readonly attribute boolean cancelable;
09741
09749 readonly attribute unsigned long percent;
09750
09764 readonly attribute long timeRemaining;
09765
09769 readonly attribute boolean completed;
09770
09774 readonly attribute boolean canceled;
09775
09782 readonly attribute long resultCode;
09783
09793 readonly attribute IVirtualBoxErrorInfo errorInfo;
09794
09801 readonly attribute unsigned long operationCount;
09802
09806 readonly attribute unsigned long operation;
09807
09813 readonly attribute wstring operationDescription;
09814
09818 readonly attribute unsigned long operationPercent;
09819
09838 void waitForCompletion (
09839 in long timeout
09840 );
09841
09865 void waitForOperationCompletion (
09866 in unsigned long operation,
09867 in long timeout
09868 );
09869
09886 void cancel();
09887
09888 };
09889
10026 interface ISnapshot : $unknown
10027 {
10031 readonly attribute wstring id;
10032
10036 attribute wstring name;
10037
10041 attribute wstring description;
10042
10048 readonly attribute long long timeStamp;
10049
10064 readonly attribute boolean online;
10065
10077 readonly attribute IMachine machine;
10078
10090 readonly attribute ISnapshot parent;
10091
10103 readonly attribute ISnapshot[] children;
10104
10105 };
10106
10197 interface IMedium : $unknown
10198 {
10212 readonly attribute wstring id;
10213
10232 attribute wstring description;
10233
10262 readonly attribute MediaState state;
10263
10285 attribute wstring location;
10286
10306 readonly attribute wstring name;
10307
10320 readonly attribute unsigned long long size;
10321
10334 readonly attribute wstring lastAccessError;
10335
10352 readonly attribute wstring[] machineIds;
10353
10380 void getSnapshotIds (
10381 in wstring machineId,
10382 [retval] out wstring[] snapshotIds
10383 );
10384
10434 void lockRead (
10435 [retval] out MediaState state
10436 );
10437
10460 void unlockRead (
10461 [retval] out MediaState state
10462 );
10463
10512 void lockWrite (
10513 [retval] out MediaState state
10514 );
10515
10538 void unlockWrite (
10539 [retval] out MediaState state
10540 );
10541
10590 void close();
10591
10592 };
10593
10608 interface IHardDiskAttachment : $unknown
10609 {
10613 readonly attribute IHardDisk hardDisk;
10614
10618 readonly attribute wstring controller;
10619
10623 readonly attribute long port;
10624
10628 readonly attribute long device;
10629
10630 };
10631
10902 interface IHardDisk : IMedium
10903 {
10918 readonly attribute wstring format;
10919
10943 attribute HardDiskType type;
10944
10954 readonly attribute IHardDisk parent;
10955
10963 readonly attribute IHardDisk[] children;
10964
10975 readonly attribute IHardDisk root;
10976
11009 readonly attribute boolean readOnly;
11010
11031 readonly attribute unsigned long long logicalSize;
11032
11057 attribute boolean autoReset;
11058
11088 void getProperty (
11089 in wstring name,
11090 [retval] out wstring value
11091 );
11092
11124 void setProperty (
11125 in wstring name,
11126 in wstring value
11127 );
11128
11162 void getProperties (
11163 in wstring names,
11164 out wstring[] returnNames,
11165 [retval] out wstring[] returnValues
11166 );
11167
11199 void setProperties (
11200 in wstring[] names,
11201 in wstring[] values
11202 );
11203
11235 void createBaseStorage (
11236 in unsigned long long logicalSize,
11237 in HardDiskVariant variant,
11238 [retval] out IProgress progress
11239 );
11240
11292 void deleteStorage (
11293 [retval] out IProgress progress
11294 );
11295
11333 void createDiffStorage (
11334 in IHardDisk target,
11335 in HardDiskVariant variant,
11336 [retval] out IProgress progress
11337 );
11338
11414 void mergeTo (
11415 in wstring targetId,
11416 [retval] out IProgress progress
11417 );
11418
11467 void cloneTo (
11468 in IHardDisk target,
11469 in HardDiskVariant variant,
11470 in IHardDisk parent,
11471 [retval] out IProgress progress
11472 );
11473
11502 void compact (
11503 [retval] out IProgress progress
11504 );
11505
11537 void reset (
11538 [retval] out IProgress progress
11539 );
11540
11541 };
11542
11565 interface IHardDiskFormat : $unknown
11566 {
11585 readonly attribute wstring id;
11586
11594 readonly attribute wstring name;
11595
11611 readonly attribute wstring[] fileExtensions;
11612
11621 readonly attribute unsigned long capabilities;
11622
11652 void describeProperties (
11653 out wstring[] names,
11654 out wstring[] description,
11655 out DataType[] types,
11656 out unsigned long[] flags,
11657 out wstring[] defaults
11658 );
11659
11660 };
11661
11670 interface IFloppyImage : IMedium
11671 {
11672 };
11673
11684 interface IDVDImage : IMedium
11685 {
11686 };
11687
11697 interface IDVDDrive : $unknown
11698 {
11702 readonly attribute DriveState state;
11703
11712 attribute boolean passthrough;
11713
11740 void mountImage (
11741 in wstring imageId
11742 );
11743
11747 void captureHostDrive (
11748 in IHostDVDDrive drive
11749 );
11750
11754 void unmount();
11755
11759 void getImage (
11760 [retval] out IDVDImage image
11761 );
11762
11766 void getHostDrive (
11767 [retval] out IHostDVDDrive drive
11768 );
11769
11770 };
11771
11781 interface IFloppyDrive : $unknown
11782 {
11789 attribute boolean enabled;
11790
11794 readonly attribute DriveState state;
11795
11822 void mountImage (
11823 in wstring imageId
11824 );
11825
11829 void captureHostDrive (
11830 in IHostFloppyDrive drive
11831 );
11832
11836 void unmount();
11837
11841 void getImage (
11842 [retval] out IFloppyImage image
11843 );
11844
11848 void getHostDrive (
11849 [retval] out IHostFloppyDrive drive
11850 );
11851
11852 };
11853
11866 interface IKeyboard : $unknown
11867 {
11880 void putScancode (
11881 in long scancode
11882 );
11883
11896 void putScancodes (
11897 in long[] scancodes,
11898 [retval] out unsigned long codesStored
11899 );
11900
11915 void putCAD();
11916
11917 };
11918
11930 interface IMouse : $unknown
11931 {
11948 readonly attribute boolean absoluteSupported;
11949
12009 void putMouseEvent (
12010 in long dx,
12011 in long dy,
12012 in long dz,
12013 in long buttonState
12014 );
12015
12082 void putMouseEventAbsolute (
12083 in long x,
12084 in long y,
12085 in long dz,
12086 in long buttonState
12087 );
12088
12089 };
12090
12091 interface IFramebuffer : $unknown
12092 {
12101 readonly attribute octetPtr address;
12102
12106 readonly attribute unsigned long width;
12107
12111 readonly attribute unsigned long height;
12112
12119 readonly attribute unsigned long bitsPerPixel;
12120
12127 readonly attribute unsigned long bytesPerLine;
12128
12139 readonly attribute unsigned long pixelFormat;
12140
12147 readonly attribute boolean usesGuestVRAM;
12148
12158 readonly attribute unsigned long heightReduction;
12159
12174 readonly attribute IFramebufferOverlay overlay;
12175
12182 readonly attribute unsigned long long winId;
12183
12191 void lock();
12192
12200 void unlock();
12201
12209 void notifyUpdate (
12210 in unsigned long x,
12211 in unsigned long y,
12212 in unsigned long width,
12213 in unsigned long height
12214 );
12215
12328 void requestResize (
12329 in unsigned long screenId,
12330 in unsigned long pixelFormat,
12331 in octetPtr VRAM,
12332 in unsigned long bitsPerPixel,
12333 in unsigned long bytesPerLine,
12334 in unsigned long width,
12335 in unsigned long height,
12336 [retval] out boolean finished
12337 );
12338
12350 void videoModeSupported (
12351 in unsigned long width,
12352 in unsigned long height,
12353 in unsigned long bpp,
12354 [retval] out boolean supported
12355 );
12356
12393 void getVisibleRegion (
12394 in octetPtr rectangles,
12395 in unsigned long count,
12396 [retval] out unsigned long countCopied
12397 );
12398
12433 void setVisibleRegion (
12434 in octetPtr rectangles,
12435 in unsigned long count
12436 );
12437
12458 void processVHWACommand (
12459 in octetPtr command
12460 );
12461
12462 };
12463
12478 interface IFramebufferOverlay : IFramebuffer
12479 {
12483 readonly attribute unsigned long x;
12484
12488 readonly attribute unsigned long y;
12489
12495 attribute boolean visible;
12496
12503 attribute unsigned long alpha;
12504
12510 void move (
12511 in unsigned long x,
12512 in unsigned long y
12513 );
12514
12515 };
12516
12532 interface IDisplay : $unknown
12533 {
12537 readonly attribute unsigned long width;
12538
12542 readonly attribute unsigned long height;
12543
12550 readonly attribute unsigned long bitsPerPixel;
12551
12557 void setFramebuffer (
12558 in unsigned long screenId,
12559 in IFramebuffer framebuffer
12560 );
12561
12567 void getFramebuffer (
12568 in unsigned long screenId,
12569 out IFramebuffer framebuffer,
12570 out long xOrigin,
12571 out long yOrigin
12572 );
12573
12602 void setVideoModeHint (
12603 in unsigned long width,
12604 in unsigned long height,
12605 in unsigned long bitsPerPixel,
12606 in unsigned long display
12607 );
12608
12619 void setSeamlessMode (
12620 in boolean enabled
12621 );
12622
12655 void takeScreenShot (
12656 in octetPtr address,
12657 in unsigned long width,
12658 in unsigned long height
12659 );
12660
12698 void takeScreenShotSlow (
12699 in unsigned long width,
12700 in unsigned long height,
12701 [retval] out octet[] screenData
12702 );
12703
12731 void drawToScreen (
12732 in octetPtr address,
12733 in unsigned long x,
12734 in unsigned long y,
12735 in unsigned long width,
12736 in unsigned long height
12737 );
12738
12753 void invalidateAndUpdate();
12754
12768 void resizeCompleted (
12769 in unsigned long screenId
12770 );
12771
12785 void updateCompleted();
12786
12799 void completeVHWACommand (
12800 in octetPtr command
12801 );
12802
12803 };
12804
12820 interface INetworkAdapter : $unknown
12821 {
12829 attribute NetworkAdapterType adapterType;
12830
12838 readonly attribute unsigned long slot;
12839
12848 attribute boolean enabled;
12849
12856 attribute wstring MACAddress;
12857
12858 readonly attribute NetworkAttachmentType attachmentType;
12859
12865 attribute wstring hostInterface;
12866
12872 attribute wstring internalNetwork;
12873
12879 attribute wstring NATNetwork;
12880
12887 attribute boolean cableConnected;
12888
12894 attribute unsigned long lineSpeed;
12895
12902 attribute boolean traceEnabled;
12903
12910 attribute wstring traceFile;
12911
12917 void attachToNAT();
12918
12924 void attachToBridgedInterface();
12925
12931 void attachToInternalNetwork();
12932
12938 void attachToHostOnlyInterface();
12939
12945 void detach();
12946
12947 };
12948
12977 interface ISerialPort : $unknown
12978 {
12986 readonly attribute unsigned long slot;
12987
12994 attribute boolean enabled;
12995
12999 attribute unsigned long IOBase;
13000
13004 attribute unsigned long IRQ;
13005
13016 attribute PortMode hostMode;
13017
13025 attribute boolean server;
13026
13036 attribute wstring path;
13037
13038 };
13039
13059 interface IParallelPort : $unknown
13060 {
13068 readonly attribute unsigned long slot;
13069
13076 attribute boolean enabled;
13077
13081 attribute unsigned long IOBase;
13082
13086 attribute unsigned long IRQ;
13087
13095 attribute wstring path;
13096
13097 };
13098
13099 interface IMachineDebugger : $unknown
13100 {
13104 attribute boolean singlestep;
13105
13109 attribute boolean recompileUser;
13110
13114 attribute boolean recompileSupervisor;
13115
13119 attribute boolean PATMEnabled;
13120
13124 attribute boolean CSAMEnabled;
13125
13129 attribute boolean logEnabled;
13130
13137 readonly attribute boolean HWVirtExEnabled;
13138
13145 readonly attribute boolean HWVirtExNestedPagingEnabled;
13146
13153 readonly attribute boolean HWVirtExVPIDEnabled;
13154
13161 readonly attribute boolean PAEEnabled;
13162
13169 attribute unsigned long virtualTimeRate;
13170
13177 readonly attribute unsigned long long VM;
13178
13186 void resetStats (
13187 in wstring pattern
13188 );
13189
13197 void dumpStats (
13198 in wstring pattern
13199 );
13200
13212 void getStats (
13213 in wstring pattern,
13214 in boolean withDescriptions,
13215 out wstring stats
13216 );
13217
13223 void injectNMI();
13224
13225 };
13226
13227 interface IUSBController : $unknown
13228 {
13237 attribute boolean enabled;
13238
13247 attribute boolean enabledEhci;
13248
13256 readonly attribute unsigned short USBStandard;
13257
13283 readonly attribute IUSBDeviceFilter[] deviceFilters;
13284
13312 void createDeviceFilter (
13313 in wstring name,
13314 [retval] out IUSBDeviceFilter filter
13315 );
13316
13361 void insertDeviceFilter (
13362 in unsigned long position,
13363 in IUSBDeviceFilter filter
13364 );
13365
13398 void removeDeviceFilter (
13399 in unsigned long position,
13400 [retval] out IUSBDeviceFilter filter
13401 );
13402
13403 };
13404
13417 interface IUSBDevice : $unknown
13418 {
13425 readonly attribute wstring id;
13426
13430 readonly attribute unsigned short vendorId;
13431
13435 readonly attribute unsigned short productId;
13436
13444 readonly attribute unsigned short revision;
13445
13449 readonly attribute wstring manufacturer;
13450
13454 readonly attribute wstring product;
13455
13459 readonly attribute wstring serialNumber;
13460
13464 readonly attribute wstring address;
13465
13472 readonly attribute unsigned short port;
13473
13479 readonly attribute unsigned short version;
13480
13488 readonly attribute unsigned short portVersion;
13489
13496 readonly attribute boolean remote;
13497
13498 };
13499
13573 interface IUSBDeviceFilter : $unknown
13574 {
13582 attribute wstring name;
13583
13587 attribute boolean active;
13588
13596 attribute wstring vendorId;
13597
13605 attribute wstring productId;
13606
13620 attribute wstring revision;
13621
13626 attribute wstring manufacturer;
13627
13632 attribute wstring product;
13633
13638 attribute wstring serialNumber;
13639
13644 attribute wstring port;
13645
13655 attribute wstring remote;
13656
13666 attribute unsigned long maskedInterfaces;
13667
13668 };
13669
13685 interface IHostUSBDevice : IUSBDevice
13686 {
13692 readonly attribute USBDeviceState state;
13693
13694 };
13695
13718 interface IHostUSBDeviceFilter : IUSBDeviceFilter
13719 {
13726 attribute USBDeviceFilterAction action;
13727
13728 };
13729
13738 interface IAudioAdapter : $unknown
13739 {
13748 attribute boolean enabled;
13749
13755 attribute AudioControllerType audioController;
13756
13763 attribute AudioDriverType audioDriver;
13764
13765 };
13766
13767 interface IVRDPServer : $unknown
13768 {
13772 attribute boolean enabled;
13773
13787 attribute unsigned long port;
13788
13792 attribute wstring netAddress;
13793
13797 attribute VRDPAuthType authType;
13798
13802 attribute unsigned long authTimeout;
13803
13810 attribute boolean allowMultiConnection;
13811
13819 attribute boolean reuseSingleConnection;
13820
13821 };
13822
13880 interface ISharedFolder : $unknown
13881 {
13885 readonly attribute wstring name;
13886
13890 readonly attribute wstring hostPath;
13891
13901 readonly attribute boolean accessible;
13902
13909 readonly attribute boolean writable;
13910
13923 readonly attribute wstring lastAccessError;
13924
13925 };
13926
13927 interface IInternalSessionControl : $unknown
13928 {
13933 void getPID (
13934 [retval] out unsigned long pid
13935 );
13936
13958 void getRemoteConsole (
13959 [retval] out IConsole console
13960 );
13961
13985 void assignMachine (
13986 in IMachine machine
13987 );
13988
14003 void assignRemoteMachine (
14004 in IMachine machine,
14005 in IConsole console
14006 );
14007
14031 void updateMachineState (
14032 in MachineState aMachineState
14033 );
14034
14050 void uninitialize();
14051
14074 void onDVDDriveChange();
14075
14098 void onFloppyDriveChange();
14099
14122 void onNetworkAdapterChange (
14123 in INetworkAdapter networkAdapter
14124 );
14125
14148 void onSerialPortChange (
14149 in ISerialPort serialPort
14150 );
14151
14174 void onParallelPortChange (
14175 in IParallelPort parallelPort
14176 );
14177
14200 void onStorageControllerChange();
14201
14224 void onVRDPServerChange();
14225
14248 void onUSBControllerChange();
14249
14278 void onSharedFolderChange (
14279 in boolean global
14280 );
14281
14307 void onUSBDeviceAttach (
14308 in IUSBDevice device,
14309 in IVirtualBoxErrorInfo error,
14310 in unsigned long maskedInterfaces
14311 );
14312
14338 void onUSBDeviceDetach (
14339 in wstring id,
14340 in IVirtualBoxErrorInfo error
14341 );
14342
14360 void onShowWindow (
14361 in boolean check,
14362 out boolean canShow,
14363 out unsigned long long winId
14364 );
14365
14389 void accessGuestProperty (
14390 in wstring name,
14391 in wstring value,
14392 in wstring flags,
14393 in boolean isSetter,
14394 out wstring retValue,
14395 out unsigned long long retTimestamp,
14396 out wstring retFlags
14397 );
14398
14446 void enumerateGuestProperties (
14447 in wstring patterns,
14448 out wstring[] key,
14449 out wstring[] value,
14450 out unsigned long long[] timestamp,
14451 out wstring[] flags
14452 );
14453
14454 };
14455
14532 interface ISession : $dispatched
14533 {
14537 readonly attribute SessionState state;
14538
14546 readonly attribute SessionType type;
14547
14551 readonly attribute IMachine machine;
14552
14556 readonly attribute IConsole console;
14557
14598 void close();
14599
14600 };
14601
14618 interface IStorageController : $unknown
14619 {
14628 readonly attribute wstring name;
14629
14635 readonly attribute unsigned long maxDevicesPerPortCount;
14636
14642 readonly attribute unsigned long minPortCount;
14643
14649 readonly attribute unsigned long maxPortCount;
14650
14656 attribute unsigned long instance;
14657
14666 attribute unsigned long portCount;
14667
14673 readonly attribute StorageBus bus;
14674
14684 attribute StorageControllerType controllerType;
14685
14707 void GetIDEEmulationPort (
14708 in long devicePosition,
14709 [retval] out long portNumber
14710 );
14711
14734 void SetIDEEmulationPort (
14735 in long devicePosition,
14736 in long portNumber
14737 );
14738
14739 };
14740
14764 interface IManagedObjectRef : $unknown
14765 {
14772 void getInterfaceName (
14773 [retval] out wstring return
14774 );
14775
14783 void release();
14784
14785 };
14786
14795 interface IWebsessionManager : $unknown
14796 {
14805 void logon (
14806 in wstring username,
14807 in wstring password,
14808 [retval] out IVirtualBox return
14809 );
14810
14820 void getSessionObject (
14821 in IVirtualBox refIVirtualBox,
14822 [retval] out ISession return
14823 );
14824
14832 void logoff (
14833 in IVirtualBox refIVirtualBox
14834 );
14835
14836 };
14837
14846 interface IPerformanceMetric : $unknown
14847 {
14853 readonly attribute wstring metricName;
14854
14860 readonly attribute $unknown object;
14861
14867 readonly attribute wstring description;
14868
14874 readonly attribute unsigned long period;
14875
14885 readonly attribute unsigned long count;
14886
14892 readonly attribute wstring unit;
14893
14899 readonly attribute long minimumValue;
14900
14906 readonly attribute long maximumValue;
14907
14908 };
14909
15010 interface IPerformanceCollector : $unknown
15011 {
15022 readonly attribute wstring[] metricNames;
15023
15047 void getMetrics (
15048 in wstring[] metricNames,
15049 in $unknown[] objects,
15050 [retval] out IPerformanceMetric[] metrics
15051 );
15052
15091 void setupMetrics (
15092 in wstring[] metricNames,
15093 in $unknown[] objects,
15094 in unsigned long period,
15095 in unsigned long count,
15096 [retval] out IPerformanceMetric[] affectedMetrics
15097 );
15098
15127 void enableMetrics (
15128 in wstring[] metricNames,
15129 in $unknown[] objects,
15130 [retval] out IPerformanceMetric[] affectedMetrics
15131 );
15132
15161 void disableMetrics (
15162 in wstring[] metricNames,
15163 in $unknown[] objects,
15164 [retval] out IPerformanceMetric[] affectedMetrics
15165 );
15166
15255 void queryMetricsData (
15256 in wstring[] metricNames,
15257 in $unknown[] objects,
15258 out wstring[] returnMetricNames,
15259 out $unknown[] returnObjects,
15260 out wstring[] returnUnits,
15261 out unsigned long[] returnScales,
15262 out unsigned long[] returnSequenceNumbers,
15263 out unsigned long[] returnDataIndices,
15264 out unsigned long[] returnDataLengths,
15265 [retval] out long[] returnData
15266 );
15267
15268 };
15269
15270