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 TSBool
00227 {
00228 TSBool_False = 0,
00229 TSBool_True = 1,
00230 TSBool_Default = 2,
00231 };
00232
00240 enum AccessMode
00241 {
00242 AccessMode_ReadOnly = 1,
00243 AccessMode_ReadWrite = 2,
00244 };
00245
00363 enum MachineState
00364 {
00369 MachineState_Null = 0,
00376 MachineState_PoweredOff = 1,
00384 MachineState_Saved = 2,
00391 MachineState_Aborted = 3,
00398 MachineState_Running = 4,
00405 MachineState_Paused = 5,
00413 MachineState_Stuck = 6,
00421 MachineState_Starting = 7,
00429 MachineState_Stopping = 8,
00437 MachineState_Saving = 9,
00445 MachineState_Restoring = 10,
00452 MachineState_Discarding = 11,
00459 MachineState_SettingUp = 12,
00466 MachineState_FirstOnline = 4,
00473 MachineState_LastOnline = 10,
00480 MachineState_FirstTransient = 7,
00487 MachineState_LastTransient = 12,
00488 };
00489
00500 enum SessionState
00501 {
00506 SessionState_Null = 0,
00514 SessionState_Closed = 1,
00522 SessionState_Open = 2,
00534 SessionState_Spawning = 3,
00542 SessionState_Closing = 4,
00543 };
00544
00553 enum SessionType
00554 {
00559 SessionType_Null = 0,
00567 SessionType_Direct = 1,
00575 SessionType_Remote = 2,
00583 SessionType_Existing = 3,
00584 };
00585
00593 enum DeviceType
00594 {
00602 DeviceType_Null = 0,
00607 DeviceType_Floppy = 1,
00612 DeviceType_DVD = 2,
00617 DeviceType_HardDisk = 3,
00622 DeviceType_Network = 4,
00627 DeviceType_USB = 5,
00632 DeviceType_SharedFolder = 6,
00633 };
00634
00642 enum DeviceActivity
00643 {
00644 DeviceActivity_Null = 0,
00645 DeviceActivity_Idle = 1,
00646 DeviceActivity_Reading = 2,
00647 DeviceActivity_Writing = 3,
00648 };
00649
00657 enum ClipboardMode
00658 {
00659 ClipboardMode_Disabled = 0,
00660 ClipboardMode_HostToGuest = 1,
00661 ClipboardMode_GuestToHost = 2,
00662 ClipboardMode_Bidirectional = 3,
00663 };
00664
00675 enum Scope
00676 {
00677 Scope_Global = 0,
00678 Scope_Machine = 1,
00679 Scope_Session = 2,
00680 };
00681
00689 enum GuestStatisticType
00690 {
00697 GuestStatisticType_CPULoad_Idle = 0,
00704 GuestStatisticType_CPULoad_Kernel = 1,
00711 GuestStatisticType_CPULoad_User = 2,
00718 GuestStatisticType_Threads = 3,
00725 GuestStatisticType_Processes = 4,
00732 GuestStatisticType_Handles = 5,
00739 GuestStatisticType_MemoryLoad = 6,
00746 GuestStatisticType_PhysMemTotal = 7,
00753 GuestStatisticType_PhysMemAvailable = 8,
00760 GuestStatisticType_PhysMemBalloon = 9,
00767 GuestStatisticType_MemCommitTotal = 10,
00774 GuestStatisticType_MemKernelTotal = 11,
00781 GuestStatisticType_MemKernelPaged = 12,
00788 GuestStatisticType_MemKernelNonpaged = 13,
00795 GuestStatisticType_MemSystemCache = 14,
00802 GuestStatisticType_PageFileSize = 15,
00809 GuestStatisticType_SampleNumber = 16,
00810 GuestStatisticType_MaxVal = 17,
00811 };
00812
00820 enum BIOSBootMenuMode
00821 {
00822 BIOSBootMenuMode_Disabled = 0,
00823 BIOSBootMenuMode_MenuOnly = 1,
00824 BIOSBootMenuMode_MessageAndMenu = 2,
00825 };
00826
00827 enum DriveState
00828 {
00833 DriveState_Null = 0,
00834 DriveState_NotMounted = 1,
00835 DriveState_ImageMounted = 2,
00836 DriveState_HostDriveCaptured = 3,
00837 };
00838
00846 enum ProcessorFeature
00847 {
00848 ProcessorFeature_HWVirtEx = 0,
00849 ProcessorFeature_PAE = 1,
00850 ProcessorFeature_LongMode = 2,
00851 };
00852
00860 enum CIMOSType
00861 {
00862 CIMOSType_CIMOS_Unknown = 0,
00863 CIMOSType_CIMOS_Other = 1,
00864 CIMOSType_CIMOS_MACOS = 2,
00865 CIMOSType_CIMOS_ATTUNIX = 3,
00866 CIMOSType_CIMOS_DGUX = 4,
00867 CIMOSType_CIMOS_DECNT = 5,
00868 CIMOSType_CIMOS_Tru64UNIX = 6,
00869 CIMOSType_CIMOS_OpenVMS = 7,
00870 CIMOSType_CIMOS_HPUX = 8,
00871 CIMOSType_CIMOS_AIX = 9,
00872 CIMOSType_CIMOS_MVS = 10,
00873 CIMOSType_CIMOS_OS400 = 11,
00874 CIMOSType_CIMOS_OS2 = 12,
00875 CIMOSType_CIMOS_JavaVM = 13,
00876 CIMOSType_CIMOS_MSDOS = 14,
00877 CIMOSType_CIMOS_WIN3x = 15,
00878 CIMOSType_CIMOS_WIN95 = 16,
00879 CIMOSType_CIMOS_WIN98 = 17,
00880 CIMOSType_CIMOS_WINNT = 18,
00881 CIMOSType_CIMOS_WINCE = 19,
00882 CIMOSType_CIMOS_NCR3000 = 20,
00883 CIMOSType_CIMOS_NetWare = 21,
00884 CIMOSType_CIMOS_OSF = 22,
00885 CIMOSType_CIMOS_DCOS = 23,
00886 CIMOSType_CIMOS_ReliantUNIX = 24,
00887 CIMOSType_CIMOS_SCOUnixWare = 25,
00888 CIMOSType_CIMOS_SCOOpenServer = 26,
00889 CIMOSType_CIMOS_Sequent = 27,
00890 CIMOSType_CIMOS_IRIX = 28,
00891 CIMOSType_CIMOS_Solaris = 29,
00892 CIMOSType_CIMOS_SunOS = 30,
00893 CIMOSType_CIMOS_U6000 = 31,
00894 CIMOSType_CIMOS_ASERIES = 32,
00895 CIMOSType_CIMOS_HPNonStopOS = 33,
00896 CIMOSType_CIMOS_HPNonStopOSS = 34,
00897 CIMOSType_CIMOS_BS2000 = 35,
00898 CIMOSType_CIMOS_LINUX = 36,
00899 CIMOSType_CIMOS_Lynx = 37,
00900 CIMOSType_CIMOS_XENIX = 38,
00901 CIMOSType_CIMOS_VM = 39,
00902 CIMOSType_CIMOS_InteractiveUNIX = 40,
00903 CIMOSType_CIMOS_BSDUNIX = 41,
00904 CIMOSType_CIMOS_FreeBSD = 42,
00905 CIMOSType_CIMOS_NetBSD = 43,
00906 CIMOSType_CIMOS_GNUHurd = 44,
00907 CIMOSType_CIMOS_OS9 = 45,
00908 CIMOSType_CIMOS_MACHKernel = 46,
00909 CIMOSType_CIMOS_Inferno = 47,
00910 CIMOSType_CIMOS_QNX = 48,
00911 CIMOSType_CIMOS_EPOC = 49,
00912 CIMOSType_CIMOS_IxWorks = 50,
00913 CIMOSType_CIMOS_VxWorks = 51,
00914 CIMOSType_CIMOS_MiNT = 52,
00915 CIMOSType_CIMOS_BeOS = 53,
00916 CIMOSType_CIMOS_HPMPE = 54,
00917 CIMOSType_CIMOS_NextStep = 55,
00918 CIMOSType_CIMOS_PalmPilot = 56,
00919 CIMOSType_CIMOS_Rhapsody = 57,
00920 CIMOSType_CIMOS_Windows2000 = 58,
00921 CIMOSType_CIMOS_Dedicated = 59,
00922 CIMOSType_CIMOS_OS390 = 60,
00923 CIMOSType_CIMOS_VSE = 61,
00924 CIMOSType_CIMOS_TPF = 62,
00925 CIMOSType_CIMOS_WindowsMe = 63,
00926 CIMOSType_CIMOS_CalderaOpenUNIX = 64,
00927 CIMOSType_CIMOS_OpenBSD = 65,
00928 CIMOSType_CIMOS_NotApplicable = 66,
00929 CIMOSType_CIMOS_WindowsXP = 67,
00930 CIMOSType_CIMOS_zOS = 68,
00931 CIMOSType_CIMOS_MicrosoftWindowsServer2003 = 69,
00932 CIMOSType_CIMOS_MicrosoftWindowsServer2003_64 = 70,
00933 CIMOSType_CIMOS_WindowsXP_64 = 71,
00934 CIMOSType_CIMOS_WindowsXPEmbedded = 72,
00935 CIMOSType_CIMOS_WindowsVista = 73,
00936 CIMOSType_CIMOS_WindowsVista_64 = 74,
00937 CIMOSType_CIMOS_WindowsEmbeddedforPointofService = 75,
00938 CIMOSType_CIMOS_MicrosoftWindowsServer2008 = 76,
00939 CIMOSType_CIMOS_MicrosoftWindowsServer2008_64 = 77,
00940 CIMOSType_CIMOS_FreeBSD_64 = 78,
00941 CIMOSType_CIMOS_RedHatEnterpriseLinux = 79,
00942 CIMOSType_CIMOS_RedHatEnterpriseLinux_64 = 80,
00943 CIMOSType_CIMOS_Solaris_64 = 81,
00944 CIMOSType_CIMOS_SUSE = 82,
00945 CIMOSType_CIMOS_SUSE_64 = 83,
00946 CIMOSType_CIMOS_SLES = 84,
00947 CIMOSType_CIMOS_SLES_64 = 85,
00948 CIMOSType_CIMOS_NovellOES = 86,
00949 CIMOSType_CIMOS_NovellLinuxDesktop = 87,
00950 CIMOSType_CIMOS_SunJavaDesktopSystem = 88,
00951 CIMOSType_CIMOS_Mandriva = 89,
00952 CIMOSType_CIMOS_Mandriva_64 = 90,
00953 CIMOSType_CIMOS_TurboLinux = 91,
00954 CIMOSType_CIMOS_TurboLinux_64 = 92,
00955 CIMOSType_CIMOS_Ubuntu = 93,
00956 CIMOSType_CIMOS_Ubuntu_64 = 94,
00957 CIMOSType_CIMOS_Debian = 95,
00958 CIMOSType_CIMOS_Debian_64 = 96,
00959 CIMOSType_CIMOS_Linux_2_4_x = 97,
00960 CIMOSType_CIMOS_Linux_2_4_x_64 = 98,
00961 CIMOSType_CIMOS_Linux_2_6_x = 99,
00962 CIMOSType_CIMOS_Linux_2_6_x_64 = 100,
00963 CIMOSType_CIMOS_Linux_64 = 101,
00964 CIMOSType_CIMOS_Other_64 = 102,
00965 };
00966
00975 enum OVFResourceType
00976 {
00977 OVFResourceType_Other = 1,
00978 OVFResourceType_ComputerSystem = 2,
00979 OVFResourceType_Processor = 3,
00980 OVFResourceType_Memory = 4,
00981 OVFResourceType_IDEController = 5,
00982 OVFResourceType_ParallelSCSIHBA = 6,
00983 OVFResourceType_FCHBA = 7,
00984 OVFResourceType_iSCSIHBA = 8,
00985 OVFResourceType_IBHCA = 9,
00986 OVFResourceType_EthernetAdapter = 10,
00987 OVFResourceType_OtherNetworkAdapter = 11,
00988 OVFResourceType_IOSlot = 12,
00989 OVFResourceType_IODevice = 13,
00990 OVFResourceType_FloppyDrive = 14,
00991 OVFResourceType_CDDrive = 15,
00992 OVFResourceType_DVDDrive = 16,
00993 OVFResourceType_HardDisk = 17,
00994 OVFResourceType_OtherStorageDevice = 20,
00995 OVFResourceType_USBController = 23,
00996 OVFResourceType_SoundCard = 35,
00997 };
00998
01005 enum VirtualSystemDescriptionType
01006 {
01007 VirtualSystemDescriptionType_Ignore = 1,
01008 VirtualSystemDescriptionType_OS = 2,
01009 VirtualSystemDescriptionType_Name = 3,
01010 VirtualSystemDescriptionType_Product = 4,
01011 VirtualSystemDescriptionType_Vendor = 5,
01012 VirtualSystemDescriptionType_Version = 6,
01013 VirtualSystemDescriptionType_ProductUrl = 7,
01014 VirtualSystemDescriptionType_VendorUrl = 8,
01015 VirtualSystemDescriptionType_Description = 9,
01016 VirtualSystemDescriptionType_License = 10,
01017 VirtualSystemDescriptionType_Miscellaneous = 11,
01018 VirtualSystemDescriptionType_CPU = 12,
01019 VirtualSystemDescriptionType_Memory = 13,
01020 VirtualSystemDescriptionType_HardDiskControllerIDE = 14,
01021 VirtualSystemDescriptionType_HardDiskControllerSATA = 15,
01022 VirtualSystemDescriptionType_HardDiskControllerSCSI = 16,
01023 VirtualSystemDescriptionType_HardDiskImage = 17,
01024 VirtualSystemDescriptionType_Floppy = 18,
01025 VirtualSystemDescriptionType_CDROM = 19,
01026 VirtualSystemDescriptionType_NetworkAdapter = 20,
01027 VirtualSystemDescriptionType_USBController = 21,
01028 VirtualSystemDescriptionType_SoundCard = 22,
01029 };
01030
01037 enum VirtualSystemDescriptionValueType
01038 {
01039 VirtualSystemDescriptionValueType_Reference = 1,
01040 VirtualSystemDescriptionValueType_Original = 2,
01041 VirtualSystemDescriptionValueType_Auto = 3,
01042 VirtualSystemDescriptionValueType_ExtraConfig = 4,
01043 };
01044
01055 enum HostNetworkInterfaceMediumType
01056 {
01063 HostNetworkInterfaceMediumType_Unknown = 0,
01070 HostNetworkInterfaceMediumType_Ethernet = 1,
01077 HostNetworkInterfaceMediumType_PPP = 2,
01084 HostNetworkInterfaceMediumType_SLIP = 3,
01085 };
01086
01096 enum HostNetworkInterfaceStatus
01097 {
01104 HostNetworkInterfaceStatus_Unknown = 0,
01111 HostNetworkInterfaceStatus_Up = 1,
01118 HostNetworkInterfaceStatus_Down = 2,
01119 };
01120
01128 enum HostNetworkInterfaceType
01129 {
01130 HostNetworkInterfaceType_Bridged = 1,
01131 HostNetworkInterfaceType_HostOnly = 2,
01132 };
01133
01143 enum MediaState
01144 {
01152 MediaState_NotCreated = 0,
01159 MediaState_Created = 1,
01166 MediaState_LockedRead = 2,
01174 MediaState_LockedWrite = 3,
01181 MediaState_Inaccessible = 4,
01188 MediaState_Creating = 5,
01195 MediaState_Deleting = 6,
01196 };
01197
01207 enum HardDiskType
01208 {
01216 HardDiskType_Normal = 0,
01224 HardDiskType_Immutable = 1,
01232 HardDiskType_Writethrough = 2,
01233 };
01234
01244 enum HardDiskVariant
01245 {
01252 HardDiskVariant_Standard = 0,
01259 HardDiskVariant_VmdkSplit2G = 0x01,
01267 HardDiskVariant_VmdkStreamOptimized = 0x04,
01274 HardDiskVariant_VmdkESX = 0x08,
01281 HardDiskVariant_Fixed = 0x10000,
01288 HardDiskVariant_Diff = 0x20000,
01289 };
01290
01291 enum DataType
01292 {
01293 DataType_Int32 = 0,
01294 DataType_Int8 = 1,
01295 DataType_String = 2,
01296 };
01297
01298 enum DataFlags
01299 {
01300 DataFlags_None = 0x00,
01301 DataFlags_Mandatory = 0x01,
01302 DataFlags_Expert = 0x02,
01303 DataFlags_Array = 0x04,
01304 DataFlags_FlagMask = 0x07,
01305 };
01306
01314 enum HardDiskFormatCapabilities
01315 {
01322 HardDiskFormatCapabilities_Uuid = 0x01,
01329 HardDiskFormatCapabilities_CreateFixed = 0x02,
01337 HardDiskFormatCapabilities_CreateDynamic = 0x04,
01344 HardDiskFormatCapabilities_CreateSplit2G = 0x08,
01351 HardDiskFormatCapabilities_Differencing = 0x10,
01358 HardDiskFormatCapabilities_Asynchronous = 0x20,
01368 HardDiskFormatCapabilities_File = 0x40,
01378 HardDiskFormatCapabilities_Properties = 0x80,
01379 HardDiskFormatCapabilities_CapabilityMask = 0xFF,
01380 };
01381
01389 enum MouseButtonState
01390 {
01391 MouseButtonState_LeftButton = 0x01,
01392 MouseButtonState_RightButton = 0x02,
01393 MouseButtonState_MiddleButton = 0x04,
01394 MouseButtonState_WheelUp = 0x08,
01395 MouseButtonState_WheelDown = 0x10,
01396 MouseButtonState_MouseStateMask = 0x1F,
01397 };
01398
01406 enum FramebufferAccelerationOperation
01407 {
01408 FramebufferAccelerationOperation_SolidFillAcceleration = 1,
01409 FramebufferAccelerationOperation_ScreenCopyAcceleration = 2,
01410 };
01411
01422 enum FramebufferPixelFormat
01423 {
01431 FramebufferPixelFormat_Opaque = 0,
01439 FramebufferPixelFormat_FOURCC_RGB = 0x32424752,
01440 };
01441
01449 enum NetworkAttachmentType
01450 {
01455 NetworkAttachmentType_Null = 0,
01456 NetworkAttachmentType_NAT = 1,
01457 NetworkAttachmentType_Bridged = 2,
01458 NetworkAttachmentType_Internal = 3,
01459 NetworkAttachmentType_HostOnly = 4,
01460 };
01461
01469 enum NetworkAdapterType
01470 {
01475 NetworkAdapterType_Null = 0,
01480 NetworkAdapterType_Am79C970A = 1,
01485 NetworkAdapterType_Am79C973 = 2,
01490 NetworkAdapterType_I82540EM = 3,
01495 NetworkAdapterType_I82543GC = 4,
01500 NetworkAdapterType_I82545EM = 5,
01501 };
01502
01511 enum PortMode
01512 {
01517 PortMode_Disconnected = 0,
01522 PortMode_HostPipe = 1,
01527 PortMode_HostDevice = 2,
01528 };
01529
01568 enum USBDeviceState
01569 {
01576 USBDeviceState_NotSupported = 0,
01584 USBDeviceState_Unavailable = 1,
01591 USBDeviceState_Busy = 2,
01599 USBDeviceState_Available = 3,
01607 USBDeviceState_Held = 4,
01615 USBDeviceState_Captured = 5,
01616 };
01617
01627 enum USBDeviceFilterAction
01628 {
01633 USBDeviceFilterAction_Null = 0,
01638 USBDeviceFilterAction_Ignore = 1,
01643 USBDeviceFilterAction_Hold = 2,
01644 };
01645
01653 enum AudioDriverType
01654 {
01659 AudioDriverType_Null = 0,
01660 AudioDriverType_WinMM = 1,
01661 AudioDriverType_OSS = 2,
01662 AudioDriverType_ALSA = 3,
01663 AudioDriverType_DirectSound = 4,
01664 AudioDriverType_CoreAudio = 5,
01665 AudioDriverType_MMPM = 6,
01666 AudioDriverType_Pulse = 7,
01667 AudioDriverType_SolAudio = 8,
01668 };
01669
01677 enum AudioControllerType
01678 {
01679 AudioControllerType_AC97 = 0,
01680 AudioControllerType_SB16 = 1,
01681 };
01682
01690 enum VRDPAuthType
01691 {
01696 VRDPAuthType_Null = 0,
01697 VRDPAuthType_External = 1,
01698 VRDPAuthType_Guest = 2,
01699 };
01700
01708 enum StorageBus
01709 {
01714 StorageBus_Null = 0,
01715 StorageBus_IDE = 1,
01716 StorageBus_SATA = 2,
01717 StorageBus_SCSI = 3,
01718 };
01719
01727 enum StorageControllerType
01728 {
01733 StorageControllerType_Null = 0,
01734 StorageControllerType_LsiLogic = 1,
01735 StorageControllerType_BusLogic = 2,
01736 StorageControllerType_IntelAhci = 3,
01737 StorageControllerType_PIIX3 = 4,
01738 StorageControllerType_PIIX4 = 5,
01739 StorageControllerType_ICH6 = 6,
01740 };
01741
01774 interface IVirtualBoxErrorInfo : $errorinfo
01775 {
01792 readonly attribute result resultCode;
01793
01804 readonly attribute uuid interfaceID;
01805
01816 readonly attribute wstring component;
01817
01828 readonly attribute wstring text;
01829
01840 readonly attribute IVirtualBoxErrorInfo next;
01841
01842 };
01843
01844 interface IVirtualBoxCallback : $unknown
01845 {
01857 void onMachineStateChange (
01858 in uuid machineId,
01859 in MachineState state
01860 );
01861
01869 void onMachineDataChange (
01870 in uuid machineId
01871 );
01872
01903 void onExtraDataCanChange (
01904 in uuid machineId,
01905 in wstring key,
01906 in wstring value,
01907 out wstring error,
01908 [retval] out boolean allowChange
01909 );
01910
01930 void onExtraDataChange (
01931 in uuid machineId,
01932 in wstring key,
01933 in wstring value
01934 );
01935
01973 void onMediaRegistered (
01974 in uuid mediaId,
01975 in DeviceType mediaType,
01976 in boolean registered
01977 );
01978
01992 void onMachineRegistered (
01993 in uuid machineId,
01994 in boolean registered
01995 );
01996
02008 void onSessionStateChange (
02009 in uuid machineId,
02010 in SessionState state
02011 );
02012
02024 void onSnapshotTaken (
02025 in uuid machineId,
02026 in uuid snapshotId
02027 );
02028
02051 void onSnapshotDiscarded (
02052 in uuid machineId,
02053 in uuid snapshotId
02054 );
02055
02067 void onSnapshotChange (
02068 in uuid machineId,
02069 in uuid snapshotId
02070 );
02071
02093 void onGuestPropertyChange (
02094 in uuid machineId,
02095 in wstring name,
02096 in wstring value,
02097 in wstring flags
02098 );
02099
02100 };
02101
02112 interface IDHCPServer : $unknown
02113 {
02119 attribute boolean enabled;
02120
02126 readonly attribute wstring IPAddress;
02127
02133 readonly attribute wstring networkMask;
02134
02140 readonly attribute wstring networkName;
02141
02147 readonly attribute wstring lowerIP;
02148
02154 readonly attribute wstring upperIP;
02155
02184 void setConfiguration (
02185 in wstring IPAddress,
02186 in wstring networkMask,
02187 in wstring FromIPAddress,
02188 in wstring ToIPAddress
02189 );
02190
02215 void start (
02216 in wstring networkName,
02217 in wstring trunkName,
02218 in wstring trunkType
02219 );
02220
02233 void stop();
02234
02235 };
02236
02255 interface IVirtualBox : $dispatched
02256 {
02264 readonly attribute wstring version;
02265
02271 readonly attribute unsigned long revision;
02272
02282 readonly attribute wstring packageType;
02283
02299 readonly attribute wstring homeFolder;
02300
02308 readonly attribute wstring settingsFilePath;
02309
02347 readonly attribute wstring settingsFileVersion;
02348
02368 readonly attribute wstring settingsFormatVersion;
02369
02373 readonly attribute IHost host;
02374
02378 readonly attribute ISystemProperties systemProperties;
02379
02385 readonly attribute IMachine[] machines;
02386
02396 readonly attribute IHardDisk[] hardDisks;
02397
02403 readonly attribute IDVDImage[] DVDImages;
02404
02410 readonly attribute IFloppyImage[] floppyImages;
02411
02412 readonly attribute IProgress[] progressOperations;
02413
02414 readonly attribute IGuestOSType[] guestOSTypes;
02415
02432 readonly attribute ISharedFolder[] sharedFolders;
02433
02439 readonly attribute IPerformanceCollector performanceCollector;
02440
02446 readonly attribute IDHCPServer[] DHCPServers;
02447
02549 void createMachine (
02550 in wstring name,
02551 in wstring osTypeId,
02552 in wstring baseFolder,
02553 in uuid id,
02554 [retval] out IMachine machine
02555 );
02556
02620 void createLegacyMachine (
02621 in wstring name,
02622 in wstring osTypeId,
02623 in wstring settingsFile,
02624 in uuid id,
02625 [retval] out IMachine machine
02626 );
02627
02655 void openMachine (
02656 in wstring settingsFile,
02657 [retval] out IMachine machine
02658 );
02659
02692 void registerMachine (
02693 in IMachine machine
02694 );
02695
02711 void getMachine (
02712 in uuid id,
02713 [retval] out IMachine machine
02714 );
02715
02731 void findMachine (
02732 in wstring name,
02733 [retval] out IMachine machine
02734 );
02735
02790 void unregisterMachine (
02791 in uuid id,
02792 [retval] out IMachine machine
02793 );
02794
02804 void createAppliance (
02805 [retval] out IAppliance appliance
02806 );
02807
02879 void createHardDisk (
02880 in wstring format,
02881 in wstring location,
02882 [retval] out IHardDisk hardDisk
02883 );
02884
02952 void openHardDisk (
02953 in wstring location,
02954 in AccessMode accessMode,
02955 [retval] out IHardDisk hardDisk
02956 );
02957
02979 void getHardDisk (
02980 in uuid id,
02981 [retval] out IHardDisk hardDisk
02982 );
02983
03018 void findHardDisk (
03019 in wstring location,
03020 [retval] out IHardDisk hardDisk
03021 );
03022
03072 void openDVDImage (
03073 in wstring location,
03074 in uuid id,
03075 [retval] out IDVDImage image
03076 );
03077
03098 void getDVDImage (
03099 in uuid id,
03100 [retval] out IDVDImage image
03101 );
03102
03141 void findDVDImage (
03142 in wstring location,
03143 [retval] out IDVDImage image
03144 );
03145
03195 void openFloppyImage (
03196 in wstring location,
03197 in uuid id,
03198 [retval] out IFloppyImage image
03199 );
03200
03221 void getFloppyImage (
03222 in uuid id,
03223 [retval] out IFloppyImage image
03224 );
03225
03264 void findFloppyImage (
03265 in wstring location,
03266 [retval] out IFloppyImage image
03267 );
03268
03297 void getGuestOSType (
03298 in wstring id,
03299 [retval] out IGuestOSType type
03300 );
03301
03321 void createSharedFolder (
03322 in wstring name,
03323 in wstring hostPath,
03324 in boolean writable
03325 );
03326
03341 void removeSharedFolder (
03342 in wstring name
03343 );
03344
03370 void getNextExtraDataKey (
03371 in wstring key,
03372 out wstring nextKey,
03373 out wstring nextValue
03374 );
03375
03404 void getExtraData (
03405 in wstring key,
03406 [retval] out wstring value
03407 );
03408
03458 void setExtraData (
03459 in wstring key,
03460 in wstring value
03461 );
03462
03559 void openSession (
03560 in ISession session,
03561 in uuid machineId
03562 );
03563
03684 void openRemoteSession (
03685 in ISession session,
03686 in uuid machineId,
03687 in wstring type,
03688 in wstring environment,
03689 [retval] out IProgress progress
03690 );
03691
03761 void openExistingSession (
03762 in ISession session,
03763 in uuid machineId
03764 );
03765
03783 void registerCallback (
03784 in IVirtualBoxCallback callback
03785 );
03786
03802 void unregisterCallback (
03803 in IVirtualBoxCallback callback
03804 );
03805
03893 void waitForPropertyChange (
03894 in wstring what,
03895 in unsigned long timeout,
03896 out wstring changed,
03897 out wstring values
03898 );
03899
03928 void saveSettings();
03929
03996 void saveSettingsWithBackup (
03997 [retval] out wstring bakFileName
03998 );
03999
04016 void createDHCPServer (
04017 in wstring name,
04018 [retval] out IDHCPServer server
04019 );
04020
04037 void findDHCPServerByNetworkName (
04038 in wstring name,
04039 [retval] out IDHCPServer server
04040 );
04041
04056 void removeDHCPServer (
04057 in IDHCPServer server
04058 );
04059
04060 };
04061
04126 interface IAppliance : $unknown
04127 {
04135 readonly attribute wstring path;
04136
04167 readonly attribute wstring[] disks;
04168
04176 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04177
04192 void read (
04193 in wstring file
04194 );
04195
04212 void interpret();
04213
04231 void importMachines (
04232 [retval] out IProgress aProgress
04233 );
04234
04259 void write (
04260 in wstring format,
04261 in wstring path,
04262 [retval] out IProgress aProgress
04263 );
04264
04270 void getWarnings (
04271 [retval] out wstring[] aWarnings
04272 );
04273
04274 };
04275
04286 interface IVirtualSystemDescription : $unknown
04287 {
04291 readonly attribute unsigned long count;
04292
04401 void getDescription (
04402 out VirtualSystemDescriptionType[] aTypes,
04403 out wstring[] aRefs,
04404 out wstring[] aOvfValues,
04405 out wstring[] aVboxValues,
04406 out wstring[] aExtraConfigValues
04407 );
04408
04425 void getDescriptionByType (
04426 in VirtualSystemDescriptionType aType,
04427 out VirtualSystemDescriptionType[] aTypes,
04428 out wstring[] aRefs,
04429 out wstring[] aOvfValues,
04430 out wstring[] aVboxValues,
04431 out wstring[] aExtraConfigValues
04432 );
04433
04445 void getValuesByType (
04446 in VirtualSystemDescriptionType aType,
04447 in VirtualSystemDescriptionValueType aWhich,
04448 [retval] out wstring[] aValues
04449 );
04450
04476 void setFinalValues (
04477 in boolean[] aEnabled,
04478 in wstring[] aVboxValues,
04479 in wstring[] aExtraConfigValues
04480 );
04481
04496 void addDescription (
04497 in VirtualSystemDescriptionType aType,
04498 in wstring aVboxValue,
04499 in wstring aExtraConfigValue
04500 );
04501
04502 };
04503
04504 interface IInternalMachineControl : $unknown
04505 {
04517 void updateState (
04518 in MachineState state
04519 );
04520
04521 void getIPCId (
04522 [retval] out wstring id
04523 );
04524
04538 void runUSBDeviceFilters (
04539 in IUSBDevice device,
04540 out boolean matched,
04541 out unsigned long maskedInterfaces
04542 );
04543
04552 void captureUSBDevice (
04553 in uuid id
04554 );
04555
04571 void detachUSBDevice (
04572 in uuid id,
04573 in boolean done
04574 );
04575
04584 void autoCaptureUSBDevices();
04585
04601 void detachAllUSBDevices (
04602 in boolean done
04603 );
04604
04619 void onSessionEnd (
04620 in ISession session,
04621 [retval] out IProgress progress
04622 );
04623
04639 void beginSavingState (
04640 in IProgress progress,
04641 out wstring stateFilePath
04642 );
04643
04671 void endSavingState (
04672 in boolean success
04673 );
04674
04689 void adoptSavedState (
04690 in wstring savedStateFile
04691 );
04692
04735 void beginTakingSnapshot (
04736 in IConsole initiator,
04737 in wstring name,
04738 in wstring description,
04739 in IProgress progress,
04740 out wstring stateFilePath,
04741 out IProgress serverProgress
04742 );
04743
04753 void endTakingSnapshot (
04754 in boolean success
04755 );
04756
04777 void discardSnapshot (
04778 in IConsole initiator,
04779 in uuid id,
04780 out MachineState machineState,
04781 [retval] out IProgress progress
04782 );
04783
04802 void discardCurrentState (
04803 in IConsole initiator,
04804 out MachineState machineState,
04805 [retval] out IProgress progress
04806 );
04807
04826 void discardCurrentSnapshotAndState (
04827 in IConsole initiator,
04828 out MachineState machineState,
04829 [retval] out IProgress progress
04830 );
04831
04858 void pullGuestProperties (
04859 out wstring[] name,
04860 out wstring[] value,
04861 out unsigned long long[] timestamp,
04862 out wstring[] flags
04863 );
04864
04891 void pushGuestProperties (
04892 in wstring[] name,
04893 in wstring[] value,
04894 in unsigned long long[] timestamp,
04895 in wstring[] flags
04896 );
04897
04919 void pushGuestProperty (
04920 in wstring name,
04921 in wstring value,
04922 in unsigned long long timestamp,
04923 in wstring flags
04924 );
04925
04937 void lockMedia();
04938
04939 };
04940
04949 interface IBIOSSettings : $unknown
04950 {
04954 attribute boolean logoFadeIn;
04955
04959 attribute boolean logoFadeOut;
04960
04964 attribute unsigned long logoDisplayTime;
04965
04969 attribute wstring logoImagePath;
04970
04974 attribute BIOSBootMenuMode bootMenuMode;
04975
04979 attribute boolean ACPIEnabled;
04980
04987 attribute boolean IOAPICEnabled;
04988
04998 attribute long long timeOffset;
04999
05006 attribute boolean PXEDebugEnabled;
05007
05008 };
05009
05052 interface IMachine : $unknown
05053 {
05057 readonly attribute IVirtualBox parent;
05058
05117 readonly attribute boolean accessible;
05118
05130 readonly attribute IVirtualBoxErrorInfo accessError;
05131
05177 attribute wstring name;
05178
05189 attribute wstring description;
05190
05194 readonly attribute uuid id;
05195
05210 attribute wstring OSTypeId;
05211
05215 attribute wstring HardwareVersion;
05216
05220 attribute unsigned long CPUCount;
05221
05225 attribute unsigned long memorySize;
05226
05230 attribute unsigned long memoryBalloonSize;
05231
05235 attribute unsigned long statisticsUpdateInterval;
05236
05240 attribute unsigned long VRAMSize;
05241
05248 attribute boolean accelerate3DEnabled;
05249
05260 attribute unsigned long monitorCount;
05261
05265 readonly attribute IBIOSSettings BIOSSettings;
05266
05275 attribute TSBool HWVirtExEnabled;
05276
05284 attribute boolean HWVirtExNestedPagingEnabled;
05285
05293 attribute boolean HWVirtExVPIDEnabled;
05294
05302 attribute boolean PAEEnabled;
05303
05337 attribute wstring snapshotFolder;
05338
05342 readonly attribute IVRDPServer VRDPServer;
05343
05347 readonly attribute IHardDiskAttachment[] hardDiskAttachments;
05348
05352 readonly attribute IDVDDrive DVDDrive;
05353
05357 readonly attribute IFloppyDrive floppyDrive;
05358
05370 readonly attribute IUSBController USBController;
05371
05375 readonly attribute IAudioAdapter audioAdapter;
05376
05380 readonly attribute IStorageController[] storageControllers;
05381
05387 readonly attribute wstring settingsFilePath;
05388
05426 readonly attribute wstring settingsFileVersion;
05427
05452 readonly attribute boolean settingsModified;
05453
05457 readonly attribute SessionState sessionState;
05458
05471 readonly attribute wstring sessionType;
05472
05484 readonly attribute unsigned long sessionPid;
05485
05489 readonly attribute MachineState state;
05490
05497 readonly attribute long long lastStateChange;
05498
05510 readonly attribute wstring stateFilePath;
05511
05521 readonly attribute wstring logFolder;
05522
05535 readonly attribute ISnapshot currentSnapshot;
05536
05543 readonly attribute unsigned long snapshotCount;
05544
05578 readonly attribute boolean currentStateModified;
05579
05591 readonly attribute ISharedFolder[] sharedFolders;
05592
05599 attribute ClipboardMode clipboardMode;
05600
05608 attribute wstring guestPropertyNotificationPatterns;
05609
05647 void setBootOrder (
05648 in unsigned long position,
05649 in DeviceType device
05650 );
05651
05686 void getBootOrder (
05687 in unsigned long position,
05688 [retval] out DeviceType device
05689 );
05690
05773 void attachHardDisk (
05774 in uuid id,
05775 in wstring name,
05776 in long controllerPort,
05777 in long device
05778 );
05779
05808 void getHardDisk (
05809 in wstring name,
05810 in long controllerPort,
05811 in long device,
05812 [retval] out IHardDisk hardDisk
05813 );
05814
05868 void detachHardDisk (
05869 in wstring name,
05870 in long controllerPort,
05871 in long device
05872 );
05873
05888 void getHardDiskAttachmentsOfController (
05889 in wstring name,
05890 [retval] out IHardDiskAttachment[] hardDiskAttachments
05891 );
05892
05910 void getNetworkAdapter (
05911 in unsigned long slot,
05912 [retval] out INetworkAdapter adapter
05913 );
05914
05946 void addStorageController (
05947 in wstring name,
05948 in StorageBus connectionType,
05949 [retval] out IStorageController controller
05950 );
05951
05965 void getStorageControllerByName (
05966 in wstring name,
05967 [retval] out IStorageController storageController
05968 );
05969
05983 void removeStorageController (
05984 in wstring name
05985 );
05986
06004 void getSerialPort (
06005 in unsigned long slot,
06006 [retval] out ISerialPort port
06007 );
06008
06026 void getParallelPort (
06027 in unsigned long slot,
06028 [retval] out IParallelPort port
06029 );
06030
06057 void getNextExtraDataKey (
06058 in wstring key,
06059 out wstring nextKey,
06060 out wstring nextValue
06061 );
06062
06091 void getExtraData (
06092 in wstring key,
06093 [retval] out wstring value
06094 );
06095
06145 void setExtraData (
06146 in wstring key,
06147 in wstring value
06148 );
06149
06195 void saveSettings();
06196
06268 void saveSettingsWithBackup (
06269 [retval] out wstring bakFileName
06270 );
06271
06295 void discardSettings();
06296
06338 void deleteSettings();
06339
06349 void export (
06350 in IAppliance aAppliance,
06351 [retval] out IVirtualSystemDescription aDescription
06352 );
06353
06374 void getSnapshot (
06375 in uuid id,
06376 [retval] out ISnapshot snapshot
06377 );
06378
06396 void findSnapshot (
06397 in wstring name,
06398 [retval] out ISnapshot snapshot
06399 );
06400
06413 void setCurrentSnapshot (
06414 in uuid id
06415 );
06416
06447 void createSharedFolder (
06448 in wstring name,
06449 in wstring hostPath,
06450 in boolean writable
06451 );
06452
06478 void removeSharedFolder (
06479 in wstring name
06480 );
06481
06506 void canShowConsoleWindow (
06507 [retval] out boolean canShow
06508 );
06509
06544 void showConsoleWindow (
06545 [retval] out unsigned long long winId
06546 );
06547
06580 void getGuestProperty (
06581 in wstring name,
06582 out wstring value,
06583 out unsigned long long timestamp,
06584 out wstring flags
06585 );
06586
06609 void getGuestPropertyValue (
06610 in wstring property,
06611 [retval] out wstring value
06612 );
06613
06636 void getGuestPropertyTimestamp (
06637 in wstring property,
06638 [retval] out unsigned long long value
06639 );
06640
06691 void setGuestProperty (
06692 in wstring property,
06693 in wstring value,
06694 in wstring flags
06695 );
06696
06737 void setGuestPropertyValue (
06738 in wstring property,
06739 in wstring value
06740 );
06741
06772 void enumerateGuestProperties (
06773 in wstring patterns,
06774 out wstring[] name,
06775 out wstring[] value,
06776 out unsigned long long[] timestamp,
06777 out wstring[] flags
06778 );
06779
06780 };
06781
06782 interface IConsoleCallback : $unknown
06783 {
06850 void onMousePointerShapeChange (
06851 in boolean visible,
06852 in boolean alpha,
06853 in unsigned long xHot,
06854 in unsigned long yHot,
06855 in unsigned long width,
06856 in unsigned long height,
06857 in octetPtr shape
06858 );
06859
06866 void onMouseCapabilityChange (
06867 in boolean supportsAbsolute,
06868 in boolean needsHostCursor
06869 );
06870
06877 void onKeyboardLedsChange (
06878 in boolean numLock,
06879 in boolean capsLock,
06880 in boolean scrollLock
06881 );
06882
06889 void onStateChange (
06890 in MachineState state
06891 );
06892
06900 void onAdditionsStateChange();
06901
06910 void onDVDDriveChange();
06911
06920 void onFloppyDriveChange();
06921
06932 void onNetworkAdapterChange (
06933 in INetworkAdapter networkAdapter
06934 );
06935
06946 void onSerialPortChange (
06947 in ISerialPort serialPort
06948 );
06949
06960 void onParallelPortChange (
06961 in IParallelPort parallelPort
06962 );
06963
06972 void onStorageControllerChange();
06973
06982 void onVRDPServerChange();
06983
06992 void onUSBControllerChange();
06993
07026 void onUSBDeviceStateChange (
07027 in IUSBDevice device,
07028 in boolean attached,
07029 in IVirtualBoxErrorInfo error
07030 );
07031
07047 void onSharedFolderChange (
07048 in Scope scope
07049 );
07050
07114 void onRuntimeError (
07115 in boolean fatal,
07116 in wstring id,
07117 in wstring message
07118 );
07119
07148 void onCanShowWindow (
07149 [retval] out boolean canShow
07150 );
07151
07198 void onShowWindow (
07199 [retval] out unsigned long long winId
07200 );
07201
07202 };
07203
07212 interface IRemoteDisplayInfo : $unknown
07213 {
07219 readonly attribute boolean active;
07220
07226 readonly attribute unsigned long numberOfClients;
07227
07233 readonly attribute long long beginTime;
07234
07241 readonly attribute long long endTime;
07242
07248 readonly attribute unsigned long long bytesSent;
07249
07255 readonly attribute unsigned long long bytesSentTotal;
07256
07262 readonly attribute unsigned long long bytesReceived;
07263
07269 readonly attribute unsigned long long bytesReceivedTotal;
07270
07276 readonly attribute wstring user;
07277
07283 readonly attribute wstring domain;
07284
07290 readonly attribute wstring clientName;
07291
07297 readonly attribute wstring clientIP;
07298
07304 readonly attribute unsigned long clientVersion;
07305
07313 readonly attribute unsigned long encryptionStyle;
07314
07315 };
07316
07339 interface IConsole : $unknown
07340 {
07352 readonly attribute IMachine machine;
07353
07367 readonly attribute MachineState state;
07368
07372 readonly attribute IGuest guest;
07373
07384 readonly attribute IKeyboard keyboard;
07385
07396 readonly attribute IMouse mouse;
07397
07407 readonly attribute IDisplay display;
07408
07412 readonly attribute IMachineDebugger debugger;
07413
07424 readonly attribute IUSBDevice[] USBDevices;
07425
07433 readonly attribute IHostUSBDevice[] remoteUSBDevices;
07434
07450 readonly attribute ISharedFolder[] sharedFolders;
07451
07457 readonly attribute IRemoteDisplayInfo remoteDisplayInfo;
07458
07512 void powerUp (
07513 [retval] out IProgress progress
07514 );
07515
07549 void powerUpPaused (
07550 [retval] out IProgress progress
07551 );
07552
07579 void powerDown();
07580
07605 void powerDownAsync (
07606 [retval] out IProgress progress
07607 );
07608
07628 void reset();
07629
07649 void pause();
07650
07670 void resume();
07671
07691 void powerButton();
07692
07712 void sleepButton();
07713
07725 void getPowerButtonHandled (
07726 [retval] out boolean handled
07727 );
07728
07742 void getGuestEnteredACPIMode (
07743 [retval] out boolean entered
07744 );
07745
07798 void saveState (
07799 [retval] out IProgress progress
07800 );
07801
07834 void adoptSavedState (
07835 in wstring savedStateFile
07836 );
07837
07857 void discardSavedState();
07858
07871 void getDeviceActivity (
07872 in DeviceType type,
07873 [retval] out DeviceActivity activity
07874 );
07875
07912 void attachUSBDevice (
07913 in uuid id
07914 );
07915
07949 void detachUSBDevice (
07950 in uuid id,
07951 [retval] out IUSBDevice device
07952 );
07953
07976 void findUSBDeviceByAddress (
07977 in wstring name,
07978 [retval] out IUSBDevice device
07979 );
07980
08000 void findUSBDeviceById (
08001 in uuid id,
08002 [retval] out IUSBDevice device
08003 );
08004
08035 void createSharedFolder (
08036 in wstring name,
08037 in wstring hostPath,
08038 in boolean writable
08039 );
08040
08065 void removeSharedFolder (
08066 in wstring name
08067 );
08068
08106 void takeSnapshot (
08107 in wstring name,
08108 in wstring description,
08109 [retval] out IProgress progress
08110 );
08111
08210 void discardSnapshot (
08211 in uuid id,
08212 [retval] out IProgress progress
08213 );
08214
08252 void discardCurrentState (
08253 [retval] out IProgress progress
08254 );
08255
08310 void discardCurrentSnapshotAndState (
08311 [retval] out IProgress progress
08312 );
08313
08321 void registerCallback (
08322 in IConsoleCallback callback
08323 );
08324
08338 void unregisterCallback (
08339 in IConsoleCallback callback
08340 );
08341
08342 };
08343
08352 interface IHostDVDDrive : $unknown
08353 {
08361 readonly attribute wstring name;
08362
08370 readonly attribute wstring description;
08371
08380 readonly attribute wstring udi;
08381
08382 };
08383
08392 interface IHostFloppyDrive : $unknown
08393 {
08401 readonly attribute wstring name;
08402
08410 readonly attribute wstring description;
08411
08420 readonly attribute wstring udi;
08421
08422 };
08423
08434 interface IHostNetworkInterface : $unknown
08435 {
08439 readonly attribute wstring name;
08440
08444 readonly attribute uuid id;
08445
08449 readonly attribute wstring networkName;
08450
08454 readonly attribute boolean dhcpEnabled;
08455
08459 readonly attribute wstring IPAddress;
08460
08464 readonly attribute wstring networkMask;
08465
08469 readonly attribute boolean IPV6Supported;
08470
08474 readonly attribute wstring IPV6Address;
08475
08479 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
08480
08484 readonly attribute wstring hardwareAddress;
08485
08489 readonly attribute HostNetworkInterfaceMediumType mediumType;
08490
08494 readonly attribute HostNetworkInterfaceStatus status;
08495
08499 readonly attribute HostNetworkInterfaceType interfaceType;
08500
08512 void enableStaticIpConfig (
08513 in wstring IPAddress,
08514 in wstring networkMask
08515 );
08516
08528 void enableStaticIpConfigV6 (
08529 in wstring IPV6Address,
08530 in unsigned long IPV6NetworkMaskPrefixLength
08531 );
08532
08536 void enableDynamicIpConfig();
08537
08541 void dhcpRediscover();
08542
08543 };
08544
08561 interface IHost : $unknown
08562 {
08566 readonly attribute IHostDVDDrive[] DVDDrives;
08567
08571 readonly attribute IHostFloppyDrive[] floppyDrives;
08572
08586 readonly attribute IHostUSBDevice[] USBDevices;
08587
08610 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
08611
08615 readonly attribute IHostNetworkInterface[] networkInterfaces;
08616
08620 readonly attribute unsigned long processorCount;
08621
08625 readonly attribute unsigned long processorOnlineCount;
08626
08630 readonly attribute unsigned long memorySize;
08631
08635 readonly attribute unsigned long memoryAvailable;
08636
08640 readonly attribute wstring operatingSystem;
08641
08645 readonly attribute wstring OSVersion;
08646
08650 readonly attribute long long UTCTime;
08651
08666 void getProcessorSpeed (
08667 in unsigned long cpuId,
08668 [retval] out unsigned long speed
08669 );
08670
08682 void getProcessorFeature (
08683 in ProcessorFeature feature,
08684 [retval] out boolean supported
08685 );
08686
08705 void getProcessorDescription (
08706 in unsigned long cpuId,
08707 [retval] out wstring description
08708 );
08709
08730 void createUSBDeviceFilter (
08731 in wstring name,
08732 [retval] out IHostUSBDeviceFilter filter
08733 );
08734
08777 void insertUSBDeviceFilter (
08778 in unsigned long position,
08779 in IHostUSBDeviceFilter filter
08780 );
08781
08811 void removeUSBDeviceFilter (
08812 in unsigned long position,
08813 [retval] out IHostUSBDeviceFilter filter
08814 );
08815
08833 void findHostDVDDrive (
08834 in wstring name,
08835 [retval] out IHostDVDDrive drive
08836 );
08837
08855 void findHostFloppyDrive (
08856 in wstring name,
08857 [retval] out IHostFloppyDrive drive
08858 );
08859
08875 void findHostNetworkInterfaceByName (
08876 in wstring name,
08877 [retval] out IHostNetworkInterface networkInterface
08878 );
08879
08895 void findHostNetworkInterfaceById (
08896 in uuid id,
08897 [retval] out IHostNetworkInterface networkInterface
08898 );
08899
08909 void findHostNetworkInterfacesOfType (
08910 in HostNetworkInterfaceType type,
08911 [retval] out IHostNetworkInterface[] networkInterfaces
08912 );
08913
08933 void findUSBDeviceById (
08934 in uuid id,
08935 [retval] out IHostUSBDevice device
08936 );
08937
08960 void findUSBDeviceByAddress (
08961 in wstring name,
08962 [retval] out IHostUSBDevice device
08963 );
08964
08985 void createHostOnlyNetworkInterface (
08986 out IHostNetworkInterface hostInterface,
08987 [retval] out IProgress progress
08988 );
08989
09014 void removeHostOnlyNetworkInterface (
09015 in uuid id,
09016 out IHostNetworkInterface hostInterface,
09017 [retval] out IProgress progress
09018 );
09019
09020 };
09021
09034 interface ISystemProperties : $unknown
09035 {
09039 readonly attribute unsigned long minGuestRAM;
09040
09044 readonly attribute unsigned long maxGuestRAM;
09045
09049 readonly attribute unsigned long minGuestVRAM;
09050
09054 readonly attribute unsigned long maxGuestVRAM;
09055
09059 readonly attribute unsigned long minGuestCPUCount;
09060
09064 readonly attribute unsigned long maxGuestCPUCount;
09065
09069 readonly attribute unsigned long long maxVDISize;
09070
09077 readonly attribute unsigned long networkAdapterCount;
09078
09085 readonly attribute unsigned long serialPortCount;
09086
09093 readonly attribute unsigned long parallelPortCount;
09094
09104 readonly attribute unsigned long maxBootPosition;
09105
09138 attribute wstring defaultMachineFolder;
09139
09178 attribute wstring defaultHardDiskFolder;
09179
09205 readonly attribute IHardDiskFormat[] hardDiskFormats;
09206
09240 attribute wstring defaultHardDiskFormat;
09241
09265 attribute wstring remoteDisplayAuthLibrary;
09266
09290 attribute wstring webServiceAuthLibrary;
09291
09301 attribute boolean HWVirtExEnabled;
09302
09308 attribute unsigned long LogHistoryCount;
09309
09310 };
09311
09317 interface IGuestOSType : $unknown
09318 {
09322 readonly attribute wstring familyId;
09323
09327 readonly attribute wstring familyDescription;
09328
09332 readonly attribute wstring id;
09333
09337 readonly attribute wstring description;
09338
09342 readonly attribute boolean is64Bit;
09343
09347 readonly attribute boolean recommendedIOAPIC;
09348
09352 readonly attribute boolean recommendedVirtEx;
09353
09357 readonly attribute unsigned long recommendedRAM;
09358
09362 readonly attribute unsigned long recommendedVRAM;
09363
09367 readonly attribute unsigned long recommendedHDD;
09368
09372 readonly attribute NetworkAdapterType adapterType;
09373
09374 };
09375
09389 interface IGuest : $unknown
09390 {
09405 readonly attribute wstring OSTypeId;
09406
09414 readonly attribute boolean additionsActive;
09415
09425 readonly attribute wstring additionsVersion;
09426
09433 readonly attribute boolean supportsSeamless;
09434
09443 readonly attribute boolean supportsGraphics;
09444
09448 attribute unsigned long memoryBalloonSize;
09449
09453 attribute unsigned long statisticsUpdateInterval;
09454
09484 void setCredentials (
09485 in wstring userName,
09486 in wstring password,
09487 in wstring domain,
09488 in boolean allowInteractiveLogon
09489 );
09490
09502 void getStatistic (
09503 in unsigned long cpuId,
09504 in GuestStatisticType statistic,
09505 out unsigned long statVal
09506 );
09507
09508 };
09509
09550 interface IProgress : $unknown
09551 {
09555 readonly attribute uuid id;
09556
09560 readonly attribute wstring description;
09561
09565 readonly attribute $unknown initiator;
09566
09570 readonly attribute boolean cancelable;
09571
09579 readonly attribute unsigned long percent;
09580
09594 readonly attribute long timeRemaining;
09595
09599 readonly attribute boolean completed;
09600
09604 readonly attribute boolean canceled;
09605
09612 readonly attribute result resultCode;
09613
09623 readonly attribute IVirtualBoxErrorInfo errorInfo;
09624
09631 readonly attribute unsigned long operationCount;
09632
09636 readonly attribute unsigned long operation;
09637
09643 readonly attribute wstring operationDescription;
09644
09648 readonly attribute unsigned long operationPercent;
09649
09668 void waitForCompletion (
09669 in long timeout
09670 );
09671
09695 void waitForOperationCompletion (
09696 in unsigned long operation,
09697 in long timeout
09698 );
09699
09717 void cancel();
09718
09719 };
09720
09857 interface ISnapshot : $unknown
09858 {
09862 readonly attribute uuid id;
09863
09867 attribute wstring name;
09868
09872 attribute wstring description;
09873
09879 readonly attribute long long timeStamp;
09880
09895 readonly attribute boolean online;
09896
09908 readonly attribute IMachine machine;
09909
09921 readonly attribute ISnapshot parent;
09922
09934 readonly attribute ISnapshot[] children;
09935
09936 };
09937
10028 interface IMedium : $unknown
10029 {
10043 readonly attribute uuid id;
10044
10063 attribute wstring description;
10064
10093 readonly attribute MediaState state;
10094
10116 attribute wstring location;
10117
10137 readonly attribute wstring name;
10138
10151 readonly attribute unsigned long long size;
10152
10165 readonly attribute wstring lastAccessError;
10166
10183 readonly attribute uuid[] machineIds;
10184
10211 void getSnapshotIds (
10212 in uuid machineId,
10213 [retval] out uuid[] snapshotIds
10214 );
10215
10263 void lockRead (
10264 [retval] out MediaState state
10265 );
10266
10289 void unlockRead (
10290 [retval] out MediaState state
10291 );
10292
10340 void lockWrite (
10341 [retval] out MediaState state
10342 );
10343
10366 void unlockWrite (
10367 [retval] out MediaState state
10368 );
10369
10418 void close();
10419
10420 };
10421
10436 interface IHardDiskAttachment : $unknown
10437 {
10441 readonly attribute IHardDisk hardDisk;
10442
10446 readonly attribute wstring controller;
10447
10451 readonly attribute long port;
10452
10456 readonly attribute long device;
10457
10458 };
10459
10736 interface IHardDisk : IMedium
10737 {
10752 readonly attribute wstring format;
10753
10777 attribute HardDiskType type;
10778
10788 readonly attribute IHardDisk parent;
10789
10797 readonly attribute IHardDisk[] children;
10798
10809 readonly attribute IHardDisk root;
10810
10844 readonly attribute boolean readOnly;
10845
10866 readonly attribute unsigned long long logicalSize;
10867
10892 attribute boolean autoReset;
10893
10923 void getProperty (
10924 in wstring name,
10925 [retval] out wstring value
10926 );
10927
10958 void setProperty (
10959 in wstring name,
10960 in wstring value
10961 );
10962
10996 void getProperties (
10997 in wstring names,
10998 out wstring[] returnNames,
10999 [retval] out wstring[] returnValues
11000 );
11001
11032 void setProperties (
11033 in wstring[] names,
11034 in wstring[] values
11035 );
11036
11068 void createBaseStorage (
11069 in unsigned long long logicalSize,
11070 in HardDiskVariant variant,
11071 [retval] out IProgress progress
11072 );
11073
11125 void deleteStorage (
11126 [retval] out IProgress progress
11127 );
11128
11166 void createDiffStorage (
11167 in IHardDisk target,
11168 in HardDiskVariant variant,
11169 [retval] out IProgress progress
11170 );
11171
11247 void mergeTo (
11248 in uuid targetId,
11249 [retval] out IProgress progress
11250 );
11251
11289 void cloneTo (
11290 in IHardDisk target,
11291 in HardDiskVariant variant,
11292 in IHardDisk parent,
11293 [retval] out IProgress progress
11294 );
11295
11311 void compact (
11312 [retval] out IProgress progress
11313 );
11314
11346 void reset (
11347 [retval] out IProgress progress
11348 );
11349
11350 };
11351
11374 interface IHardDiskFormat : $unknown
11375 {
11394 readonly attribute wstring id;
11395
11403 readonly attribute wstring name;
11404
11420 readonly attribute wstring[] fileExtensions;
11421
11430 readonly attribute unsigned long capabilities;
11431
11461 void describeProperties (
11462 out wstring[] names,
11463 out wstring[] description,
11464 out DataType[] types,
11465 out unsigned long[] flags,
11466 out wstring[] defaults
11467 );
11468
11469 };
11470
11479 interface IFloppyImage : IMedium
11480 {
11481 };
11482
11493 interface IDVDImage : IMedium
11494 {
11495 };
11496
11506 interface IDVDDrive : $unknown
11507 {
11511 readonly attribute DriveState state;
11512
11521 attribute boolean passthrough;
11522
11549 void mountImage (
11550 in uuid imageId
11551 );
11552
11556 void captureHostDrive (
11557 in IHostDVDDrive drive
11558 );
11559
11563 void unmount();
11564
11568 void getImage (
11569 [retval] out IDVDImage image
11570 );
11571
11575 void getHostDrive (
11576 [retval] out IHostDVDDrive drive
11577 );
11578
11579 };
11580
11590 interface IFloppyDrive : $unknown
11591 {
11598 attribute boolean enabled;
11599
11603 readonly attribute DriveState state;
11604
11631 void mountImage (
11632 in uuid imageId
11633 );
11634
11638 void captureHostDrive (
11639 in IHostFloppyDrive drive
11640 );
11641
11645 void unmount();
11646
11650 void getImage (
11651 [retval] out IFloppyImage image
11652 );
11653
11657 void getHostDrive (
11658 [retval] out IHostFloppyDrive drive
11659 );
11660
11661 };
11662
11675 interface IKeyboard : $unknown
11676 {
11689 void putScancode (
11690 in long scancode
11691 );
11692
11705 void putScancodes (
11706 in long[] scancodes,
11707 [retval] out unsigned long codesStored
11708 );
11709
11724 void putCAD();
11725
11726 };
11727
11739 interface IMouse : $unknown
11740 {
11757 readonly attribute boolean absoluteSupported;
11758
11818 void putMouseEvent (
11819 in long dx,
11820 in long dy,
11821 in long dz,
11822 in long buttonState
11823 );
11824
11891 void putMouseEventAbsolute (
11892 in long x,
11893 in long y,
11894 in long dz,
11895 in long buttonState
11896 );
11897
11898 };
11899
11900 interface IFramebuffer : $unknown
11901 {
11910 readonly attribute octetPtr address;
11911
11915 readonly attribute unsigned long width;
11916
11920 readonly attribute unsigned long height;
11921
11928 readonly attribute unsigned long bitsPerPixel;
11929
11936 readonly attribute unsigned long bytesPerLine;
11937
11948 readonly attribute unsigned long pixelFormat;
11949
11956 readonly attribute boolean usesGuestVRAM;
11957
11967 readonly attribute unsigned long heightReduction;
11968
11983 readonly attribute IFramebufferOverlay overlay;
11984
11991 readonly attribute unsigned long long winId;
11992
12000 void lock();
12001
12009 void unlock();
12010
12018 void notifyUpdate (
12019 in unsigned long x,
12020 in unsigned long y,
12021 in unsigned long width,
12022 in unsigned long height,
12023 [retval] out boolean finished
12024 );
12025
12138 void requestResize (
12139 in unsigned long screenId,
12140 in unsigned long pixelFormat,
12141 in octetPtr VRAM,
12142 in unsigned long bitsPerPixel,
12143 in unsigned long bytesPerLine,
12144 in unsigned long width,
12145 in unsigned long height,
12146 [retval] out boolean finished
12147 );
12148
12162 void operationSupported (
12163 in FramebufferAccelerationOperation operation,
12164 [retval] out boolean supported
12165 );
12166
12178 void videoModeSupported (
12179 in unsigned long width,
12180 in unsigned long height,
12181 in unsigned long bpp,
12182 [retval] out boolean supported
12183 );
12184
12190 void solidFill (
12191 in unsigned long x,
12192 in unsigned long y,
12193 in unsigned long width,
12194 in unsigned long height,
12195 in unsigned long color,
12196 [retval] out boolean handled
12197 );
12198
12204 void copyScreenBits (
12205 in unsigned long xDst,
12206 in unsigned long yDst,
12207 in unsigned long xSrc,
12208 in unsigned long ySrc,
12209 in unsigned long width,
12210 in unsigned long height,
12211 [retval] out boolean handled
12212 );
12213
12250 void getVisibleRegion (
12251 in octetPtr rectangles,
12252 in unsigned long count,
12253 [retval] out unsigned long countCopied
12254 );
12255
12290 void setVisibleRegion (
12291 in octetPtr rectangles,
12292 in unsigned long count
12293 );
12294
12295 };
12296
12311 interface IFramebufferOverlay : IFramebuffer
12312 {
12316 readonly attribute unsigned long x;
12317
12321 readonly attribute unsigned long y;
12322
12328 attribute boolean visible;
12329
12336 attribute unsigned long alpha;
12337
12343 void move (
12344 in unsigned long x,
12345 in unsigned long y
12346 );
12347
12348 };
12349
12365 interface IDisplay : $unknown
12366 {
12370 readonly attribute unsigned long width;
12371
12375 readonly attribute unsigned long height;
12376
12383 readonly attribute unsigned long bitsPerPixel;
12384
12390 void setupInternalFramebuffer (
12391 in unsigned long depth
12392 );
12393
12412 void lockFramebuffer (
12413 [retval] out octetPtr address
12414 );
12415
12429 void unlockFramebuffer();
12430
12436 void registerExternalFramebuffer (
12437 in IFramebuffer framebuffer
12438 );
12439
12445 void setFramebuffer (
12446 in unsigned long screenId,
12447 in IFramebuffer framebuffer
12448 );
12449
12455 void getFramebuffer (
12456 in unsigned long screenId,
12457 out IFramebuffer framebuffer,
12458 out long xOrigin,
12459 out long yOrigin
12460 );
12461
12490 void setVideoModeHint (
12491 in unsigned long width,
12492 in unsigned long height,
12493 in unsigned long bitsPerPixel,
12494 in unsigned long display
12495 );
12496
12507 void setSeamlessMode (
12508 in boolean enabled
12509 );
12510
12538 void takeScreenShot (
12539 in octetPtr address,
12540 in unsigned long width,
12541 in unsigned long height
12542 );
12543
12571 void drawToScreen (
12572 in octetPtr address,
12573 in unsigned long x,
12574 in unsigned long y,
12575 in unsigned long width,
12576 in unsigned long height
12577 );
12578
12593 void invalidateAndUpdate();
12594
12608 void resizeCompleted (
12609 in unsigned long screenId
12610 );
12611
12625 void updateCompleted();
12626
12627 };
12628
12644 interface INetworkAdapter : $unknown
12645 {
12653 attribute NetworkAdapterType adapterType;
12654
12662 readonly attribute unsigned long slot;
12663
12672 attribute boolean enabled;
12673
12680 attribute wstring MACAddress;
12681
12682 readonly attribute NetworkAttachmentType attachmentType;
12683
12689 attribute wstring hostInterface;
12690
12696 attribute wstring internalNetwork;
12697
12703 attribute wstring NATNetwork;
12704
12711 attribute boolean cableConnected;
12712
12718 attribute unsigned long lineSpeed;
12719
12726 attribute boolean traceEnabled;
12727
12734 attribute wstring traceFile;
12735
12741 void attachToNAT();
12742
12748 void attachToBridgedInterface();
12749
12755 void attachToInternalNetwork();
12756
12762 void attachToHostOnlyInterface();
12763
12769 void detach();
12770
12771 };
12772
12801 interface ISerialPort : $unknown
12802 {
12810 readonly attribute unsigned long slot;
12811
12818 attribute boolean enabled;
12819
12823 attribute unsigned long IOBase;
12824
12828 attribute unsigned long IRQ;
12829
12840 attribute PortMode hostMode;
12841
12849 attribute boolean server;
12850
12860 attribute wstring path;
12861
12862 };
12863
12883 interface IParallelPort : $unknown
12884 {
12892 readonly attribute unsigned long slot;
12893
12900 attribute boolean enabled;
12901
12905 attribute unsigned long IOBase;
12906
12910 attribute unsigned long IRQ;
12911
12919 attribute wstring path;
12920
12921 };
12922
12923 interface IMachineDebugger : $unknown
12924 {
12928 attribute boolean singlestep;
12929
12933 attribute boolean recompileUser;
12934
12938 attribute boolean recompileSupervisor;
12939
12943 attribute boolean PATMEnabled;
12944
12948 attribute boolean CSAMEnabled;
12949
12953 attribute boolean logEnabled;
12954
12961 readonly attribute boolean HWVirtExEnabled;
12962
12969 readonly attribute boolean HWVirtExNestedPagingEnabled;
12970
12977 readonly attribute boolean HWVirtExVPIDEnabled;
12978
12985 readonly attribute boolean PAEEnabled;
12986
12993 attribute unsigned long virtualTimeRate;
12994
13001 readonly attribute unsigned long long VM;
13002
13010 void resetStats (
13011 in wstring pattern
13012 );
13013
13021 void dumpStats (
13022 in wstring pattern
13023 );
13024
13036 void getStats (
13037 in wstring pattern,
13038 in boolean withDescriptions,
13039 out wstring stats
13040 );
13041
13047 void injectNMI();
13048
13049 };
13050
13051 interface IUSBController : $unknown
13052 {
13061 attribute boolean enabled;
13062
13071 attribute boolean enabledEhci;
13072
13080 readonly attribute unsigned short USBStandard;
13081
13107 readonly attribute IUSBDeviceFilter[] deviceFilters;
13108
13136 void createDeviceFilter (
13137 in wstring name,
13138 [retval] out IUSBDeviceFilter filter
13139 );
13140
13185 void insertDeviceFilter (
13186 in unsigned long position,
13187 in IUSBDeviceFilter filter
13188 );
13189
13222 void removeDeviceFilter (
13223 in unsigned long position,
13224 [retval] out IUSBDeviceFilter filter
13225 );
13226
13227 };
13228
13241 interface IUSBDevice : $unknown
13242 {
13249 readonly attribute uuid id;
13250
13254 readonly attribute unsigned short vendorId;
13255
13259 readonly attribute unsigned short productId;
13260
13268 readonly attribute unsigned short revision;
13269
13273 readonly attribute wstring manufacturer;
13274
13278 readonly attribute wstring product;
13279
13283 readonly attribute wstring serialNumber;
13284
13288 readonly attribute wstring address;
13289
13296 readonly attribute unsigned short port;
13297
13303 readonly attribute unsigned short version;
13304
13312 readonly attribute unsigned short portVersion;
13313
13320 readonly attribute boolean remote;
13321
13322 };
13323
13397 interface IUSBDeviceFilter : $unknown
13398 {
13406 attribute wstring name;
13407
13411 attribute boolean active;
13412
13420 attribute wstring vendorId;
13421
13429 attribute wstring productId;
13430
13444 attribute wstring revision;
13445
13450 attribute wstring manufacturer;
13451
13456 attribute wstring product;
13457
13462 attribute wstring serialNumber;
13463
13468 attribute wstring port;
13469
13479 attribute wstring remote;
13480
13490 attribute unsigned long maskedInterfaces;
13491
13492 };
13493
13509 interface IHostUSBDevice : IUSBDevice
13510 {
13516 readonly attribute USBDeviceState state;
13517
13518 };
13519
13542 interface IHostUSBDeviceFilter : IUSBDeviceFilter
13543 {
13550 attribute USBDeviceFilterAction action;
13551
13552 };
13553
13562 interface IAudioAdapter : $unknown
13563 {
13572 attribute boolean enabled;
13573
13579 attribute AudioControllerType audioController;
13580
13587 attribute AudioDriverType audioDriver;
13588
13589 };
13590
13591 interface IVRDPServer : $unknown
13592 {
13596 attribute boolean enabled;
13597
13611 attribute unsigned long port;
13612
13616 attribute wstring netAddress;
13617
13621 attribute VRDPAuthType authType;
13622
13626 attribute unsigned long authTimeout;
13627
13634 attribute boolean allowMultiConnection;
13635
13643 attribute boolean reuseSingleConnection;
13644
13645 };
13646
13704 interface ISharedFolder : $unknown
13705 {
13709 readonly attribute wstring name;
13710
13714 readonly attribute wstring hostPath;
13715
13725 readonly attribute boolean accessible;
13726
13733 readonly attribute boolean writable;
13734
13747 readonly attribute wstring lastAccessError;
13748
13749 };
13750
13751 interface IInternalSessionControl : $unknown
13752 {
13757 void getPID (
13758 [retval] out unsigned long pid
13759 );
13760
13782 void getRemoteConsole (
13783 [retval] out IConsole console
13784 );
13785
13809 void assignMachine (
13810 in IMachine machine
13811 );
13812
13827 void assignRemoteMachine (
13828 in IMachine machine,
13829 in IConsole console
13830 );
13831
13855 void updateMachineState (
13856 in MachineState aMachineState
13857 );
13858
13874 void uninitialize();
13875
13898 void onDVDDriveChange();
13899
13922 void onFloppyDriveChange();
13923
13946 void onNetworkAdapterChange (
13947 in INetworkAdapter networkAdapter
13948 );
13949
13972 void onSerialPortChange (
13973 in ISerialPort serialPort
13974 );
13975
13998 void onParallelPortChange (
13999 in IParallelPort parallelPort
14000 );
14001
14024 void onStorageControllerChange();
14025
14048 void onVRDPServerChange();
14049
14072 void onUSBControllerChange();
14073
14102 void onSharedFolderChange (
14103 in boolean global
14104 );
14105
14131 void onUSBDeviceAttach (
14132 in IUSBDevice device,
14133 in IVirtualBoxErrorInfo error,
14134 in unsigned long maskedInterfaces
14135 );
14136
14161 void onUSBDeviceDetach (
14162 in uuid id,
14163 in IVirtualBoxErrorInfo error
14164 );
14165
14183 void onShowWindow (
14184 in boolean check,
14185 out boolean canShow,
14186 out unsigned long long winId
14187 );
14188
14212 void accessGuestProperty (
14213 in wstring name,
14214 in wstring value,
14215 in wstring flags,
14216 in boolean isSetter,
14217 out wstring retValue,
14218 out unsigned long long retTimestamp,
14219 out wstring retFlags
14220 );
14221
14269 void enumerateGuestProperties (
14270 in wstring patterns,
14271 out wstring[] key,
14272 out wstring[] value,
14273 out unsigned long long[] timestamp,
14274 out wstring[] flags
14275 );
14276
14277 };
14278
14355 interface ISession : $dispatched
14356 {
14360 readonly attribute SessionState state;
14361
14369 readonly attribute SessionType type;
14370
14374 readonly attribute IMachine machine;
14375
14379 readonly attribute IConsole console;
14380
14421 void close();
14422
14423 };
14424
14441 interface IStorageController : $unknown
14442 {
14451 readonly attribute wstring name;
14452
14458 readonly attribute unsigned long maxDevicesPerPortCount;
14459
14465 readonly attribute unsigned long minPortCount;
14466
14472 readonly attribute unsigned long maxPortCount;
14473
14479 attribute unsigned long instance;
14480
14489 attribute unsigned long portCount;
14490
14496 readonly attribute StorageBus bus;
14497
14507 attribute StorageControllerType controllerType;
14508
14530 void GetIDEEmulationPort (
14531 in long devicePosition,
14532 [retval] out long portNumber
14533 );
14534
14557 void SetIDEEmulationPort (
14558 in long devicePosition,
14559 in long portNumber
14560 );
14561
14562 };
14563
14587 interface IManagedObjectRef : $unknown
14588 {
14595 void getInterfaceName (
14596 [retval] out wstring return
14597 );
14598
14606 void release();
14607
14608 };
14609
14618 interface IWebsessionManager : $unknown
14619 {
14628 void logon (
14629 in wstring username,
14630 in wstring password,
14631 [retval] out IVirtualBox return
14632 );
14633
14643 void getSessionObject (
14644 in IVirtualBox refIVirtualBox,
14645 [retval] out ISession return
14646 );
14647
14655 void logoff (
14656 in IVirtualBox refIVirtualBox
14657 );
14658
14659 };
14660
14669 interface IPerformanceMetric : $unknown
14670 {
14676 readonly attribute wstring metricName;
14677
14683 readonly attribute $unknown object;
14684
14690 readonly attribute wstring description;
14691
14697 readonly attribute unsigned long period;
14698
14708 readonly attribute unsigned long count;
14709
14715 readonly attribute wstring unit;
14716
14722 readonly attribute long minimumValue;
14723
14729 readonly attribute long maximumValue;
14730
14731 };
14732
14828 interface IPerformanceCollector : $unknown
14829 {
14840 readonly attribute wstring[] metricNames;
14841
14865 void getMetrics (
14866 in wstring[] metricNames,
14867 in $unknown[] objects,
14868 [retval] out IPerformanceMetric[] metrics
14869 );
14870
14909 void setupMetrics (
14910 in wstring[] metricNames,
14911 in $unknown[] objects,
14912 in unsigned long period,
14913 in unsigned long count,
14914 [retval] out IPerformanceMetric[] affectedMetrics
14915 );
14916
14945 void enableMetrics (
14946 in wstring[] metricNames,
14947 in $unknown[] objects,
14948 [retval] out IPerformanceMetric[] affectedMetrics
14949 );
14950
14979 void disableMetrics (
14980 in wstring[] metricNames,
14981 in $unknown[] objects,
14982 [retval] out IPerformanceMetric[] affectedMetrics
14983 );
14984
15073 void queryMetricsData (
15074 in wstring[] metricNames,
15075 in $unknown[] objects,
15076 out wstring[] returnMetricNames,
15077 out $unknown[] returnObjects,
15078 out wstring[] returnUnits,
15079 out unsigned long[] returnScales,
15080 out unsigned long[] returnSequenceNumbers,
15081 out unsigned long[] returnDataIndices,
15082 out unsigned long[] returnDataLengths,
15083 [retval] out long[] returnData
15084 );
15085
15086 };
15087
15088