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,
01532 PortMode_RawFile = 3,
01533 };
01534
01573 enum USBDeviceState
01574 {
01581 USBDeviceState_NotSupported = 0,
01589 USBDeviceState_Unavailable = 1,
01596 USBDeviceState_Busy = 2,
01604 USBDeviceState_Available = 3,
01612 USBDeviceState_Held = 4,
01620 USBDeviceState_Captured = 5,
01621 };
01622
01632 enum USBDeviceFilterAction
01633 {
01638 USBDeviceFilterAction_Null = 0,
01643 USBDeviceFilterAction_Ignore = 1,
01648 USBDeviceFilterAction_Hold = 2,
01649 };
01650
01658 enum AudioDriverType
01659 {
01664 AudioDriverType_Null = 0,
01665 AudioDriverType_WinMM = 1,
01666 AudioDriverType_OSS = 2,
01667 AudioDriverType_ALSA = 3,
01668 AudioDriverType_DirectSound = 4,
01669 AudioDriverType_CoreAudio = 5,
01670 AudioDriverType_MMPM = 6,
01671 AudioDriverType_Pulse = 7,
01672 AudioDriverType_SolAudio = 8,
01673 };
01674
01682 enum AudioControllerType
01683 {
01684 AudioControllerType_AC97 = 0,
01685 AudioControllerType_SB16 = 1,
01686 };
01687
01695 enum VRDPAuthType
01696 {
01701 VRDPAuthType_Null = 0,
01702 VRDPAuthType_External = 1,
01703 VRDPAuthType_Guest = 2,
01704 };
01705
01713 enum StorageBus
01714 {
01719 StorageBus_Null = 0,
01720 StorageBus_IDE = 1,
01721 StorageBus_SATA = 2,
01722 StorageBus_SCSI = 3,
01723 };
01724
01732 enum StorageControllerType
01733 {
01738 StorageControllerType_Null = 0,
01739 StorageControllerType_LsiLogic = 1,
01740 StorageControllerType_BusLogic = 2,
01741 StorageControllerType_IntelAhci = 3,
01742 StorageControllerType_PIIX3 = 4,
01743 StorageControllerType_PIIX4 = 5,
01744 StorageControllerType_ICH6 = 6,
01745 };
01746
01779 interface IVirtualBoxErrorInfo : $errorinfo
01780 {
01797 readonly attribute result resultCode;
01798
01809 readonly attribute uuid interfaceID;
01810
01821 readonly attribute wstring component;
01822
01833 readonly attribute wstring text;
01834
01845 readonly attribute IVirtualBoxErrorInfo next;
01846
01847 };
01848
01849 interface IVirtualBoxCallback : $unknown
01850 {
01862 void onMachineStateChange (
01863 in uuid machineId,
01864 in MachineState state
01865 );
01866
01874 void onMachineDataChange (
01875 in uuid machineId
01876 );
01877
01908 void onExtraDataCanChange (
01909 in uuid machineId,
01910 in wstring key,
01911 in wstring value,
01912 out wstring error,
01913 [retval] out boolean allowChange
01914 );
01915
01935 void onExtraDataChange (
01936 in uuid machineId,
01937 in wstring key,
01938 in wstring value
01939 );
01940
01978 void onMediaRegistered (
01979 in uuid mediaId,
01980 in DeviceType mediaType,
01981 in boolean registered
01982 );
01983
01997 void onMachineRegistered (
01998 in uuid machineId,
01999 in boolean registered
02000 );
02001
02013 void onSessionStateChange (
02014 in uuid machineId,
02015 in SessionState state
02016 );
02017
02029 void onSnapshotTaken (
02030 in uuid machineId,
02031 in uuid snapshotId
02032 );
02033
02056 void onSnapshotDiscarded (
02057 in uuid machineId,
02058 in uuid snapshotId
02059 );
02060
02072 void onSnapshotChange (
02073 in uuid machineId,
02074 in uuid snapshotId
02075 );
02076
02098 void onGuestPropertyChange (
02099 in uuid machineId,
02100 in wstring name,
02101 in wstring value,
02102 in wstring flags
02103 );
02104
02105 };
02106
02117 interface IDHCPServer : $unknown
02118 {
02124 attribute boolean enabled;
02125
02131 readonly attribute wstring IPAddress;
02132
02138 readonly attribute wstring networkMask;
02139
02145 readonly attribute wstring networkName;
02146
02152 readonly attribute wstring lowerIP;
02153
02159 readonly attribute wstring upperIP;
02160
02189 void setConfiguration (
02190 in wstring IPAddress,
02191 in wstring networkMask,
02192 in wstring FromIPAddress,
02193 in wstring ToIPAddress
02194 );
02195
02220 void start (
02221 in wstring networkName,
02222 in wstring trunkName,
02223 in wstring trunkType
02224 );
02225
02238 void stop();
02239
02240 };
02241
02260 interface IVirtualBox : $dispatched
02261 {
02269 readonly attribute wstring version;
02270
02276 readonly attribute unsigned long revision;
02277
02287 readonly attribute wstring packageType;
02288
02304 readonly attribute wstring homeFolder;
02305
02313 readonly attribute wstring settingsFilePath;
02314
02352 readonly attribute wstring settingsFileVersion;
02353
02373 readonly attribute wstring settingsFormatVersion;
02374
02378 readonly attribute IHost host;
02379
02383 readonly attribute ISystemProperties systemProperties;
02384
02390 readonly attribute IMachine[] machines;
02391
02401 readonly attribute IHardDisk[] hardDisks;
02402
02408 readonly attribute IDVDImage[] DVDImages;
02409
02415 readonly attribute IFloppyImage[] floppyImages;
02416
02417 readonly attribute IProgress[] progressOperations;
02418
02419 readonly attribute IGuestOSType[] guestOSTypes;
02420
02437 readonly attribute ISharedFolder[] sharedFolders;
02438
02444 readonly attribute IPerformanceCollector performanceCollector;
02445
02451 readonly attribute IDHCPServer[] DHCPServers;
02452
02554 void createMachine (
02555 in wstring name,
02556 in wstring osTypeId,
02557 in wstring baseFolder,
02558 in uuid id,
02559 [retval] out IMachine machine
02560 );
02561
02625 void createLegacyMachine (
02626 in wstring name,
02627 in wstring osTypeId,
02628 in wstring settingsFile,
02629 in uuid id,
02630 [retval] out IMachine machine
02631 );
02632
02660 void openMachine (
02661 in wstring settingsFile,
02662 [retval] out IMachine machine
02663 );
02664
02697 void registerMachine (
02698 in IMachine machine
02699 );
02700
02716 void getMachine (
02717 in uuid id,
02718 [retval] out IMachine machine
02719 );
02720
02736 void findMachine (
02737 in wstring name,
02738 [retval] out IMachine machine
02739 );
02740
02795 void unregisterMachine (
02796 in uuid id,
02797 [retval] out IMachine machine
02798 );
02799
02809 void createAppliance (
02810 [retval] out IAppliance appliance
02811 );
02812
02884 void createHardDisk (
02885 in wstring format,
02886 in wstring location,
02887 [retval] out IHardDisk hardDisk
02888 );
02889
02957 void openHardDisk (
02958 in wstring location,
02959 in AccessMode accessMode,
02960 [retval] out IHardDisk hardDisk
02961 );
02962
02984 void getHardDisk (
02985 in uuid id,
02986 [retval] out IHardDisk hardDisk
02987 );
02988
03023 void findHardDisk (
03024 in wstring location,
03025 [retval] out IHardDisk hardDisk
03026 );
03027
03077 void openDVDImage (
03078 in wstring location,
03079 in uuid id,
03080 [retval] out IDVDImage image
03081 );
03082
03103 void getDVDImage (
03104 in uuid id,
03105 [retval] out IDVDImage image
03106 );
03107
03146 void findDVDImage (
03147 in wstring location,
03148 [retval] out IDVDImage image
03149 );
03150
03200 void openFloppyImage (
03201 in wstring location,
03202 in uuid id,
03203 [retval] out IFloppyImage image
03204 );
03205
03226 void getFloppyImage (
03227 in uuid id,
03228 [retval] out IFloppyImage image
03229 );
03230
03269 void findFloppyImage (
03270 in wstring location,
03271 [retval] out IFloppyImage image
03272 );
03273
03302 void getGuestOSType (
03303 in wstring id,
03304 [retval] out IGuestOSType type
03305 );
03306
03326 void createSharedFolder (
03327 in wstring name,
03328 in wstring hostPath,
03329 in boolean writable
03330 );
03331
03346 void removeSharedFolder (
03347 in wstring name
03348 );
03349
03375 void getNextExtraDataKey (
03376 in wstring key,
03377 out wstring nextKey,
03378 out wstring nextValue
03379 );
03380
03409 void getExtraData (
03410 in wstring key,
03411 [retval] out wstring value
03412 );
03413
03463 void setExtraData (
03464 in wstring key,
03465 in wstring value
03466 );
03467
03564 void openSession (
03565 in ISession session,
03566 in uuid machineId
03567 );
03568
03689 void openRemoteSession (
03690 in ISession session,
03691 in uuid machineId,
03692 in wstring type,
03693 in wstring environment,
03694 [retval] out IProgress progress
03695 );
03696
03766 void openExistingSession (
03767 in ISession session,
03768 in uuid machineId
03769 );
03770
03788 void registerCallback (
03789 in IVirtualBoxCallback callback
03790 );
03791
03807 void unregisterCallback (
03808 in IVirtualBoxCallback callback
03809 );
03810
03898 void waitForPropertyChange (
03899 in wstring what,
03900 in unsigned long timeout,
03901 out wstring changed,
03902 out wstring values
03903 );
03904
03933 void saveSettings();
03934
04001 void saveSettingsWithBackup (
04002 [retval] out wstring bakFileName
04003 );
04004
04021 void createDHCPServer (
04022 in wstring name,
04023 [retval] out IDHCPServer server
04024 );
04025
04042 void findDHCPServerByNetworkName (
04043 in wstring name,
04044 [retval] out IDHCPServer server
04045 );
04046
04061 void removeDHCPServer (
04062 in IDHCPServer server
04063 );
04064
04065 };
04066
04131 interface IAppliance : $unknown
04132 {
04140 readonly attribute wstring path;
04141
04172 readonly attribute wstring[] disks;
04173
04181 readonly attribute IVirtualSystemDescription[] virtualSystemDescriptions;
04182
04197 void read (
04198 in wstring file
04199 );
04200
04217 void interpret();
04218
04236 void importMachines (
04237 [retval] out IProgress aProgress
04238 );
04239
04264 void write (
04265 in wstring format,
04266 in wstring path,
04267 [retval] out IProgress aProgress
04268 );
04269
04275 void getWarnings (
04276 [retval] out wstring[] aWarnings
04277 );
04278
04279 };
04280
04291 interface IVirtualSystemDescription : $unknown
04292 {
04296 readonly attribute unsigned long count;
04297
04406 void getDescription (
04407 out VirtualSystemDescriptionType[] aTypes,
04408 out wstring[] aRefs,
04409 out wstring[] aOvfValues,
04410 out wstring[] aVboxValues,
04411 out wstring[] aExtraConfigValues
04412 );
04413
04430 void getDescriptionByType (
04431 in VirtualSystemDescriptionType aType,
04432 out VirtualSystemDescriptionType[] aTypes,
04433 out wstring[] aRefs,
04434 out wstring[] aOvfValues,
04435 out wstring[] aVboxValues,
04436 out wstring[] aExtraConfigValues
04437 );
04438
04450 void getValuesByType (
04451 in VirtualSystemDescriptionType aType,
04452 in VirtualSystemDescriptionValueType aWhich,
04453 [retval] out wstring[] aValues
04454 );
04455
04481 void setFinalValues (
04482 in boolean[] aEnabled,
04483 in wstring[] aVboxValues,
04484 in wstring[] aExtraConfigValues
04485 );
04486
04501 void addDescription (
04502 in VirtualSystemDescriptionType aType,
04503 in wstring aVboxValue,
04504 in wstring aExtraConfigValue
04505 );
04506
04507 };
04508
04509 interface IInternalMachineControl : $unknown
04510 {
04522 void updateState (
04523 in MachineState state
04524 );
04525
04526 void getIPCId (
04527 [retval] out wstring id
04528 );
04529
04543 void runUSBDeviceFilters (
04544 in IUSBDevice device,
04545 out boolean matched,
04546 out unsigned long maskedInterfaces
04547 );
04548
04557 void captureUSBDevice (
04558 in uuid id
04559 );
04560
04576 void detachUSBDevice (
04577 in uuid id,
04578 in boolean done
04579 );
04580
04589 void autoCaptureUSBDevices();
04590
04606 void detachAllUSBDevices (
04607 in boolean done
04608 );
04609
04624 void onSessionEnd (
04625 in ISession session,
04626 [retval] out IProgress progress
04627 );
04628
04644 void beginSavingState (
04645 in IProgress progress,
04646 out wstring stateFilePath
04647 );
04648
04676 void endSavingState (
04677 in boolean success
04678 );
04679
04694 void adoptSavedState (
04695 in wstring savedStateFile
04696 );
04697
04740 void beginTakingSnapshot (
04741 in IConsole initiator,
04742 in wstring name,
04743 in wstring description,
04744 in IProgress progress,
04745 out wstring stateFilePath,
04746 out IProgress serverProgress
04747 );
04748
04758 void endTakingSnapshot (
04759 in boolean success
04760 );
04761
04782 void discardSnapshot (
04783 in IConsole initiator,
04784 in uuid id,
04785 out MachineState machineState,
04786 [retval] out IProgress progress
04787 );
04788
04807 void discardCurrentState (
04808 in IConsole initiator,
04809 out MachineState machineState,
04810 [retval] out IProgress progress
04811 );
04812
04831 void discardCurrentSnapshotAndState (
04832 in IConsole initiator,
04833 out MachineState machineState,
04834 [retval] out IProgress progress
04835 );
04836
04863 void pullGuestProperties (
04864 out wstring[] name,
04865 out wstring[] value,
04866 out unsigned long long[] timestamp,
04867 out wstring[] flags
04868 );
04869
04896 void pushGuestProperties (
04897 in wstring[] name,
04898 in wstring[] value,
04899 in unsigned long long[] timestamp,
04900 in wstring[] flags
04901 );
04902
04924 void pushGuestProperty (
04925 in wstring name,
04926 in wstring value,
04927 in unsigned long long timestamp,
04928 in wstring flags
04929 );
04930
04942 void lockMedia();
04943
04944 };
04945
04954 interface IBIOSSettings : $unknown
04955 {
04959 attribute boolean logoFadeIn;
04960
04964 attribute boolean logoFadeOut;
04965
04969 attribute unsigned long logoDisplayTime;
04970
04974 attribute wstring logoImagePath;
04975
04979 attribute BIOSBootMenuMode bootMenuMode;
04980
04984 attribute boolean ACPIEnabled;
04985
04992 attribute boolean IOAPICEnabled;
04993
05003 attribute long long timeOffset;
05004
05011 attribute boolean PXEDebugEnabled;
05012
05013 };
05014
05057 interface IMachine : $unknown
05058 {
05062 readonly attribute IVirtualBox parent;
05063
05122 readonly attribute boolean accessible;
05123
05135 readonly attribute IVirtualBoxErrorInfo accessError;
05136
05182 attribute wstring name;
05183
05194 attribute wstring description;
05195
05199 readonly attribute uuid id;
05200
05215 attribute wstring OSTypeId;
05216
05220 attribute wstring HardwareVersion;
05221
05225 attribute unsigned long CPUCount;
05226
05230 attribute unsigned long memorySize;
05231
05235 attribute unsigned long memoryBalloonSize;
05236
05240 attribute unsigned long statisticsUpdateInterval;
05241
05245 attribute unsigned long VRAMSize;
05246
05253 attribute boolean accelerate3DEnabled;
05254
05265 attribute unsigned long monitorCount;
05266
05270 readonly attribute IBIOSSettings BIOSSettings;
05271
05280 attribute TSBool HWVirtExEnabled;
05281
05289 attribute boolean HWVirtExNestedPagingEnabled;
05290
05298 attribute boolean HWVirtExVPIDEnabled;
05299
05307 attribute boolean PAEEnabled;
05308
05342 attribute wstring snapshotFolder;
05343
05347 readonly attribute IVRDPServer VRDPServer;
05348
05352 readonly attribute IHardDiskAttachment[] hardDiskAttachments;
05353
05357 readonly attribute IDVDDrive DVDDrive;
05358
05362 readonly attribute IFloppyDrive floppyDrive;
05363
05375 readonly attribute IUSBController USBController;
05376
05380 readonly attribute IAudioAdapter audioAdapter;
05381
05385 readonly attribute IStorageController[] storageControllers;
05386
05392 readonly attribute wstring settingsFilePath;
05393
05431 readonly attribute wstring settingsFileVersion;
05432
05457 readonly attribute boolean settingsModified;
05458
05462 readonly attribute SessionState sessionState;
05463
05476 readonly attribute wstring sessionType;
05477
05489 readonly attribute unsigned long sessionPid;
05490
05494 readonly attribute MachineState state;
05495
05502 readonly attribute long long lastStateChange;
05503
05515 readonly attribute wstring stateFilePath;
05516
05526 readonly attribute wstring logFolder;
05527
05540 readonly attribute ISnapshot currentSnapshot;
05541
05548 readonly attribute unsigned long snapshotCount;
05549
05583 readonly attribute boolean currentStateModified;
05584
05596 readonly attribute ISharedFolder[] sharedFolders;
05597
05604 attribute ClipboardMode clipboardMode;
05605
05613 attribute wstring guestPropertyNotificationPatterns;
05614
05652 void setBootOrder (
05653 in unsigned long position,
05654 in DeviceType device
05655 );
05656
05691 void getBootOrder (
05692 in unsigned long position,
05693 [retval] out DeviceType device
05694 );
05695
05778 void attachHardDisk (
05779 in uuid id,
05780 in wstring name,
05781 in long controllerPort,
05782 in long device
05783 );
05784
05813 void getHardDisk (
05814 in wstring name,
05815 in long controllerPort,
05816 in long device,
05817 [retval] out IHardDisk hardDisk
05818 );
05819
05873 void detachHardDisk (
05874 in wstring name,
05875 in long controllerPort,
05876 in long device
05877 );
05878
05893 void getHardDiskAttachmentsOfController (
05894 in wstring name,
05895 [retval] out IHardDiskAttachment[] hardDiskAttachments
05896 );
05897
05915 void getNetworkAdapter (
05916 in unsigned long slot,
05917 [retval] out INetworkAdapter adapter
05918 );
05919
05951 void addStorageController (
05952 in wstring name,
05953 in StorageBus connectionType,
05954 [retval] out IStorageController controller
05955 );
05956
05970 void getStorageControllerByName (
05971 in wstring name,
05972 [retval] out IStorageController storageController
05973 );
05974
05988 void removeStorageController (
05989 in wstring name
05990 );
05991
06009 void getSerialPort (
06010 in unsigned long slot,
06011 [retval] out ISerialPort port
06012 );
06013
06031 void getParallelPort (
06032 in unsigned long slot,
06033 [retval] out IParallelPort port
06034 );
06035
06062 void getNextExtraDataKey (
06063 in wstring key,
06064 out wstring nextKey,
06065 out wstring nextValue
06066 );
06067
06096 void getExtraData (
06097 in wstring key,
06098 [retval] out wstring value
06099 );
06100
06150 void setExtraData (
06151 in wstring key,
06152 in wstring value
06153 );
06154
06200 void saveSettings();
06201
06273 void saveSettingsWithBackup (
06274 [retval] out wstring bakFileName
06275 );
06276
06300 void discardSettings();
06301
06343 void deleteSettings();
06344
06354 void export (
06355 in IAppliance aAppliance,
06356 [retval] out IVirtualSystemDescription aDescription
06357 );
06358
06379 void getSnapshot (
06380 in uuid id,
06381 [retval] out ISnapshot snapshot
06382 );
06383
06401 void findSnapshot (
06402 in wstring name,
06403 [retval] out ISnapshot snapshot
06404 );
06405
06418 void setCurrentSnapshot (
06419 in uuid id
06420 );
06421
06452 void createSharedFolder (
06453 in wstring name,
06454 in wstring hostPath,
06455 in boolean writable
06456 );
06457
06483 void removeSharedFolder (
06484 in wstring name
06485 );
06486
06511 void canShowConsoleWindow (
06512 [retval] out boolean canShow
06513 );
06514
06549 void showConsoleWindow (
06550 [retval] out unsigned long long winId
06551 );
06552
06585 void getGuestProperty (
06586 in wstring name,
06587 out wstring value,
06588 out unsigned long long timestamp,
06589 out wstring flags
06590 );
06591
06614 void getGuestPropertyValue (
06615 in wstring property,
06616 [retval] out wstring value
06617 );
06618
06641 void getGuestPropertyTimestamp (
06642 in wstring property,
06643 [retval] out unsigned long long value
06644 );
06645
06696 void setGuestProperty (
06697 in wstring property,
06698 in wstring value,
06699 in wstring flags
06700 );
06701
06742 void setGuestPropertyValue (
06743 in wstring property,
06744 in wstring value
06745 );
06746
06777 void enumerateGuestProperties (
06778 in wstring patterns,
06779 out wstring[] name,
06780 out wstring[] value,
06781 out unsigned long long[] timestamp,
06782 out wstring[] flags
06783 );
06784
06785 };
06786
06787 interface IConsoleCallback : $unknown
06788 {
06855 void onMousePointerShapeChange (
06856 in boolean visible,
06857 in boolean alpha,
06858 in unsigned long xHot,
06859 in unsigned long yHot,
06860 in unsigned long width,
06861 in unsigned long height,
06862 in octetPtr shape
06863 );
06864
06871 void onMouseCapabilityChange (
06872 in boolean supportsAbsolute,
06873 in boolean needsHostCursor
06874 );
06875
06882 void onKeyboardLedsChange (
06883 in boolean numLock,
06884 in boolean capsLock,
06885 in boolean scrollLock
06886 );
06887
06894 void onStateChange (
06895 in MachineState state
06896 );
06897
06905 void onAdditionsStateChange();
06906
06915 void onDVDDriveChange();
06916
06925 void onFloppyDriveChange();
06926
06937 void onNetworkAdapterChange (
06938 in INetworkAdapter networkAdapter
06939 );
06940
06951 void onSerialPortChange (
06952 in ISerialPort serialPort
06953 );
06954
06965 void onParallelPortChange (
06966 in IParallelPort parallelPort
06967 );
06968
06977 void onStorageControllerChange();
06978
06987 void onVRDPServerChange();
06988
06997 void onUSBControllerChange();
06998
07031 void onUSBDeviceStateChange (
07032 in IUSBDevice device,
07033 in boolean attached,
07034 in IVirtualBoxErrorInfo error
07035 );
07036
07052 void onSharedFolderChange (
07053 in Scope scope
07054 );
07055
07119 void onRuntimeError (
07120 in boolean fatal,
07121 in wstring id,
07122 in wstring message
07123 );
07124
07153 void onCanShowWindow (
07154 [retval] out boolean canShow
07155 );
07156
07203 void onShowWindow (
07204 [retval] out unsigned long long winId
07205 );
07206
07207 };
07208
07217 interface IRemoteDisplayInfo : $unknown
07218 {
07224 readonly attribute boolean active;
07225
07231 readonly attribute unsigned long numberOfClients;
07232
07238 readonly attribute long long beginTime;
07239
07246 readonly attribute long long endTime;
07247
07253 readonly attribute unsigned long long bytesSent;
07254
07260 readonly attribute unsigned long long bytesSentTotal;
07261
07267 readonly attribute unsigned long long bytesReceived;
07268
07274 readonly attribute unsigned long long bytesReceivedTotal;
07275
07281 readonly attribute wstring user;
07282
07288 readonly attribute wstring domain;
07289
07295 readonly attribute wstring clientName;
07296
07302 readonly attribute wstring clientIP;
07303
07309 readonly attribute unsigned long clientVersion;
07310
07318 readonly attribute unsigned long encryptionStyle;
07319
07320 };
07321
07344 interface IConsole : $unknown
07345 {
07357 readonly attribute IMachine machine;
07358
07372 readonly attribute MachineState state;
07373
07377 readonly attribute IGuest guest;
07378
07389 readonly attribute IKeyboard keyboard;
07390
07401 readonly attribute IMouse mouse;
07402
07412 readonly attribute IDisplay display;
07413
07417 readonly attribute IMachineDebugger debugger;
07418
07429 readonly attribute IUSBDevice[] USBDevices;
07430
07438 readonly attribute IHostUSBDevice[] remoteUSBDevices;
07439
07455 readonly attribute ISharedFolder[] sharedFolders;
07456
07462 readonly attribute IRemoteDisplayInfo remoteDisplayInfo;
07463
07517 void powerUp (
07518 [retval] out IProgress progress
07519 );
07520
07554 void powerUpPaused (
07555 [retval] out IProgress progress
07556 );
07557
07584 void powerDown();
07585
07610 void powerDownAsync (
07611 [retval] out IProgress progress
07612 );
07613
07633 void reset();
07634
07654 void pause();
07655
07675 void resume();
07676
07696 void powerButton();
07697
07717 void sleepButton();
07718
07730 void getPowerButtonHandled (
07731 [retval] out boolean handled
07732 );
07733
07747 void getGuestEnteredACPIMode (
07748 [retval] out boolean entered
07749 );
07750
07803 void saveState (
07804 [retval] out IProgress progress
07805 );
07806
07839 void adoptSavedState (
07840 in wstring savedStateFile
07841 );
07842
07862 void discardSavedState();
07863
07876 void getDeviceActivity (
07877 in DeviceType type,
07878 [retval] out DeviceActivity activity
07879 );
07880
07917 void attachUSBDevice (
07918 in uuid id
07919 );
07920
07954 void detachUSBDevice (
07955 in uuid id,
07956 [retval] out IUSBDevice device
07957 );
07958
07981 void findUSBDeviceByAddress (
07982 in wstring name,
07983 [retval] out IUSBDevice device
07984 );
07985
08005 void findUSBDeviceById (
08006 in uuid id,
08007 [retval] out IUSBDevice device
08008 );
08009
08040 void createSharedFolder (
08041 in wstring name,
08042 in wstring hostPath,
08043 in boolean writable
08044 );
08045
08070 void removeSharedFolder (
08071 in wstring name
08072 );
08073
08111 void takeSnapshot (
08112 in wstring name,
08113 in wstring description,
08114 [retval] out IProgress progress
08115 );
08116
08215 void discardSnapshot (
08216 in uuid id,
08217 [retval] out IProgress progress
08218 );
08219
08257 void discardCurrentState (
08258 [retval] out IProgress progress
08259 );
08260
08315 void discardCurrentSnapshotAndState (
08316 [retval] out IProgress progress
08317 );
08318
08326 void registerCallback (
08327 in IConsoleCallback callback
08328 );
08329
08343 void unregisterCallback (
08344 in IConsoleCallback callback
08345 );
08346
08347 };
08348
08357 interface IHostDVDDrive : $unknown
08358 {
08366 readonly attribute wstring name;
08367
08375 readonly attribute wstring description;
08376
08385 readonly attribute wstring udi;
08386
08387 };
08388
08397 interface IHostFloppyDrive : $unknown
08398 {
08406 readonly attribute wstring name;
08407
08415 readonly attribute wstring description;
08416
08425 readonly attribute wstring udi;
08426
08427 };
08428
08439 interface IHostNetworkInterface : $unknown
08440 {
08444 readonly attribute wstring name;
08445
08449 readonly attribute uuid id;
08450
08454 readonly attribute wstring networkName;
08455
08459 readonly attribute boolean dhcpEnabled;
08460
08464 readonly attribute wstring IPAddress;
08465
08469 readonly attribute wstring networkMask;
08470
08474 readonly attribute boolean IPV6Supported;
08475
08479 readonly attribute wstring IPV6Address;
08480
08484 readonly attribute unsigned long IPV6NetworkMaskPrefixLength;
08485
08489 readonly attribute wstring hardwareAddress;
08490
08494 readonly attribute HostNetworkInterfaceMediumType mediumType;
08495
08499 readonly attribute HostNetworkInterfaceStatus status;
08500
08504 readonly attribute HostNetworkInterfaceType interfaceType;
08505
08517 void enableStaticIpConfig (
08518 in wstring IPAddress,
08519 in wstring networkMask
08520 );
08521
08533 void enableStaticIpConfigV6 (
08534 in wstring IPV6Address,
08535 in unsigned long IPV6NetworkMaskPrefixLength
08536 );
08537
08541 void enableDynamicIpConfig();
08542
08546 void dhcpRediscover();
08547
08548 };
08549
08566 interface IHost : $unknown
08567 {
08571 readonly attribute IHostDVDDrive[] DVDDrives;
08572
08576 readonly attribute IHostFloppyDrive[] floppyDrives;
08577
08591 readonly attribute IHostUSBDevice[] USBDevices;
08592
08615 readonly attribute IHostUSBDeviceFilter[] USBDeviceFilters;
08616
08620 readonly attribute IHostNetworkInterface[] networkInterfaces;
08621
08625 readonly attribute unsigned long processorCount;
08626
08630 readonly attribute unsigned long processorOnlineCount;
08631
08635 readonly attribute unsigned long memorySize;
08636
08640 readonly attribute unsigned long memoryAvailable;
08641
08645 readonly attribute wstring operatingSystem;
08646
08650 readonly attribute wstring OSVersion;
08651
08655 readonly attribute long long UTCTime;
08656
08671 void getProcessorSpeed (
08672 in unsigned long cpuId,
08673 [retval] out unsigned long speed
08674 );
08675
08687 void getProcessorFeature (
08688 in ProcessorFeature feature,
08689 [retval] out boolean supported
08690 );
08691
08710 void getProcessorDescription (
08711 in unsigned long cpuId,
08712 [retval] out wstring description
08713 );
08714
08735 void createUSBDeviceFilter (
08736 in wstring name,
08737 [retval] out IHostUSBDeviceFilter filter
08738 );
08739
08782 void insertUSBDeviceFilter (
08783 in unsigned long position,
08784 in IHostUSBDeviceFilter filter
08785 );
08786
08816 void removeUSBDeviceFilter (
08817 in unsigned long position,
08818 [retval] out IHostUSBDeviceFilter filter
08819 );
08820
08838 void findHostDVDDrive (
08839 in wstring name,
08840 [retval] out IHostDVDDrive drive
08841 );
08842
08860 void findHostFloppyDrive (
08861 in wstring name,
08862 [retval] out IHostFloppyDrive drive
08863 );
08864
08880 void findHostNetworkInterfaceByName (
08881 in wstring name,
08882 [retval] out IHostNetworkInterface networkInterface
08883 );
08884
08900 void findHostNetworkInterfaceById (
08901 in uuid id,
08902 [retval] out IHostNetworkInterface networkInterface
08903 );
08904
08914 void findHostNetworkInterfacesOfType (
08915 in HostNetworkInterfaceType type,
08916 [retval] out IHostNetworkInterface[] networkInterfaces
08917 );
08918
08938 void findUSBDeviceById (
08939 in uuid id,
08940 [retval] out IHostUSBDevice device
08941 );
08942
08965 void findUSBDeviceByAddress (
08966 in wstring name,
08967 [retval] out IHostUSBDevice device
08968 );
08969
08990 void createHostOnlyNetworkInterface (
08991 out IHostNetworkInterface hostInterface,
08992 [retval] out IProgress progress
08993 );
08994
09019 void removeHostOnlyNetworkInterface (
09020 in uuid id,
09021 out IHostNetworkInterface hostInterface,
09022 [retval] out IProgress progress
09023 );
09024
09025 };
09026
09039 interface ISystemProperties : $unknown
09040 {
09044 readonly attribute unsigned long minGuestRAM;
09045
09049 readonly attribute unsigned long maxGuestRAM;
09050
09054 readonly attribute unsigned long minGuestVRAM;
09055
09059 readonly attribute unsigned long maxGuestVRAM;
09060
09064 readonly attribute unsigned long minGuestCPUCount;
09065
09069 readonly attribute unsigned long maxGuestCPUCount;
09070
09074 readonly attribute unsigned long long maxVDISize;
09075
09082 readonly attribute unsigned long networkAdapterCount;
09083
09090 readonly attribute unsigned long serialPortCount;
09091
09098 readonly attribute unsigned long parallelPortCount;
09099
09109 readonly attribute unsigned long maxBootPosition;
09110
09143 attribute wstring defaultMachineFolder;
09144
09183 attribute wstring defaultHardDiskFolder;
09184
09210 readonly attribute IHardDiskFormat[] hardDiskFormats;
09211
09245 attribute wstring defaultHardDiskFormat;
09246
09270 attribute wstring remoteDisplayAuthLibrary;
09271
09295 attribute wstring webServiceAuthLibrary;
09296
09306 attribute boolean HWVirtExEnabled;
09307
09313 attribute unsigned long LogHistoryCount;
09314
09315 };
09316
09322 interface IGuestOSType : $unknown
09323 {
09327 readonly attribute wstring familyId;
09328
09332 readonly attribute wstring familyDescription;
09333
09337 readonly attribute wstring id;
09338
09342 readonly attribute wstring description;
09343
09347 readonly attribute boolean is64Bit;
09348
09352 readonly attribute boolean recommendedIOAPIC;
09353
09357 readonly attribute boolean recommendedVirtEx;
09358
09362 readonly attribute unsigned long recommendedRAM;
09363
09367 readonly attribute unsigned long recommendedVRAM;
09368
09372 readonly attribute unsigned long recommendedHDD;
09373
09377 readonly attribute NetworkAdapterType adapterType;
09378
09379 };
09380
09394 interface IGuest : $unknown
09395 {
09410 readonly attribute wstring OSTypeId;
09411
09419 readonly attribute boolean additionsActive;
09420
09430 readonly attribute wstring additionsVersion;
09431
09438 readonly attribute boolean supportsSeamless;
09439
09448 readonly attribute boolean supportsGraphics;
09449
09453 attribute unsigned long memoryBalloonSize;
09454
09458 attribute unsigned long statisticsUpdateInterval;
09459
09489 void setCredentials (
09490 in wstring userName,
09491 in wstring password,
09492 in wstring domain,
09493 in boolean allowInteractiveLogon
09494 );
09495
09507 void getStatistic (
09508 in unsigned long cpuId,
09509 in GuestStatisticType statistic,
09510 out unsigned long statVal
09511 );
09512
09513 };
09514
09555 interface IProgress : $unknown
09556 {
09560 readonly attribute uuid id;
09561
09565 readonly attribute wstring description;
09566
09570 readonly attribute $unknown initiator;
09571
09575 readonly attribute boolean cancelable;
09576
09584 readonly attribute unsigned long percent;
09585
09599 readonly attribute long timeRemaining;
09600
09604 readonly attribute boolean completed;
09605
09609 readonly attribute boolean canceled;
09610
09617 readonly attribute result resultCode;
09618
09628 readonly attribute IVirtualBoxErrorInfo errorInfo;
09629
09636 readonly attribute unsigned long operationCount;
09637
09641 readonly attribute unsigned long operation;
09642
09648 readonly attribute wstring operationDescription;
09649
09653 readonly attribute unsigned long operationPercent;
09654
09673 void waitForCompletion (
09674 in long timeout
09675 );
09676
09700 void waitForOperationCompletion (
09701 in unsigned long operation,
09702 in long timeout
09703 );
09704
09722 void cancel();
09723
09724 };
09725
09862 interface ISnapshot : $unknown
09863 {
09867 readonly attribute uuid id;
09868
09872 attribute wstring name;
09873
09877 attribute wstring description;
09878
09884 readonly attribute long long timeStamp;
09885
09900 readonly attribute boolean online;
09901
09913 readonly attribute IMachine machine;
09914
09926 readonly attribute ISnapshot parent;
09927
09939 readonly attribute ISnapshot[] children;
09940
09941 };
09942
10033 interface IMedium : $unknown
10034 {
10048 readonly attribute uuid id;
10049
10068 attribute wstring description;
10069
10098 readonly attribute MediaState state;
10099
10121 attribute wstring location;
10122
10142 readonly attribute wstring name;
10143
10156 readonly attribute unsigned long long size;
10157
10170 readonly attribute wstring lastAccessError;
10171
10188 readonly attribute uuid[] machineIds;
10189
10216 void getSnapshotIds (
10217 in uuid machineId,
10218 [retval] out uuid[] snapshotIds
10219 );
10220
10268 void lockRead (
10269 [retval] out MediaState state
10270 );
10271
10294 void unlockRead (
10295 [retval] out MediaState state
10296 );
10297
10345 void lockWrite (
10346 [retval] out MediaState state
10347 );
10348
10371 void unlockWrite (
10372 [retval] out MediaState state
10373 );
10374
10423 void close();
10424
10425 };
10426
10441 interface IHardDiskAttachment : $unknown
10442 {
10446 readonly attribute IHardDisk hardDisk;
10447
10451 readonly attribute wstring controller;
10452
10456 readonly attribute long port;
10457
10461 readonly attribute long device;
10462
10463 };
10464
10741 interface IHardDisk : IMedium
10742 {
10757 readonly attribute wstring format;
10758
10782 attribute HardDiskType type;
10783
10793 readonly attribute IHardDisk parent;
10794
10802 readonly attribute IHardDisk[] children;
10803
10814 readonly attribute IHardDisk root;
10815
10849 readonly attribute boolean readOnly;
10850
10871 readonly attribute unsigned long long logicalSize;
10872
10897 attribute boolean autoReset;
10898
10928 void getProperty (
10929 in wstring name,
10930 [retval] out wstring value
10931 );
10932
10963 void setProperty (
10964 in wstring name,
10965 in wstring value
10966 );
10967
11001 void getProperties (
11002 in wstring names,
11003 out wstring[] returnNames,
11004 [retval] out wstring[] returnValues
11005 );
11006
11037 void setProperties (
11038 in wstring[] names,
11039 in wstring[] values
11040 );
11041
11073 void createBaseStorage (
11074 in unsigned long long logicalSize,
11075 in HardDiskVariant variant,
11076 [retval] out IProgress progress
11077 );
11078
11130 void deleteStorage (
11131 [retval] out IProgress progress
11132 );
11133
11171 void createDiffStorage (
11172 in IHardDisk target,
11173 in HardDiskVariant variant,
11174 [retval] out IProgress progress
11175 );
11176
11252 void mergeTo (
11253 in uuid targetId,
11254 [retval] out IProgress progress
11255 );
11256
11294 void cloneTo (
11295 in IHardDisk target,
11296 in HardDiskVariant variant,
11297 in IHardDisk parent,
11298 [retval] out IProgress progress
11299 );
11300
11329 void compact (
11330 [retval] out IProgress progress
11331 );
11332
11364 void reset (
11365 [retval] out IProgress progress
11366 );
11367
11368 };
11369
11392 interface IHardDiskFormat : $unknown
11393 {
11412 readonly attribute wstring id;
11413
11421 readonly attribute wstring name;
11422
11438 readonly attribute wstring[] fileExtensions;
11439
11448 readonly attribute unsigned long capabilities;
11449
11479 void describeProperties (
11480 out wstring[] names,
11481 out wstring[] description,
11482 out DataType[] types,
11483 out unsigned long[] flags,
11484 out wstring[] defaults
11485 );
11486
11487 };
11488
11497 interface IFloppyImage : IMedium
11498 {
11499 };
11500
11511 interface IDVDImage : IMedium
11512 {
11513 };
11514
11524 interface IDVDDrive : $unknown
11525 {
11529 readonly attribute DriveState state;
11530
11539 attribute boolean passthrough;
11540
11567 void mountImage (
11568 in uuid imageId
11569 );
11570
11574 void captureHostDrive (
11575 in IHostDVDDrive drive
11576 );
11577
11581 void unmount();
11582
11586 void getImage (
11587 [retval] out IDVDImage image
11588 );
11589
11593 void getHostDrive (
11594 [retval] out IHostDVDDrive drive
11595 );
11596
11597 };
11598
11608 interface IFloppyDrive : $unknown
11609 {
11616 attribute boolean enabled;
11617
11621 readonly attribute DriveState state;
11622
11649 void mountImage (
11650 in uuid imageId
11651 );
11652
11656 void captureHostDrive (
11657 in IHostFloppyDrive drive
11658 );
11659
11663 void unmount();
11664
11668 void getImage (
11669 [retval] out IFloppyImage image
11670 );
11671
11675 void getHostDrive (
11676 [retval] out IHostFloppyDrive drive
11677 );
11678
11679 };
11680
11693 interface IKeyboard : $unknown
11694 {
11707 void putScancode (
11708 in long scancode
11709 );
11710
11723 void putScancodes (
11724 in long[] scancodes,
11725 [retval] out unsigned long codesStored
11726 );
11727
11742 void putCAD();
11743
11744 };
11745
11757 interface IMouse : $unknown
11758 {
11775 readonly attribute boolean absoluteSupported;
11776
11836 void putMouseEvent (
11837 in long dx,
11838 in long dy,
11839 in long dz,
11840 in long buttonState
11841 );
11842
11909 void putMouseEventAbsolute (
11910 in long x,
11911 in long y,
11912 in long dz,
11913 in long buttonState
11914 );
11915
11916 };
11917
11918 interface IFramebuffer : $unknown
11919 {
11928 readonly attribute octetPtr address;
11929
11933 readonly attribute unsigned long width;
11934
11938 readonly attribute unsigned long height;
11939
11946 readonly attribute unsigned long bitsPerPixel;
11947
11954 readonly attribute unsigned long bytesPerLine;
11955
11966 readonly attribute unsigned long pixelFormat;
11967
11974 readonly attribute boolean usesGuestVRAM;
11975
11985 readonly attribute unsigned long heightReduction;
11986
12001 readonly attribute IFramebufferOverlay overlay;
12002
12009 readonly attribute unsigned long long winId;
12010
12018 void lock();
12019
12027 void unlock();
12028
12036 void notifyUpdate (
12037 in unsigned long x,
12038 in unsigned long y,
12039 in unsigned long width,
12040 in unsigned long height,
12041 [retval] out boolean finished
12042 );
12043
12156 void requestResize (
12157 in unsigned long screenId,
12158 in unsigned long pixelFormat,
12159 in octetPtr VRAM,
12160 in unsigned long bitsPerPixel,
12161 in unsigned long bytesPerLine,
12162 in unsigned long width,
12163 in unsigned long height,
12164 [retval] out boolean finished
12165 );
12166
12180 void operationSupported (
12181 in FramebufferAccelerationOperation operation,
12182 [retval] out boolean supported
12183 );
12184
12196 void videoModeSupported (
12197 in unsigned long width,
12198 in unsigned long height,
12199 in unsigned long bpp,
12200 [retval] out boolean supported
12201 );
12202
12208 void solidFill (
12209 in unsigned long x,
12210 in unsigned long y,
12211 in unsigned long width,
12212 in unsigned long height,
12213 in unsigned long color,
12214 [retval] out boolean handled
12215 );
12216
12222 void copyScreenBits (
12223 in unsigned long xDst,
12224 in unsigned long yDst,
12225 in unsigned long xSrc,
12226 in unsigned long ySrc,
12227 in unsigned long width,
12228 in unsigned long height,
12229 [retval] out boolean handled
12230 );
12231
12268 void getVisibleRegion (
12269 in octetPtr rectangles,
12270 in unsigned long count,
12271 [retval] out unsigned long countCopied
12272 );
12273
12308 void setVisibleRegion (
12309 in octetPtr rectangles,
12310 in unsigned long count
12311 );
12312
12313 };
12314
12329 interface IFramebufferOverlay : IFramebuffer
12330 {
12334 readonly attribute unsigned long x;
12335
12339 readonly attribute unsigned long y;
12340
12346 attribute boolean visible;
12347
12354 attribute unsigned long alpha;
12355
12361 void move (
12362 in unsigned long x,
12363 in unsigned long y
12364 );
12365
12366 };
12367
12383 interface IDisplay : $unknown
12384 {
12388 readonly attribute unsigned long width;
12389
12393 readonly attribute unsigned long height;
12394
12401 readonly attribute unsigned long bitsPerPixel;
12402
12408 void setupInternalFramebuffer (
12409 in unsigned long depth
12410 );
12411
12430 void lockFramebuffer (
12431 [retval] out octetPtr address
12432 );
12433
12447 void unlockFramebuffer();
12448
12454 void registerExternalFramebuffer (
12455 in IFramebuffer framebuffer
12456 );
12457
12463 void setFramebuffer (
12464 in unsigned long screenId,
12465 in IFramebuffer framebuffer
12466 );
12467
12473 void getFramebuffer (
12474 in unsigned long screenId,
12475 out IFramebuffer framebuffer,
12476 out long xOrigin,
12477 out long yOrigin
12478 );
12479
12508 void setVideoModeHint (
12509 in unsigned long width,
12510 in unsigned long height,
12511 in unsigned long bitsPerPixel,
12512 in unsigned long display
12513 );
12514
12525 void setSeamlessMode (
12526 in boolean enabled
12527 );
12528
12556 void takeScreenShot (
12557 in octetPtr address,
12558 in unsigned long width,
12559 in unsigned long height
12560 );
12561
12589 void drawToScreen (
12590 in octetPtr address,
12591 in unsigned long x,
12592 in unsigned long y,
12593 in unsigned long width,
12594 in unsigned long height
12595 );
12596
12611 void invalidateAndUpdate();
12612
12626 void resizeCompleted (
12627 in unsigned long screenId
12628 );
12629
12643 void updateCompleted();
12644
12645 };
12646
12662 interface INetworkAdapter : $unknown
12663 {
12671 attribute NetworkAdapterType adapterType;
12672
12680 readonly attribute unsigned long slot;
12681
12690 attribute boolean enabled;
12691
12698 attribute wstring MACAddress;
12699
12700 readonly attribute NetworkAttachmentType attachmentType;
12701
12707 attribute wstring hostInterface;
12708
12714 attribute wstring internalNetwork;
12715
12721 attribute wstring NATNetwork;
12722
12729 attribute boolean cableConnected;
12730
12736 attribute unsigned long lineSpeed;
12737
12744 attribute boolean traceEnabled;
12745
12752 attribute wstring traceFile;
12753
12759 void attachToNAT();
12760
12766 void attachToBridgedInterface();
12767
12773 void attachToInternalNetwork();
12774
12780 void attachToHostOnlyInterface();
12781
12787 void detach();
12788
12789 };
12790
12819 interface ISerialPort : $unknown
12820 {
12828 readonly attribute unsigned long slot;
12829
12836 attribute boolean enabled;
12837
12841 attribute unsigned long IOBase;
12842
12846 attribute unsigned long IRQ;
12847
12858 attribute PortMode hostMode;
12859
12867 attribute boolean server;
12868
12878 attribute wstring path;
12879
12880 };
12881
12901 interface IParallelPort : $unknown
12902 {
12910 readonly attribute unsigned long slot;
12911
12918 attribute boolean enabled;
12919
12923 attribute unsigned long IOBase;
12924
12928 attribute unsigned long IRQ;
12929
12937 attribute wstring path;
12938
12939 };
12940
12941 interface IMachineDebugger : $unknown
12942 {
12946 attribute boolean singlestep;
12947
12951 attribute boolean recompileUser;
12952
12956 attribute boolean recompileSupervisor;
12957
12961 attribute boolean PATMEnabled;
12962
12966 attribute boolean CSAMEnabled;
12967
12971 attribute boolean logEnabled;
12972
12979 readonly attribute boolean HWVirtExEnabled;
12980
12987 readonly attribute boolean HWVirtExNestedPagingEnabled;
12988
12995 readonly attribute boolean HWVirtExVPIDEnabled;
12996
13003 readonly attribute boolean PAEEnabled;
13004
13011 attribute unsigned long virtualTimeRate;
13012
13019 readonly attribute unsigned long long VM;
13020
13028 void resetStats (
13029 in wstring pattern
13030 );
13031
13039 void dumpStats (
13040 in wstring pattern
13041 );
13042
13054 void getStats (
13055 in wstring pattern,
13056 in boolean withDescriptions,
13057 out wstring stats
13058 );
13059
13065 void injectNMI();
13066
13067 };
13068
13069 interface IUSBController : $unknown
13070 {
13079 attribute boolean enabled;
13080
13089 attribute boolean enabledEhci;
13090
13098 readonly attribute unsigned short USBStandard;
13099
13125 readonly attribute IUSBDeviceFilter[] deviceFilters;
13126
13154 void createDeviceFilter (
13155 in wstring name,
13156 [retval] out IUSBDeviceFilter filter
13157 );
13158
13203 void insertDeviceFilter (
13204 in unsigned long position,
13205 in IUSBDeviceFilter filter
13206 );
13207
13240 void removeDeviceFilter (
13241 in unsigned long position,
13242 [retval] out IUSBDeviceFilter filter
13243 );
13244
13245 };
13246
13259 interface IUSBDevice : $unknown
13260 {
13267 readonly attribute uuid id;
13268
13272 readonly attribute unsigned short vendorId;
13273
13277 readonly attribute unsigned short productId;
13278
13286 readonly attribute unsigned short revision;
13287
13291 readonly attribute wstring manufacturer;
13292
13296 readonly attribute wstring product;
13297
13301 readonly attribute wstring serialNumber;
13302
13306 readonly attribute wstring address;
13307
13314 readonly attribute unsigned short port;
13315
13321 readonly attribute unsigned short version;
13322
13330 readonly attribute unsigned short portVersion;
13331
13338 readonly attribute boolean remote;
13339
13340 };
13341
13415 interface IUSBDeviceFilter : $unknown
13416 {
13424 attribute wstring name;
13425
13429 attribute boolean active;
13430
13438 attribute wstring vendorId;
13439
13447 attribute wstring productId;
13448
13462 attribute wstring revision;
13463
13468 attribute wstring manufacturer;
13469
13474 attribute wstring product;
13475
13480 attribute wstring serialNumber;
13481
13486 attribute wstring port;
13487
13497 attribute wstring remote;
13498
13508 attribute unsigned long maskedInterfaces;
13509
13510 };
13511
13527 interface IHostUSBDevice : IUSBDevice
13528 {
13534 readonly attribute USBDeviceState state;
13535
13536 };
13537
13560 interface IHostUSBDeviceFilter : IUSBDeviceFilter
13561 {
13568 attribute USBDeviceFilterAction action;
13569
13570 };
13571
13580 interface IAudioAdapter : $unknown
13581 {
13590 attribute boolean enabled;
13591
13597 attribute AudioControllerType audioController;
13598
13605 attribute AudioDriverType audioDriver;
13606
13607 };
13608
13609 interface IVRDPServer : $unknown
13610 {
13614 attribute boolean enabled;
13615
13629 attribute unsigned long port;
13630
13634 attribute wstring netAddress;
13635
13639 attribute VRDPAuthType authType;
13640
13644 attribute unsigned long authTimeout;
13645
13652 attribute boolean allowMultiConnection;
13653
13661 attribute boolean reuseSingleConnection;
13662
13663 };
13664
13722 interface ISharedFolder : $unknown
13723 {
13727 readonly attribute wstring name;
13728
13732 readonly attribute wstring hostPath;
13733
13743 readonly attribute boolean accessible;
13744
13751 readonly attribute boolean writable;
13752
13765 readonly attribute wstring lastAccessError;
13766
13767 };
13768
13769 interface IInternalSessionControl : $unknown
13770 {
13775 void getPID (
13776 [retval] out unsigned long pid
13777 );
13778
13800 void getRemoteConsole (
13801 [retval] out IConsole console
13802 );
13803
13827 void assignMachine (
13828 in IMachine machine
13829 );
13830
13845 void assignRemoteMachine (
13846 in IMachine machine,
13847 in IConsole console
13848 );
13849
13873 void updateMachineState (
13874 in MachineState aMachineState
13875 );
13876
13892 void uninitialize();
13893
13916 void onDVDDriveChange();
13917
13940 void onFloppyDriveChange();
13941
13964 void onNetworkAdapterChange (
13965 in INetworkAdapter networkAdapter
13966 );
13967
13990 void onSerialPortChange (
13991 in ISerialPort serialPort
13992 );
13993
14016 void onParallelPortChange (
14017 in IParallelPort parallelPort
14018 );
14019
14042 void onStorageControllerChange();
14043
14066 void onVRDPServerChange();
14067
14090 void onUSBControllerChange();
14091
14120 void onSharedFolderChange (
14121 in boolean global
14122 );
14123
14149 void onUSBDeviceAttach (
14150 in IUSBDevice device,
14151 in IVirtualBoxErrorInfo error,
14152 in unsigned long maskedInterfaces
14153 );
14154
14179 void onUSBDeviceDetach (
14180 in uuid id,
14181 in IVirtualBoxErrorInfo error
14182 );
14183
14201 void onShowWindow (
14202 in boolean check,
14203 out boolean canShow,
14204 out unsigned long long winId
14205 );
14206
14230 void accessGuestProperty (
14231 in wstring name,
14232 in wstring value,
14233 in wstring flags,
14234 in boolean isSetter,
14235 out wstring retValue,
14236 out unsigned long long retTimestamp,
14237 out wstring retFlags
14238 );
14239
14287 void enumerateGuestProperties (
14288 in wstring patterns,
14289 out wstring[] key,
14290 out wstring[] value,
14291 out unsigned long long[] timestamp,
14292 out wstring[] flags
14293 );
14294
14295 };
14296
14373 interface ISession : $dispatched
14374 {
14378 readonly attribute SessionState state;
14379
14387 readonly attribute SessionType type;
14388
14392 readonly attribute IMachine machine;
14393
14397 readonly attribute IConsole console;
14398
14439 void close();
14440
14441 };
14442
14459 interface IStorageController : $unknown
14460 {
14469 readonly attribute wstring name;
14470
14476 readonly attribute unsigned long maxDevicesPerPortCount;
14477
14483 readonly attribute unsigned long minPortCount;
14484
14490 readonly attribute unsigned long maxPortCount;
14491
14497 attribute unsigned long instance;
14498
14507 attribute unsigned long portCount;
14508
14514 readonly attribute StorageBus bus;
14515
14525 attribute StorageControllerType controllerType;
14526
14548 void GetIDEEmulationPort (
14549 in long devicePosition,
14550 [retval] out long portNumber
14551 );
14552
14575 void SetIDEEmulationPort (
14576 in long devicePosition,
14577 in long portNumber
14578 );
14579
14580 };
14581
14605 interface IManagedObjectRef : $unknown
14606 {
14613 void getInterfaceName (
14614 [retval] out wstring return
14615 );
14616
14624 void release();
14625
14626 };
14627
14636 interface IWebsessionManager : $unknown
14637 {
14646 void logon (
14647 in wstring username,
14648 in wstring password,
14649 [retval] out IVirtualBox return
14650 );
14651
14661 void getSessionObject (
14662 in IVirtualBox refIVirtualBox,
14663 [retval] out ISession return
14664 );
14665
14673 void logoff (
14674 in IVirtualBox refIVirtualBox
14675 );
14676
14677 };
14678
14687 interface IPerformanceMetric : $unknown
14688 {
14694 readonly attribute wstring metricName;
14695
14701 readonly attribute $unknown object;
14702
14708 readonly attribute wstring description;
14709
14715 readonly attribute unsigned long period;
14716
14726 readonly attribute unsigned long count;
14727
14733 readonly attribute wstring unit;
14734
14740 readonly attribute long minimumValue;
14741
14747 readonly attribute long maximumValue;
14748
14749 };
14750
14846 interface IPerformanceCollector : $unknown
14847 {
14858 readonly attribute wstring[] metricNames;
14859
14883 void getMetrics (
14884 in wstring[] metricNames,
14885 in $unknown[] objects,
14886 [retval] out IPerformanceMetric[] metrics
14887 );
14888
14927 void setupMetrics (
14928 in wstring[] metricNames,
14929 in $unknown[] objects,
14930 in unsigned long period,
14931 in unsigned long count,
14932 [retval] out IPerformanceMetric[] affectedMetrics
14933 );
14934
14963 void enableMetrics (
14964 in wstring[] metricNames,
14965 in $unknown[] objects,
14966 [retval] out IPerformanceMetric[] affectedMetrics
14967 );
14968
14997 void disableMetrics (
14998 in wstring[] metricNames,
14999 in $unknown[] objects,
15000 [retval] out IPerformanceMetric[] affectedMetrics
15001 );
15002
15091 void queryMetricsData (
15092 in wstring[] metricNames,
15093 in $unknown[] objects,
15094 out wstring[] returnMetricNames,
15095 out $unknown[] returnObjects,
15096 out wstring[] returnUnits,
15097 out unsigned long[] returnScales,
15098 out unsigned long[] returnSequenceNumbers,
15099 out unsigned long[] returnDataIndices,
15100 out unsigned long[] returnDataLengths,
15101 [retval] out long[] returnData
15102 );
15103
15104 };
15105
15106