- Main Page
- Related Pages
- Modules
- Classes
- Files

# VirtualBox.idl

Go to the documentation of this file.

    00001
    00002 /*
    00003  *  DO NOT EDIT! This is a generated file.
    00004  *
    00005  *  Doxygen IDL definition for VirtualBox Main API (COM interfaces)
    00006  *  generated from XIDL (XML interface definition).
    00007  *
    00008  *  Source    : src/VBox/Main/idl/VirtualBox.xidl
    00009  *  Generator : src/VBox/Main/idl/doxygen.xsl
    00010  *
    00011  *  This IDL is generated using some generic OMG IDL-like syntax SOLELY
    00012  *  for the purpose of generating the documentation using Doxygen and
    00013  *  is not syntactically valid.
    00014  *
    00015  *  DO NOT USE THIS HEADER IN ANY OTHER WAY!
    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 }; /* interface IVirtualBoxErrorInfo */
    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 }; /* interface IVirtualBoxCallback */
    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 }; /* interface IDHCPServer */
    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 }; /* interface IVirtualBox */
    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 }; /* interface IAppliance */
    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 }; /* interface IVirtualSystemDescription */
    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 }; /* interface IInternalMachineControl */
    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 }; /* interface IBIOSSettings */
    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 }; /* interface IMachine */
    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 }; /* interface IConsoleCallback */
    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 }; /* interface IRemoteDisplayInfo */
    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 }; /* interface IConsole */
    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 }; /* interface IHostDVDDrive */
    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 }; /* interface IHostFloppyDrive */
    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 }; /* interface IHostNetworkInterface */
    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 }; /* interface IHost */
    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 }; /* interface ISystemProperties */
    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 }; /* interface IGuestOSType */
    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 }; /* interface IGuest */
    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 }; /* interface IProgress */
    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 }; /* interface ISnapshot */
    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 }; /* interface IMedium */
    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 }; /* interface IHardDiskAttachment */
    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
    11324     void compact (
    11325         [retval] out IProgress progress
    11326     );
    11327
    11359     void reset (
    11360         [retval] out IProgress progress
    11361     );
    11362
    11363 }; /* interface IHardDisk */
    11364
    11387 interface IHardDiskFormat : $unknown
    11388 {
    11407     readonly attribute wstring id;
    11408
    11416     readonly attribute wstring name;
    11417
    11433     readonly attribute wstring[] fileExtensions;
    11434
    11443     readonly attribute unsigned long capabilities;
    11444
    11474     void describeProperties (
    11475         out wstring[] names,
    11476         out wstring[] description,
    11477         out DataType[] types,
    11478         out unsigned long[] flags,
    11479         out wstring[] defaults
    11480     );
    11481
    11482 }; /* interface IHardDiskFormat */
    11483
    11492 interface IFloppyImage : IMedium
    11493 {
    11494 }; /* interface IFloppyImage */
    11495
    11506 interface IDVDImage : IMedium
    11507 {
    11508 }; /* interface IDVDImage */
    11509
    11519 interface IDVDDrive : $unknown
    11520 {
    11524     readonly attribute DriveState state;
    11525
    11534     attribute boolean passthrough;
    11535
    11562     void mountImage (
    11563         in uuid imageId
    11564     );
    11565
    11569     void captureHostDrive (
    11570         in IHostDVDDrive drive
    11571     );
    11572
    11576     void unmount();
    11577
    11581     void getImage (
    11582         [retval] out IDVDImage image
    11583     );
    11584
    11588     void getHostDrive (
    11589         [retval] out IHostDVDDrive drive
    11590     );
    11591
    11592 }; /* interface IDVDDrive */
    11593
    11603 interface IFloppyDrive : $unknown
    11604 {
    11611     attribute boolean enabled;
    11612
    11616     readonly attribute DriveState state;
    11617
    11644     void mountImage (
    11645         in uuid imageId
    11646     );
    11647
    11651     void captureHostDrive (
    11652         in IHostFloppyDrive drive
    11653     );
    11654
    11658     void unmount();
    11659
    11663     void getImage (
    11664         [retval] out IFloppyImage image
    11665     );
    11666
    11670     void getHostDrive (
    11671         [retval] out IHostFloppyDrive drive
    11672     );
    11673
    11674 }; /* interface IFloppyDrive */
    11675
    11688 interface IKeyboard : $unknown
    11689 {
    11702     void putScancode (
    11703         in long scancode
    11704     );
    11705
    11718     void putScancodes (
    11719         in long[] scancodes,
    11720         [retval] out unsigned long codesStored
    11721     );
    11722
    11737     void putCAD();
    11738
    11739 }; /* interface IKeyboard */
    11740
    11752 interface IMouse : $unknown
    11753 {
    11770     readonly attribute boolean absoluteSupported;
    11771
    11831     void putMouseEvent (
    11832         in long dx,
    11833         in long dy,
    11834         in long dz,
    11835         in long buttonState
    11836     );
    11837
    11904     void putMouseEventAbsolute (
    11905         in long x,
    11906         in long y,
    11907         in long dz,
    11908         in long buttonState
    11909     );
    11910
    11911 }; /* interface IMouse */
    11912
    11913 interface IFramebuffer : $unknown
    11914 {
    11923     readonly attribute octetPtr address;
    11924
    11928     readonly attribute unsigned long width;
    11929
    11933     readonly attribute unsigned long height;
    11934
    11941     readonly attribute unsigned long bitsPerPixel;
    11942
    11949     readonly attribute unsigned long bytesPerLine;
    11950
    11961     readonly attribute unsigned long pixelFormat;
    11962
    11969     readonly attribute boolean usesGuestVRAM;
    11970
    11980     readonly attribute unsigned long heightReduction;
    11981
    11996     readonly attribute IFramebufferOverlay overlay;
    11997
    12004     readonly attribute unsigned long long winId;
    12005
    12013     void lock();
    12014
    12022     void unlock();
    12023
    12031     void notifyUpdate (
    12032         in unsigned long x,
    12033         in unsigned long y,
    12034         in unsigned long width,
    12035         in unsigned long height,
    12036         [retval] out boolean finished
    12037     );
    12038
    12151     void requestResize (
    12152         in unsigned long screenId,
    12153         in unsigned long pixelFormat,
    12154         in octetPtr VRAM,
    12155         in unsigned long bitsPerPixel,
    12156         in unsigned long bytesPerLine,
    12157         in unsigned long width,
    12158         in unsigned long height,
    12159         [retval] out boolean finished
    12160     );
    12161
    12175     void operationSupported (
    12176         in FramebufferAccelerationOperation operation,
    12177         [retval] out boolean supported
    12178     );
    12179
    12191     void videoModeSupported (
    12192         in unsigned long width,
    12193         in unsigned long height,
    12194         in unsigned long bpp,
    12195         [retval] out boolean supported
    12196     );
    12197
    12203     void solidFill (
    12204         in unsigned long x,
    12205         in unsigned long y,
    12206         in unsigned long width,
    12207         in unsigned long height,
    12208         in unsigned long color,
    12209         [retval] out boolean handled
    12210     );
    12211
    12217     void copyScreenBits (
    12218         in unsigned long xDst,
    12219         in unsigned long yDst,
    12220         in unsigned long xSrc,
    12221         in unsigned long ySrc,
    12222         in unsigned long width,
    12223         in unsigned long height,
    12224         [retval] out boolean handled
    12225     );
    12226
    12263     void getVisibleRegion (
    12264         in octetPtr rectangles,
    12265         in unsigned long count,
    12266         [retval] out unsigned long countCopied
    12267     );
    12268
    12303     void setVisibleRegion (
    12304         in octetPtr rectangles,
    12305         in unsigned long count
    12306     );
    12307
    12308 }; /* interface IFramebuffer */
    12309
    12324 interface IFramebufferOverlay : IFramebuffer
    12325 {
    12329     readonly attribute unsigned long x;
    12330
    12334     readonly attribute unsigned long y;
    12335
    12341     attribute boolean visible;
    12342
    12349     attribute unsigned long alpha;
    12350
    12356     void move (
    12357         in unsigned long x,
    12358         in unsigned long y
    12359     );
    12360
    12361 }; /* interface IFramebufferOverlay */
    12362
    12378 interface IDisplay : $unknown
    12379 {
    12383     readonly attribute unsigned long width;
    12384
    12388     readonly attribute unsigned long height;
    12389
    12396     readonly attribute unsigned long bitsPerPixel;
    12397
    12403     void setupInternalFramebuffer (
    12404         in unsigned long depth
    12405     );
    12406
    12425     void lockFramebuffer (
    12426         [retval] out octetPtr address
    12427     );
    12428
    12442     void unlockFramebuffer();
    12443
    12449     void registerExternalFramebuffer (
    12450         in IFramebuffer framebuffer
    12451     );
    12452
    12458     void setFramebuffer (
    12459         in unsigned long screenId,
    12460         in IFramebuffer framebuffer
    12461     );
    12462
    12468     void getFramebuffer (
    12469         in unsigned long screenId,
    12470         out IFramebuffer framebuffer,
    12471         out long xOrigin,
    12472         out long yOrigin
    12473     );
    12474
    12503     void setVideoModeHint (
    12504         in unsigned long width,
    12505         in unsigned long height,
    12506         in unsigned long bitsPerPixel,
    12507         in unsigned long display
    12508     );
    12509
    12520     void setSeamlessMode (
    12521         in boolean enabled
    12522     );
    12523
    12551     void takeScreenShot (
    12552         in octetPtr address,
    12553         in unsigned long width,
    12554         in unsigned long height
    12555     );
    12556
    12584     void drawToScreen (
    12585         in octetPtr address,
    12586         in unsigned long x,
    12587         in unsigned long y,
    12588         in unsigned long width,
    12589         in unsigned long height
    12590     );
    12591
    12606     void invalidateAndUpdate();
    12607
    12621     void resizeCompleted (
    12622         in unsigned long screenId
    12623     );
    12624
    12638     void updateCompleted();
    12639
    12640 }; /* interface IDisplay */
    12641
    12657 interface INetworkAdapter : $unknown
    12658 {
    12666     attribute NetworkAdapterType adapterType;
    12667
    12675     readonly attribute unsigned long slot;
    12676
    12685     attribute boolean enabled;
    12686
    12693     attribute wstring MACAddress;
    12694
    12695     readonly attribute NetworkAttachmentType attachmentType;
    12696
    12702     attribute wstring hostInterface;
    12703
    12709     attribute wstring internalNetwork;
    12710
    12716     attribute wstring NATNetwork;
    12717
    12724     attribute boolean cableConnected;
    12725
    12731     attribute unsigned long lineSpeed;
    12732
    12739     attribute boolean traceEnabled;
    12740
    12747     attribute wstring traceFile;
    12748
    12754     void attachToNAT();
    12755
    12761     void attachToBridgedInterface();
    12762
    12768     void attachToInternalNetwork();
    12769
    12775     void attachToHostOnlyInterface();
    12776
    12782     void detach();
    12783
    12784 }; /* interface INetworkAdapter */
    12785
    12814 interface ISerialPort : $unknown
    12815 {
    12823     readonly attribute unsigned long slot;
    12824
    12831     attribute boolean enabled;
    12832
    12836     attribute unsigned long IOBase;
    12837
    12841     attribute unsigned long IRQ;
    12842
    12853     attribute PortMode hostMode;
    12854
    12862     attribute boolean server;
    12863
    12873     attribute wstring path;
    12874
    12875 }; /* interface ISerialPort */
    12876
    12896 interface IParallelPort : $unknown
    12897 {
    12905     readonly attribute unsigned long slot;
    12906
    12913     attribute boolean enabled;
    12914
    12918     attribute unsigned long IOBase;
    12919
    12923     attribute unsigned long IRQ;
    12924
    12932     attribute wstring path;
    12933
    12934 }; /* interface IParallelPort */
    12935
    12936 interface IMachineDebugger : $unknown
    12937 {
    12941     attribute boolean singlestep;
    12942
    12946     attribute boolean recompileUser;
    12947
    12951     attribute boolean recompileSupervisor;
    12952
    12956     attribute boolean PATMEnabled;
    12957
    12961     attribute boolean CSAMEnabled;
    12962
    12966     attribute boolean logEnabled;
    12967
    12974     readonly attribute boolean HWVirtExEnabled;
    12975
    12982     readonly attribute boolean HWVirtExNestedPagingEnabled;
    12983
    12990     readonly attribute boolean HWVirtExVPIDEnabled;
    12991
    12998     readonly attribute boolean PAEEnabled;
    12999
    13006     attribute unsigned long virtualTimeRate;
    13007
    13014     readonly attribute unsigned long long VM;
    13015
    13023     void resetStats (
    13024         in wstring pattern
    13025     );
    13026
    13034     void dumpStats (
    13035         in wstring pattern
    13036     );
    13037
    13049     void getStats (
    13050         in wstring pattern,
    13051         in boolean withDescriptions,
    13052         out wstring stats
    13053     );
    13054
    13060     void injectNMI();
    13061
    13062 }; /* interface IMachineDebugger */
    13063
    13064 interface IUSBController : $unknown
    13065 {
    13074     attribute boolean enabled;
    13075
    13084     attribute boolean enabledEhci;
    13085
    13093     readonly attribute unsigned short USBStandard;
    13094
    13120     readonly attribute IUSBDeviceFilter[] deviceFilters;
    13121
    13149     void createDeviceFilter (
    13150         in wstring name,
    13151         [retval] out IUSBDeviceFilter filter
    13152     );
    13153
    13198     void insertDeviceFilter (
    13199         in unsigned long position,
    13200         in IUSBDeviceFilter filter
    13201     );
    13202
    13235     void removeDeviceFilter (
    13236         in unsigned long position,
    13237         [retval] out IUSBDeviceFilter filter
    13238     );
    13239
    13240 }; /* interface IUSBController */
    13241
    13254 interface IUSBDevice : $unknown
    13255 {
    13262     readonly attribute uuid id;
    13263
    13267     readonly attribute unsigned short vendorId;
    13268
    13272     readonly attribute unsigned short productId;
    13273
    13281     readonly attribute unsigned short revision;
    13282
    13286     readonly attribute wstring manufacturer;
    13287
    13291     readonly attribute wstring product;
    13292
    13296     readonly attribute wstring serialNumber;
    13297
    13301     readonly attribute wstring address;
    13302
    13309     readonly attribute unsigned short port;
    13310
    13316     readonly attribute unsigned short version;
    13317
    13325     readonly attribute unsigned short portVersion;
    13326
    13333     readonly attribute boolean remote;
    13334
    13335 }; /* interface IUSBDevice */
    13336
    13410 interface IUSBDeviceFilter : $unknown
    13411 {
    13419     attribute wstring name;
    13420
    13424     attribute boolean active;
    13425
    13433     attribute wstring vendorId;
    13434
    13442     attribute wstring productId;
    13443
    13457     attribute wstring revision;
    13458
    13463     attribute wstring manufacturer;
    13464
    13469     attribute wstring product;
    13470
    13475     attribute wstring serialNumber;
    13476
    13481     attribute wstring port;
    13482
    13492     attribute wstring remote;
    13493
    13503     attribute unsigned long maskedInterfaces;
    13504
    13505 }; /* interface IUSBDeviceFilter */
    13506
    13522 interface IHostUSBDevice : IUSBDevice
    13523 {
    13529     readonly attribute USBDeviceState state;
    13530
    13531 }; /* interface IHostUSBDevice */
    13532
    13555 interface IHostUSBDeviceFilter : IUSBDeviceFilter
    13556 {
    13563     attribute USBDeviceFilterAction action;
    13564
    13565 }; /* interface IHostUSBDeviceFilter */
    13566
    13575 interface IAudioAdapter : $unknown
    13576 {
    13585     attribute boolean enabled;
    13586
    13592     attribute AudioControllerType audioController;
    13593
    13600     attribute AudioDriverType audioDriver;
    13601
    13602 }; /* interface IAudioAdapter */
    13603
    13604 interface IVRDPServer : $unknown
    13605 {
    13609     attribute boolean enabled;
    13610
    13624     attribute unsigned long port;
    13625
    13629     attribute wstring netAddress;
    13630
    13634     attribute VRDPAuthType authType;
    13635
    13639     attribute unsigned long authTimeout;
    13640
    13647     attribute boolean allowMultiConnection;
    13648
    13656     attribute boolean reuseSingleConnection;
    13657
    13658 }; /* interface IVRDPServer */
    13659
    13717 interface ISharedFolder : $unknown
    13718 {
    13722     readonly attribute wstring name;
    13723
    13727     readonly attribute wstring hostPath;
    13728
    13738     readonly attribute boolean accessible;
    13739
    13746     readonly attribute boolean writable;
    13747
    13760     readonly attribute wstring lastAccessError;
    13761
    13762 }; /* interface ISharedFolder */
    13763
    13764 interface IInternalSessionControl : $unknown
    13765 {
    13770     void getPID (
    13771         [retval] out unsigned long pid
    13772     );
    13773
    13795     void getRemoteConsole (
    13796         [retval] out IConsole console
    13797     );
    13798
    13822     void assignMachine (
    13823         in IMachine machine
    13824     );
    13825
    13840     void assignRemoteMachine (
    13841         in IMachine machine,
    13842         in IConsole console
    13843     );
    13844
    13868     void updateMachineState (
    13869         in MachineState aMachineState
    13870     );
    13871
    13887     void uninitialize();
    13888
    13911     void onDVDDriveChange();
    13912
    13935     void onFloppyDriveChange();
    13936
    13959     void onNetworkAdapterChange (
    13960         in INetworkAdapter networkAdapter
    13961     );
    13962
    13985     void onSerialPortChange (
    13986         in ISerialPort serialPort
    13987     );
    13988
    14011     void onParallelPortChange (
    14012         in IParallelPort parallelPort
    14013     );
    14014
    14037     void onStorageControllerChange();
    14038
    14061     void onVRDPServerChange();
    14062
    14085     void onUSBControllerChange();
    14086
    14115     void onSharedFolderChange (
    14116         in boolean global
    14117     );
    14118
    14144     void onUSBDeviceAttach (
    14145         in IUSBDevice device,
    14146         in IVirtualBoxErrorInfo error,
    14147         in unsigned long maskedInterfaces
    14148     );
    14149
    14174     void onUSBDeviceDetach (
    14175         in uuid id,
    14176         in IVirtualBoxErrorInfo error
    14177     );
    14178
    14196     void onShowWindow (
    14197         in boolean check,
    14198         out boolean canShow,
    14199         out unsigned long long winId
    14200     );
    14201
    14225     void accessGuestProperty (
    14226         in wstring name,
    14227         in wstring value,
    14228         in wstring flags,
    14229         in boolean isSetter,
    14230         out wstring retValue,
    14231         out unsigned long long retTimestamp,
    14232         out wstring retFlags
    14233     );
    14234
    14282     void enumerateGuestProperties (
    14283         in wstring patterns,
    14284         out wstring[] key,
    14285         out wstring[] value,
    14286         out unsigned long long[] timestamp,
    14287         out wstring[] flags
    14288     );
    14289
    14290 }; /* interface IInternalSessionControl */
    14291
    14368 interface ISession : $dispatched
    14369 {
    14373     readonly attribute SessionState state;
    14374
    14382     readonly attribute SessionType type;
    14383
    14387     readonly attribute IMachine machine;
    14388
    14392     readonly attribute IConsole console;
    14393
    14434     void close();
    14435
    14436 }; /* interface ISession */
    14437
    14454 interface IStorageController : $unknown
    14455 {
    14464     readonly attribute wstring name;
    14465
    14471     readonly attribute unsigned long maxDevicesPerPortCount;
    14472
    14478     readonly attribute unsigned long minPortCount;
    14479
    14485     readonly attribute unsigned long maxPortCount;
    14486
    14492     attribute unsigned long instance;
    14493
    14502     attribute unsigned long portCount;
    14503
    14509     readonly attribute StorageBus bus;
    14510
    14520     attribute StorageControllerType controllerType;
    14521
    14543     void GetIDEEmulationPort (
    14544         in long devicePosition,
    14545         [retval] out long portNumber
    14546     );
    14547
    14570     void SetIDEEmulationPort (
    14571         in long devicePosition,
    14572         in long portNumber
    14573     );
    14574
    14575 }; /* interface IStorageController */
    14576
    14600 interface IManagedObjectRef : $unknown
    14601 {
    14608     void getInterfaceName (
    14609         [retval] out wstring return
    14610     );
    14611
    14619     void release();
    14620
    14621 }; /* interface IManagedObjectRef */
    14622
    14631 interface IWebsessionManager : $unknown
    14632 {
    14641     void logon (
    14642         in wstring username,
    14643         in wstring password,
    14644         [retval] out IVirtualBox return
    14645     );
    14646
    14656     void getSessionObject (
    14657         in IVirtualBox refIVirtualBox,
    14658         [retval] out ISession return
    14659     );
    14660
    14668     void logoff (
    14669         in IVirtualBox refIVirtualBox
    14670     );
    14671
    14672 }; /* interface IWebsessionManager */
    14673
    14682 interface IPerformanceMetric : $unknown
    14683 {
    14689     readonly attribute wstring metricName;
    14690
    14696     readonly attribute $unknown object;
    14697
    14703     readonly attribute wstring description;
    14704
    14710     readonly attribute unsigned long period;
    14711
    14721     readonly attribute unsigned long count;
    14722
    14728     readonly attribute wstring unit;
    14729
    14735     readonly attribute long minimumValue;
    14736
    14742     readonly attribute long maximumValue;
    14743
    14744 }; /* interface IPerformanceMetric */
    14745
    14841 interface IPerformanceCollector : $unknown
    14842 {
    14853     readonly attribute wstring[] metricNames;
    14854
    14878     void getMetrics (
    14879         in wstring[] metricNames,
    14880         in $unknown[] objects,
    14881         [retval] out IPerformanceMetric[] metrics
    14882     );
    14883
    14922     void setupMetrics (
    14923         in wstring[] metricNames,
    14924         in $unknown[] objects,
    14925         in unsigned long period,
    14926         in unsigned long count,
    14927         [retval] out IPerformanceMetric[] affectedMetrics
    14928     );
    14929
    14958     void enableMetrics (
    14959         in wstring[] metricNames,
    14960         in $unknown[] objects,
    14961         [retval] out IPerformanceMetric[] affectedMetrics
    14962     );
    14963
    14992     void disableMetrics (
    14993         in wstring[] metricNames,
    14994         in $unknown[] objects,
    14995         [retval] out IPerformanceMetric[] affectedMetrics
    14996     );
    14997
    15086     void queryMetricsData (
    15087         in wstring[] metricNames,
    15088         in $unknown[] objects,
    15089         out wstring[] returnMetricNames,
    15090         out $unknown[] returnObjects,
    15091         out wstring[] returnUnits,
    15092         out unsigned long[] returnScales,
    15093         out unsigned long[] returnSequenceNumbers,
    15094         out unsigned long[] returnDataIndices,
    15095         out unsigned long[] returnDataLengths,
    15096         [retval] out long[] returnData
    15097     );
    15098
    15099 }; /* interface IPerformanceCollector */
    15100
    15101