From e0978ab2ed407095400a69d5933958dd260058cd Mon Sep 17 00:00:00 2001 From: Clinton Kitson Date: Fri, 11 Dec 2015 10:44:32 -0800 Subject: [PATCH] Updates for vbox 5.0.10 This commit brings in support for virtual box 5.0.10. --- vboxwebsrv/vboxwebsrv.go | 4889 +++++++++++++++++++----- virtualboxclient/hard_disk.go | 49 + virtualboxclient/machine.go | 226 +- virtualboxclient/medium.go | 310 +- virtualboxclient/medium_attachment.go | 13 + virtualboxclient/progress.go | 31 + virtualboxclient/session.go | 49 + virtualboxclient/state.go | 7 + virtualboxclient/storage_controller.go | 77 + virtualboxclient/system_properties.go | 24 + virtualboxclient/virtualbox.go | 177 +- 11 files changed, 4802 insertions(+), 1050 deletions(-) create mode 100644 virtualboxclient/hard_disk.go create mode 100644 virtualboxclient/medium_attachment.go create mode 100644 virtualboxclient/session.go create mode 100644 virtualboxclient/state.go diff --git a/vboxwebsrv/vboxwebsrv.go b/vboxwebsrv/vboxwebsrv.go index 93ad76b..4e42cf4 100644 --- a/vboxwebsrv/vboxwebsrv.go +++ b/vboxwebsrv/vboxwebsrv.go @@ -52,6 +52,8 @@ const ( SettingsVersionV114 SettingsVersion = "v114" + SettingsVersionV115 SettingsVersion = "v115" + SettingsVersionFuture SettingsVersion = "Future" ) @@ -104,12 +106,16 @@ const ( MachineStateDeletingSnapshotPaused MachineState = "DeletingSnapshotPaused" + MachineStateOnlineSnapshotting MachineState = "OnlineSnapshotting" + MachineStateRestoringSnapshot MachineState = "RestoringSnapshot" MachineStateDeletingSnapshot MachineState = "DeletingSnapshot" MachineStateSettingUp MachineState = "SettingUp" + MachineStateSnapshotting MachineState = "Snapshotting" + MachineStateFirstOnline MachineState = "FirstOnline" MachineStateLastOnline MachineState = "LastOnline" @@ -140,8 +146,6 @@ const ( CPUPropertyTypePAE CPUPropertyType = "PAE" - CPUPropertyTypeSynthetic CPUPropertyType = "Synthetic" - CPUPropertyTypeLongMode CPUPropertyType = "LongMode" CPUPropertyTypeTripleFaultReset CPUPropertyType = "TripleFaultReset" @@ -165,6 +169,22 @@ const ( HWVirtExPropertyTypeForce HWVirtExPropertyType = "Force" ) +type ParavirtProvider string + +const ( + ParavirtProviderNone ParavirtProvider = "None" + + ParavirtProviderDefault ParavirtProvider = "Default" + + ParavirtProviderLegacy ParavirtProvider = "Legacy" + + ParavirtProviderMinimal ParavirtProvider = "Minimal" + + ParavirtProviderHyperV ParavirtProvider = "HyperV" + + ParavirtProviderKVM ParavirtProvider = "KVM" +) + type FaultToleranceState string const ( @@ -178,10 +198,12 @@ const ( type LockType string const ( - LockTypeWrite LockType = "Write" + LockTypeNull LockType = "Null" LockTypeShared LockType = "Shared" + LockTypeWrite LockType = "Write" + LockTypeVM LockType = "VM" ) @@ -213,6 +235,8 @@ const ( DeviceTypeUSB DeviceType = "USB" DeviceTypeSharedFolder DeviceType = "SharedFolder" + + DeviceTypeGraphics3D DeviceType = "Graphics3D" ) type DeviceActivity string @@ -239,16 +263,16 @@ const ( ClipboardModeBidirectional ClipboardMode = "Bidirectional" ) -type DragAndDropMode string +type DnDMode string const ( - DragAndDropModeDisabled DragAndDropMode = "Disabled" + DnDModeDisabled DnDMode = "Disabled" - DragAndDropModeHostToGuest DragAndDropMode = "HostToGuest" + DnDModeHostToGuest DnDMode = "HostToGuest" - DragAndDropModeGuestToHost DragAndDropMode = "GuestToHost" + DnDModeGuestToHost DnDMode = "GuestToHost" - DragAndDropModeBidirectional DragAndDropMode = "Bidirectional" + DnDModeBidirectional DnDMode = "Bidirectional" ) type Scope string @@ -325,6 +349,24 @@ const ( KeyboardHIDTypeComboKeyboard KeyboardHIDType = "ComboKeyboard" ) +type BitmapFormat string + +const ( + BitmapFormatOpaque BitmapFormat = "Opaque" + + BitmapFormatBGR BitmapFormat = "BGR" + + BitmapFormatBGR0 BitmapFormat = "BGR0" + + BitmapFormatBGRA BitmapFormat = "BGRA" + + BitmapFormatRGBA BitmapFormat = "RGBA" + + BitmapFormatPNG BitmapFormat = "PNG" + + BitmapFormatJPEG BitmapFormat = "JPEG" +) + type DhcpOpt string const ( @@ -455,38 +497,24 @@ const ( DhcpOptOption119 DhcpOpt = "Option119" ) -type VFSType string +type DhcpOptEncoding string const ( - VFSTypeFile VFSType = "File" - - VFSTypeCloud VFSType = "Cloud" - - VFSTypeS3 VFSType = "S3" + DhcpOptEncodingLegacy DhcpOptEncoding = "Legacy" - VFSTypeWebDav VFSType = "WebDav" + DhcpOptEncodingHex DhcpOptEncoding = "Hex" ) -type VFSFileType string +type VFSType string const ( - VFSFileTypeUnknown VFSFileType = "Unknown" - - VFSFileTypeFifo VFSFileType = "Fifo" - - VFSFileTypeDevChar VFSFileType = "DevChar" - - VFSFileTypeDirectory VFSFileType = "Directory" - - VFSFileTypeDevBlock VFSFileType = "DevBlock" - - VFSFileTypeFile VFSFileType = "File" + VFSTypeFile VFSType = "File" - VFSFileTypeSymLink VFSFileType = "SymLink" + VFSTypeCloud VFSType = "Cloud" - VFSFileTypeSocket VFSFileType = "Socket" + VFSTypeS3 VFSType = "S3" - VFSFileTypeWhiteOut VFSFileType = "WhiteOut" + VFSTypeWebDav VFSType = "WebDav" ) type ImportOptions string @@ -495,6 +523,8 @@ const ( ImportOptionsKeepAllMACs ImportOptions = "KeepAllMACs" ImportOptionsKeepNATMACs ImportOptions = "KeepNATMACs" + + ImportOptionsImportToVDI ImportOptions = "ImportToVDI" ) type ExportOptions string @@ -827,12 +857,14 @@ const ( GuestUserStateElevated GuestUserState = "Elevated" ) -type FileSeekType string +type FileSeekOrigin string const ( - FileSeekTypeSet FileSeekType = "Set" + FileSeekOriginBegin FileSeekOrigin = "Begin" - FileSeekTypeCurrent FileSeekType = "Current" + FileSeekOriginCurrent FileSeekOrigin = "Current" + + FileSeekOriginEnd FileSeekOrigin = "End" ) type ProcessInputFlag string @@ -891,16 +923,28 @@ const ( ProcessWaitResultWaitFlagNotSupported ProcessWaitResult = "WaitFlagNotSupported" ) -type CopyFileFlag string +type FileCopyFlag string const ( - CopyFileFlagNone CopyFileFlag = "None" + FileCopyFlagNone FileCopyFlag = "None" - CopyFileFlagRecursive CopyFileFlag = "Recursive" + FileCopyFlagNoReplace FileCopyFlag = "NoReplace" - CopyFileFlagUpdate CopyFileFlag = "Update" + FileCopyFlagFollowLinks FileCopyFlag = "FollowLinks" - CopyFileFlagFollowLinks CopyFileFlag = "FollowLinks" + FileCopyFlagUpdate FileCopyFlag = "Update" +) + +type FsObjMoveFlags string + +const ( + FsObjMoveFlagsNone FsObjMoveFlags = "None" + + FsObjMoveFlagsReplace FsObjMoveFlags = "Replace" + + FsObjMoveFlagsFollowLinks FsObjMoveFlags = "FollowLinks" + + FsObjMoveFlagsAllowDirectoryMoves FsObjMoveFlags = "AllowDirectoryMoves" ) type DirectoryCreateFlag string @@ -911,6 +955,14 @@ const ( DirectoryCreateFlagParents DirectoryCreateFlag = "Parents" ) +type DirectoryCopyFlags string + +const ( + DirectoryCopyFlagsNone DirectoryCopyFlags = "None" + + DirectoryCopyFlagsCopyIntoExisting DirectoryCopyFlags = "CopyIntoExisting" +) + type DirectoryRemoveRecFlag string const ( @@ -921,16 +973,12 @@ const ( DirectoryRemoveRecFlagContentOnly DirectoryRemoveRecFlag = "ContentOnly" ) -type PathRenameFlag string +type FsObjRenameFlag string const ( - PathRenameFlagNone PathRenameFlag = "None" - - PathRenameFlagNoReplace PathRenameFlag = "NoReplace" + FsObjRenameFlagNoReplace FsObjRenameFlag = "NoReplace" - PathRenameFlagReplace PathRenameFlag = "Replace" - - PathRenameFlagNoSymlinks PathRenameFlag = "NoSymlinks" + FsObjRenameFlagReplace FsObjRenameFlag = "Replace" ) type ProcessCreateFlag string @@ -1023,6 +1071,70 @@ const ( ProcessInputStatusOverflow ProcessInputStatus = "Overflow" ) +type PathStyle string + +const ( + PathStyleDOS PathStyle = "DOS" + + PathStyleUNIX PathStyle = "UNIX" + + PathStyleUnknown PathStyle = "Unknown" +) + +type FileAccessMode string + +const ( + FileAccessModeReadOnly FileAccessMode = "ReadOnly" + + FileAccessModeWriteOnly FileAccessMode = "WriteOnly" + + FileAccessModeReadWrite FileAccessMode = "ReadWrite" + + FileAccessModeAppendOnly FileAccessMode = "AppendOnly" + + FileAccessModeAppendRead FileAccessMode = "AppendRead" +) + +type FileOpenAction string + +const ( + FileOpenActionOpenExisting FileOpenAction = "OpenExisting" + + FileOpenActionOpenOrCreate FileOpenAction = "OpenOrCreate" + + FileOpenActionCreateNew FileOpenAction = "CreateNew" + + FileOpenActionCreateOrReplace FileOpenAction = "CreateOrReplace" + + FileOpenActionOpenExistingTruncated FileOpenAction = "OpenExistingTruncated" + + FileOpenActionAppendOrCreate FileOpenAction = "AppendOrCreate" +) + +type FileSharingMode string + +const ( + FileSharingModeRead FileSharingMode = "Read" + + FileSharingModeWrite FileSharingMode = "Write" + + FileSharingModeReadWrite FileSharingMode = "ReadWrite" + + FileSharingModeDelete FileSharingMode = "Delete" + + FileSharingModeReadDelete FileSharingMode = "ReadDelete" + + FileSharingModeWriteDelete FileSharingMode = "WriteDelete" + + FileSharingModeAll FileSharingMode = "All" +) + +type FileOpenExFlags string + +const ( + FileOpenExFlagsNone FileOpenExFlags = "None" +) + type FileStatus string const ( @@ -1044,35 +1156,35 @@ const ( type FsObjType string const ( - FsObjTypeUndefined FsObjType = "Undefined" + FsObjTypeUnknown FsObjType = "Unknown" - FsObjTypeFIFO FsObjType = "FIFO" + FsObjTypeFifo FsObjType = "Fifo" FsObjTypeDevChar FsObjType = "DevChar" - FsObjTypeDevBlock FsObjType = "DevBlock" - FsObjTypeDirectory FsObjType = "Directory" + FsObjTypeDevBlock FsObjType = "DevBlock" + FsObjTypeFile FsObjType = "File" FsObjTypeSymlink FsObjType = "Symlink" FsObjTypeSocket FsObjType = "Socket" - FsObjTypeWhiteout FsObjType = "Whiteout" + FsObjTypeWhiteOut FsObjType = "WhiteOut" ) -type DragAndDropAction string +type DnDAction string const ( - DragAndDropActionIgnore DragAndDropAction = "Ignore" + DnDActionIgnore DnDAction = "Ignore" - DragAndDropActionCopy DragAndDropAction = "Copy" + DnDActionCopy DnDAction = "Copy" - DragAndDropActionMove DragAndDropAction = "Move" + DnDActionMove DnDAction = "Move" - DragAndDropActionLink DragAndDropAction = "Link" + DnDActionLink DnDAction = "Link" ) type DirectoryOpenFlag string @@ -1130,6 +1242,8 @@ const ( MediumVariantVmdkESX MediumVariant = "VmdkESX" + MediumVariantVdiZeroExpand MediumVariant = "VdiZeroExpand" + MediumVariantFixed MediumVariant = "Fixed" MediumVariantDiff MediumVariant = "Diff" @@ -1187,6 +1301,16 @@ const ( MediumFormatCapabilitiesCapabilityMask MediumFormatCapabilities = "CapabilityMask" ) +type KeyboardLED string + +const ( + KeyboardLEDNumLock KeyboardLED = "NumLock" + + KeyboardLEDCapsLock KeyboardLED = "CapsLock" + + KeyboardLEDScrollLock KeyboardLED = "ScrollLock" +) + type MouseButtonState string const ( @@ -1219,12 +1343,22 @@ const ( TouchContactStateContactStateMask TouchContactState = "ContactStateMask" ) -type FramebufferPixelFormat string +type FramebufferCapabilities string const ( - FramebufferPixelFormatOpaque FramebufferPixelFormat = "Opaque" + FramebufferCapabilitiesUpdateImage FramebufferCapabilities = "UpdateImage" - FramebufferPixelFormatFOURCCRGB FramebufferPixelFormat = "FOURCCRGB" + FramebufferCapabilitiesVHWA FramebufferCapabilities = "VHWA" + + FramebufferCapabilitiesVisibleRegion FramebufferCapabilities = "VisibleRegion" +) + +type GuestMonitorStatus string + +const ( + GuestMonitorStatusDisabled GuestMonitorStatus = "Disabled" + + GuestMonitorStatusEnabled GuestMonitorStatus = "Enabled" ) type NetworkAttachmentType string @@ -1283,6 +1417,8 @@ const ( PortModeHostDevice PortMode = "HostDevice" PortModeRawFile PortMode = "RawFile" + + PortModeTCP PortMode = "TCP" ) type USBControllerType string @@ -1294,9 +1430,27 @@ const ( USBControllerTypeEHCI USBControllerType = "EHCI" + USBControllerTypeXHCI USBControllerType = "XHCI" + USBControllerTypeLast USBControllerType = "Last" ) +type USBConnectionSpeed string + +const ( + USBConnectionSpeedNull USBConnectionSpeed = "Null" + + USBConnectionSpeedLow USBConnectionSpeed = "Low" + + USBConnectionSpeedFull USBConnectionSpeed = "Full" + + USBConnectionSpeedHigh USBConnectionSpeed = "High" + + USBConnectionSpeedSuper USBConnectionSpeed = "Super" + + USBConnectionSpeedSuperPlus USBConnectionSpeed = "SuperPlus" +) + type USBDeviceState string const ( @@ -1355,6 +1509,20 @@ const ( AudioControllerTypeHDA AudioControllerType = "HDA" ) +type AudioCodecType string + +const ( + AudioCodecTypeNull AudioCodecType = "Null" + + AudioCodecTypeSB16 AudioCodecType = "SB16" + + AudioCodecTypeSTAC9700 AudioCodecType = "STAC9700" + + AudioCodecTypeAD1980 AudioCodecType = "AD1980" + + AudioCodecTypeSTAC9221 AudioCodecType = "STAC9221" +) + type AuthType string const ( @@ -1375,6 +1543,8 @@ const ( ReasonHostResume Reason = "HostResume" ReasonHostBatteryLow Reason = "HostBatteryLow" + + ReasonSnapshot Reason = "Snapshot" ) type StorageBus string @@ -1391,6 +1561,8 @@ const ( StorageBusFloppy StorageBus = "Floppy" StorageBusSAS StorageBus = "SAS" + + StorageBusUSB StorageBus = "USB" ) type StorageControllerType string @@ -1413,6 +1585,8 @@ const ( StorageControllerTypeI82078 StorageControllerType = "I82078" StorageControllerTypeLsiLogicSas StorageControllerType = "LsiLogicSas" + + StorageControllerTypeUSB StorageControllerType = "USB" ) type ChipsetType string @@ -1552,7 +1726,7 @@ const ( VBoxEventTypeOnClipboardModeChanged VBoxEventType = "OnClipboardModeChanged" - VBoxEventTypeOnDragAndDropModeChanged VBoxEventType = "OnDragAndDropModeChanged" + VBoxEventTypeOnDnDModeChanged VBoxEventType = "OnDnDModeChanged" VBoxEventTypeOnNATNetworkChanged VBoxEventType = "OnNATNetworkChanged" @@ -1596,6 +1770,10 @@ const ( VBoxEventTypeOnHostNameResolutionConfigurationChange VBoxEventType = "OnHostNameResolutionConfigurationChange" + VBoxEventTypeOnSnapshotRestored VBoxEventType = "OnSnapshotRestored" + + VBoxEventTypeOnMediumConfigChanged VBoxEventType = "OnMediumConfigChanged" + VBoxEventTypeLast VBoxEventType = "Last" ) @@ -2276,6 +2454,18 @@ type IVirtualBoxgetAPIVersionResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IVirtualBoxgetAPIRevision struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_getAPIRevision"` + + This string `xml:"_this,omitempty"` +} + +type IVirtualBoxgetAPIRevisionResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_getAPIRevisionResponse"` + + Returnval int64 `xml:"returnval,omitempty"` +} + type IVirtualBoxgetHomeFolder struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_getHomeFolder"` @@ -2600,16 +2790,18 @@ type IVirtualBoxcreateApplianceResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IVirtualBoxcreateHardDisk struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_createHardDisk"` +type IVirtualBoxcreateMedium struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_createMedium"` - This string `xml:"_this,omitempty"` - Format string `xml:"format,omitempty"` - Location string `xml:"location,omitempty"` + This string `xml:"_this,omitempty"` + Format string `xml:"format,omitempty"` + Location string `xml:"location,omitempty"` + AccessMode *AccessMode `xml:"accessMode,omitempty"` + ADeviceTypeType *DeviceType `xml:"aDeviceTypeType,omitempty"` } -type IVirtualBoxcreateHardDiskResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_createHardDiskResponse"` +type IVirtualBoxcreateMediumResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualBox_createMediumResponse"` Returnval string `xml:"returnval,omitempty"` } @@ -3032,6 +3224,43 @@ type IAppliancegetWarningsResponse struct { Returnval []string `xml:"returnval,omitempty"` } +type IAppliancegetPasswordIds struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAppliance_getPasswordIds"` + + This string `xml:"_this,omitempty"` +} + +type IAppliancegetPasswordIdsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAppliance_getPasswordIdsResponse"` + + Returnval []string `xml:"returnval,omitempty"` +} + +type IAppliancegetMediumIdsForPasswordId struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAppliance_getMediumIdsForPasswordId"` + + This string `xml:"_this,omitempty"` + PasswordId string `xml:"passwordId,omitempty"` +} + +type IAppliancegetMediumIdsForPasswordIdResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAppliance_getMediumIdsForPasswordIdResponse"` + + Returnval []string `xml:"returnval,omitempty"` +} + +type IApplianceaddPasswords struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAppliance_addPasswords"` + + This string `xml:"_this,omitempty"` + Identifiers []string `xml:"identifiers,omitempty"` + Passwords []string `xml:"passwords,omitempty"` +} + +type IApplianceaddPasswordsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAppliance_addPasswordsResponse"` +} + type IVirtualSystemDescriptiongetCount struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IVirtualSystemDescription_getCount"` @@ -3706,6 +3935,29 @@ type IMachinesetCPUExecutionCapResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setCPUExecutionCapResponse"` } +type IMachinegetCPUIDPortabilityLevel struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getCPUIDPortabilityLevel"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetCPUIDPortabilityLevelResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getCPUIDPortabilityLevelResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMachinesetCPUIDPortabilityLevel struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setCPUIDPortabilityLevel"` + + This string `xml:"_this,omitempty"` + CPUIDPortabilityLevel uint32 `xml:"CPUIDPortabilityLevel,omitempty"` +} + +type IMachinesetCPUIDPortabilityLevelResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setCPUIDPortabilityLevelResponse"` +} + type IMachinegetMemorySize struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getMemorySize"` @@ -4051,6 +4303,75 @@ type IMachinesetVideoCaptureFPSResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureFPSResponse"` } +type IMachinegetVideoCaptureMaxTime struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVideoCaptureMaxTime"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetVideoCaptureMaxTimeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVideoCaptureMaxTimeResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMachinesetVideoCaptureMaxTime struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureMaxTime"` + + This string `xml:"_this,omitempty"` + VideoCaptureMaxTime uint32 `xml:"videoCaptureMaxTime,omitempty"` +} + +type IMachinesetVideoCaptureMaxTimeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureMaxTimeResponse"` +} + +type IMachinegetVideoCaptureMaxFileSize struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVideoCaptureMaxFileSize"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetVideoCaptureMaxFileSizeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVideoCaptureMaxFileSizeResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMachinesetVideoCaptureMaxFileSize struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureMaxFileSize"` + + This string `xml:"_this,omitempty"` + VideoCaptureMaxFileSize uint32 `xml:"videoCaptureMaxFileSize,omitempty"` +} + +type IMachinesetVideoCaptureMaxFileSizeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureMaxFileSizeResponse"` +} + +type IMachinegetVideoCaptureOptions struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVideoCaptureOptions"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetVideoCaptureOptionsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVideoCaptureOptionsResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachinesetVideoCaptureOptions struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureOptions"` + + This string `xml:"_this,omitempty"` + VideoCaptureOptions string `xml:"videoCaptureOptions,omitempty"` +} + +type IMachinesetVideoCaptureOptionsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVideoCaptureOptionsResponse"` +} + type IMachinegetBIOSSettings struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getBIOSSettings"` @@ -4332,14 +4653,14 @@ type IMachinegetSessionStateResponse struct { Returnval *SessionState `xml:"returnval,omitempty"` } -type IMachinegetSessionType struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getSessionType"` +type IMachinegetSessionName struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getSessionName"` This string `xml:"_this,omitempty"` } -type IMachinegetSessionTypeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getSessionTypeResponse"` +type IMachinegetSessionNameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getSessionNameResponse"` Returnval string `xml:"returnval,omitempty"` } @@ -4475,50 +4796,27 @@ type IMachinesetClipboardModeResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setClipboardModeResponse"` } -type IMachinegetDragAndDropMode struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getDragAndDropMode"` - - This string `xml:"_this,omitempty"` -} - -type IMachinegetDragAndDropModeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getDragAndDropModeResponse"` - - Returnval *DragAndDropMode `xml:"returnval,omitempty"` -} - -type IMachinesetDragAndDropMode struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setDragAndDropMode"` - - This string `xml:"_this,omitempty"` - DragAndDropMode *DragAndDropMode `xml:"dragAndDropMode,omitempty"` -} - -type IMachinesetDragAndDropModeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setDragAndDropModeResponse"` -} - -type IMachinegetGuestPropertyNotificationPatterns struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getGuestPropertyNotificationPatterns"` +type IMachinegetDnDMode struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getDnDMode"` This string `xml:"_this,omitempty"` } -type IMachinegetGuestPropertyNotificationPatternsResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getGuestPropertyNotificationPatternsResponse"` +type IMachinegetDnDModeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getDnDModeResponse"` - Returnval string `xml:"returnval,omitempty"` + Returnval *DnDMode `xml:"returnval,omitempty"` } -type IMachinesetGuestPropertyNotificationPatterns struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setGuestPropertyNotificationPatterns"` +type IMachinesetDnDMode struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setDnDMode"` - This string `xml:"_this,omitempty"` - GuestPropertyNotificationPatterns string `xml:"guestPropertyNotificationPatterns,omitempty"` + This string `xml:"_this,omitempty"` + DnDMode *DnDMode `xml:"dnDMode,omitempty"` } -type IMachinesetGuestPropertyNotificationPatternsResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setGuestPropertyNotificationPatternsResponse"` +type IMachinesetDnDModeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setDnDModeResponse"` } type IMachinegetTeleporterEnabled struct { @@ -4613,6 +4911,29 @@ type IMachinesetTeleporterPasswordResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setTeleporterPasswordResponse"` } +type IMachinegetParavirtProvider struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getParavirtProvider"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetParavirtProviderResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getParavirtProviderResponse"` + + Returnval *ParavirtProvider `xml:"returnval,omitempty"` +} + +type IMachinesetParavirtProvider struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setParavirtProvider"` + + This string `xml:"_this,omitempty"` + ParavirtProvider *ParavirtProvider `xml:"paravirtProvider,omitempty"` +} + +type IMachinesetParavirtProviderResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setParavirtProviderResponse"` +} + type IMachinegetFaultToleranceState struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getFaultToleranceState"` @@ -4994,6 +5315,29 @@ type IMachinegetUSBProxyAvailableResponse struct { Returnval bool `xml:"returnval,omitempty"` } +type IMachinegetVMProcessPriority struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVMProcessPriority"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetVMProcessPriorityResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getVMProcessPriorityResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachinesetVMProcessPriority struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVMProcessPriority"` + + This string `xml:"_this,omitempty"` + VMProcessPriority string `xml:"VMProcessPriority,omitempty"` +} + +type IMachinesetVMProcessPriorityResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_setVMProcessPriorityResponse"` +} + type IMachinelockMachine struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_lockMachine"` @@ -5011,7 +5355,7 @@ type IMachinelaunchVMProcess struct { This string `xml:"_this,omitempty"` Session string `xml:"session,omitempty"` - Type_ string `xml:"type,omitempty"` + Name string `xml:"name,omitempty"` Environment string `xml:"environment,omitempty"` } @@ -5324,8 +5668,9 @@ type IMachinegetStorageControllerByNameResponse struct { type IMachinegetStorageControllerByInstance struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getStorageControllerByInstance"` - This string `xml:"_this,omitempty"` - Instance uint32 `xml:"instance,omitempty"` + This string `xml:"_this,omitempty"` + ConnectionType *StorageBus `xml:"connectionType,omitempty"` + Instance uint32 `xml:"instance,omitempty"` } type IMachinegetStorageControllerByInstanceResponse struct { @@ -5818,27 +6163,12 @@ type IMachinequerySavedGuestScreenInfoResponse struct { Enabled bool `xml:"enabled,omitempty"` } -type IMachinequerySavedThumbnailSize struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_querySavedThumbnailSize"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` -} - -type IMachinequerySavedThumbnailSizeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_querySavedThumbnailSizeResponse"` - - Size uint32 `xml:"size,omitempty"` - Width uint32 `xml:"width,omitempty"` - Height uint32 `xml:"height,omitempty"` -} - type IMachinereadSavedThumbnailToArray struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedThumbnailToArray"` - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - BGR bool `xml:"BGR,omitempty"` + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + BitmapFormat *BitmapFormat `xml:"bitmapFormat,omitempty"` } type IMachinereadSavedThumbnailToArrayResponse struct { @@ -5849,45 +6179,31 @@ type IMachinereadSavedThumbnailToArrayResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IMachinereadSavedThumbnailPNGToArray struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedThumbnailPNGToArray"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` -} - -type IMachinereadSavedThumbnailPNGToArrayResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedThumbnailPNGToArrayResponse"` - - Width uint32 `xml:"width,omitempty"` - Height uint32 `xml:"height,omitempty"` - Returnval string `xml:"returnval,omitempty"` -} - -type IMachinequerySavedScreenshotPNGSize struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_querySavedScreenshotPNGSize"` +type IMachinequerySavedScreenshotInfo struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_querySavedScreenshotInfo"` This string `xml:"_this,omitempty"` ScreenId uint32 `xml:"screenId,omitempty"` } -type IMachinequerySavedScreenshotPNGSizeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_querySavedScreenshotPNGSizeResponse"` +type IMachinequerySavedScreenshotInfoResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_querySavedScreenshotInfoResponse"` - Size uint32 `xml:"size,omitempty"` - Width uint32 `xml:"width,omitempty"` - Height uint32 `xml:"height,omitempty"` + Width uint32 `xml:"width,omitempty"` + Height uint32 `xml:"height,omitempty"` + Returnval []*BitmapFormat `xml:"returnval,omitempty"` } -type IMachinereadSavedScreenshotPNGToArray struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedScreenshotPNGToArray"` +type IMachinereadSavedScreenshotToArray struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedScreenshotToArray"` - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + BitmapFormat *BitmapFormat `xml:"bitmapFormat,omitempty"` } -type IMachinereadSavedScreenshotPNGToArrayResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedScreenshotPNGToArrayResponse"` +type IMachinereadSavedScreenshotToArrayResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_readSavedScreenshotToArrayResponse"` Width uint32 `xml:"width,omitempty"` Height uint32 `xml:"height,omitempty"` @@ -5929,6 +6245,18 @@ type IMachinegetCPUStatusResponse struct { Returnval bool `xml:"returnval,omitempty"` } +type IMachinegetEffectiveParavirtProvider struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getEffectiveParavirtProvider"` + + This string `xml:"_this,omitempty"` +} + +type IMachinegetEffectiveParavirtProviderResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_getEffectiveParavirtProviderResponse"` + + Returnval *ParavirtProvider `xml:"returnval,omitempty"` +} + type IMachinequeryLogFilename struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_queryLogFilename"` @@ -5972,6 +6300,120 @@ type IMachinecloneToResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IMachinesaveState struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_saveState"` + + This string `xml:"_this,omitempty"` +} + +type IMachinesaveStateResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_saveStateResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachineadoptSavedState struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_adoptSavedState"` + + This string `xml:"_this,omitempty"` + SavedStateFile string `xml:"savedStateFile,omitempty"` +} + +type IMachineadoptSavedStateResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_adoptSavedStateResponse"` +} + +type IMachinediscardSavedState struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_discardSavedState"` + + This string `xml:"_this,omitempty"` + FRemoveFile bool `xml:"fRemoveFile,omitempty"` +} + +type IMachinediscardSavedStateResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_discardSavedStateResponse"` +} + +type IMachinetakeSnapshot struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_takeSnapshot"` + + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` + Description string `xml:"description,omitempty"` + Pause bool `xml:"pause,omitempty"` +} + +type IMachinetakeSnapshotResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_takeSnapshotResponse"` + + Id string `xml:"id,omitempty"` + Returnval string `xml:"returnval,omitempty"` +} + +type IMachinedeleteSnapshot struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_deleteSnapshot"` + + This string `xml:"_this,omitempty"` + Id string `xml:"id,omitempty"` +} + +type IMachinedeleteSnapshotResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_deleteSnapshotResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachinedeleteSnapshotAndAllChildren struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_deleteSnapshotAndAllChildren"` + + This string `xml:"_this,omitempty"` + Id string `xml:"id,omitempty"` +} + +type IMachinedeleteSnapshotAndAllChildrenResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_deleteSnapshotAndAllChildrenResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachinedeleteSnapshotRange struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_deleteSnapshotRange"` + + This string `xml:"_this,omitempty"` + StartId string `xml:"startId,omitempty"` + EndId string `xml:"endId,omitempty"` +} + +type IMachinedeleteSnapshotRangeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_deleteSnapshotRangeResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachinerestoreSnapshot struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_restoreSnapshot"` + + This string `xml:"_this,omitempty"` + Snapshot string `xml:"snapshot,omitempty"` +} + +type IMachinerestoreSnapshotResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_restoreSnapshotResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachineapplyDefaults struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_applyDefaults"` + + This string `xml:"_this,omitempty"` + Flags string `xml:"flags,omitempty"` +} + +type IMachineapplyDefaultsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachine_applyDefaultsResponse"` +} + type IEmulatedUSBgetWebcams struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IEmulatedUSB_getWebcams"` @@ -6308,58 +6750,25 @@ type IConsolegetGuestEnteredACPIModeResponse struct { Returnval bool `xml:"returnval,omitempty"` } -type IConsolesaveState struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_saveState"` - - This string `xml:"_this,omitempty"` -} - -type IConsolesaveStateResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_saveStateResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - -type IConsoleadoptSavedState struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_adoptSavedState"` - - This string `xml:"_this,omitempty"` - SavedStateFile string `xml:"savedStateFile,omitempty"` -} - -type IConsoleadoptSavedStateResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_adoptSavedStateResponse"` -} - -type IConsolediscardSavedState struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_discardSavedState"` - - This string `xml:"_this,omitempty"` - FRemoveFile bool `xml:"fRemoveFile,omitempty"` -} - -type IConsolediscardSavedStateResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_discardSavedStateResponse"` -} - type IConsolegetDeviceActivity struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_getDeviceActivity"` - This string `xml:"_this,omitempty"` - Type_ *DeviceType `xml:"type,omitempty"` + This string `xml:"_this,omitempty"` + Type_ []*DeviceType `xml:"type,omitempty"` } type IConsolegetDeviceActivityResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_getDeviceActivityResponse"` - Returnval *DeviceActivity `xml:"returnval,omitempty"` + Returnval []*DeviceActivity `xml:"returnval,omitempty"` } type IConsoleattachUSBDevice struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_attachUSBDevice"` - This string `xml:"_this,omitempty"` - Id string `xml:"id,omitempty"` + This string `xml:"_this,omitempty"` + Id string `xml:"id,omitempty"` + CaptureFilename string `xml:"captureFilename,omitempty"` } type IConsoleattachUSBDeviceResponse struct { @@ -6430,87 +6839,67 @@ type IConsoleremoveSharedFolderResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_removeSharedFolderResponse"` } -type IConsoletakeSnapshot struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_takeSnapshot"` +type IConsoleteleport struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_teleport"` This string `xml:"_this,omitempty"` - Name string `xml:"name,omitempty"` - Description string `xml:"description,omitempty"` + Hostname string `xml:"hostname,omitempty"` + Tcpport uint32 `xml:"tcpport,omitempty"` + Password string `xml:"password,omitempty"` + MaxDowntime uint32 `xml:"maxDowntime,omitempty"` } -type IConsoletakeSnapshotResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_takeSnapshotResponse"` +type IConsoleteleportResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_teleportResponse"` Returnval string `xml:"returnval,omitempty"` } -type IConsoledeleteSnapshot struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_deleteSnapshot"` +type IConsoleaddDiskEncryptionPassword struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_addDiskEncryptionPassword"` - This string `xml:"_this,omitempty"` - Id string `xml:"id,omitempty"` + This string `xml:"_this,omitempty"` + Id string `xml:"id,omitempty"` + Password string `xml:"password,omitempty"` + ClearOnSuspend bool `xml:"clearOnSuspend,omitempty"` } -type IConsoledeleteSnapshotResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_deleteSnapshotResponse"` - - Returnval string `xml:"returnval,omitempty"` +type IConsoleaddDiskEncryptionPasswordResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_addDiskEncryptionPasswordResponse"` } -type IConsoledeleteSnapshotAndAllChildren struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_deleteSnapshotAndAllChildren"` +type IConsoleaddDiskEncryptionPasswords struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_addDiskEncryptionPasswords"` - This string `xml:"_this,omitempty"` - Id string `xml:"id,omitempty"` + This string `xml:"_this,omitempty"` + Ids []string `xml:"ids,omitempty"` + Passwords []string `xml:"passwords,omitempty"` + ClearOnSuspend bool `xml:"clearOnSuspend,omitempty"` } -type IConsoledeleteSnapshotAndAllChildrenResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_deleteSnapshotAndAllChildrenResponse"` - - Returnval string `xml:"returnval,omitempty"` +type IConsoleaddDiskEncryptionPasswordsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_addDiskEncryptionPasswordsResponse"` } -type IConsoledeleteSnapshotRange struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_deleteSnapshotRange"` - - This string `xml:"_this,omitempty"` - StartId string `xml:"startId,omitempty"` - EndId string `xml:"endId,omitempty"` -} +type IConsoleremoveDiskEncryptionPassword struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_removeDiskEncryptionPassword"` -type IConsoledeleteSnapshotRangeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_deleteSnapshotRangeResponse"` - - Returnval string `xml:"returnval,omitempty"` + This string `xml:"_this,omitempty"` + Id string `xml:"id,omitempty"` } -type IConsolerestoreSnapshot struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_restoreSnapshot"` - - This string `xml:"_this,omitempty"` - Snapshot string `xml:"snapshot,omitempty"` +type IConsoleremoveDiskEncryptionPasswordResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_removeDiskEncryptionPasswordResponse"` } -type IConsolerestoreSnapshotResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_restoreSnapshotResponse"` +type IConsoleclearAllDiskEncryptionPasswords struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_clearAllDiskEncryptionPasswords"` - Returnval string `xml:"returnval,omitempty"` + This string `xml:"_this,omitempty"` } -type IConsoleteleport struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_teleport"` - - This string `xml:"_this,omitempty"` - Hostname string `xml:"hostname,omitempty"` - Tcpport uint32 `xml:"tcpport,omitempty"` - Password string `xml:"password,omitempty"` - MaxDowntime uint32 `xml:"maxDowntime,omitempty"` -} - -type IConsoleteleportResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_teleportResponse"` - - Returnval string `xml:"returnval,omitempty"` +type IConsoleclearAllDiskEncryptionPasswordsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IConsole_clearAllDiskEncryptionPasswordsResponse"` } type IHostNetworkInterfacegetName struct { @@ -7343,6 +7732,18 @@ type ISystemPropertiesgetMaxBootPositionResponse struct { Returnval uint32 `xml:"returnval,omitempty"` } +type ISystemPropertiesgetRawModeSupported struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getRawModeSupported"` + + This string `xml:"_this,omitempty"` +} + +type ISystemPropertiesgetRawModeSupportedResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getRawModeSupportedResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type ISystemPropertiesgetExclusiveHwVirt struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getExclusiveHwVirt"` @@ -7712,6 +8113,18 @@ type ISystemPropertiessetDefaultFrontendResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_setDefaultFrontendResponse"` } +type ISystemPropertiesgetScreenShotFormats struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getScreenShotFormats"` + + This string `xml:"_this,omitempty"` +} + +type ISystemPropertiesgetScreenShotFormatsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getScreenShotFormatsResponse"` + + Returnval []*BitmapFormat `xml:"returnval,omitempty"` +} + type ISystemPropertiesgetMaxNetworkAdapters struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getMaxNetworkAdapters"` @@ -7818,6 +8231,19 @@ type ISystemPropertiesgetDefaultIoCacheSettingForStorageControllerResponse struc Returnval bool `xml:"returnval,omitempty"` } +type ISystemPropertiesgetStorageControllerHotplugCapable struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getStorageControllerHotplugCapable"` + + This string `xml:"_this,omitempty"` + ControllerType *StorageControllerType `xml:"controllerType,omitempty"` +} + +type ISystemPropertiesgetStorageControllerHotplugCapableResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getStorageControllerHotplugCapableResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type ISystemPropertiesgetMaxInstancesOfUSBControllerType struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ ISystemProperties_getMaxInstancesOfUSBControllerType"` @@ -7832,6 +8258,223 @@ type ISystemPropertiesgetMaxInstancesOfUSBControllerTypeResponse struct { Returnval uint32 `xml:"returnval,omitempty"` } +type IDnDBasegetFormats struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_getFormats"` + + This string `xml:"_this,omitempty"` +} + +type IDnDBasegetFormatsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_getFormatsResponse"` + + Returnval []string `xml:"returnval,omitempty"` +} + +type IDnDBasegetProtocolVersion struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_getProtocolVersion"` + + This string `xml:"_this,omitempty"` +} + +type IDnDBasegetProtocolVersionResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_getProtocolVersionResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IDnDBaseisFormatSupported struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_isFormatSupported"` + + This string `xml:"_this,omitempty"` + Format string `xml:"format,omitempty"` +} + +type IDnDBaseisFormatSupportedResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_isFormatSupportedResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IDnDBaseaddFormats struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_addFormats"` + + This string `xml:"_this,omitempty"` + Formats []string `xml:"formats,omitempty"` +} + +type IDnDBaseaddFormatsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_addFormatsResponse"` +} + +type IDnDBaseremoveFormats struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_removeFormats"` + + This string `xml:"_this,omitempty"` + Formats []string `xml:"formats,omitempty"` +} + +type IDnDBaseremoveFormatsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDBase_removeFormatsResponse"` +} + +type IDnDSourcedragIsPending struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDSource_dragIsPending"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` +} + +type IDnDSourcedragIsPendingResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDSource_dragIsPendingResponse"` + + Formats []string `xml:"formats,omitempty"` + AllowedActions []*DnDAction `xml:"allowedActions,omitempty"` + Returnval *DnDAction `xml:"returnval,omitempty"` +} + +type IDnDSourcedrop struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDSource_drop"` + + This string `xml:"_this,omitempty"` + Format string `xml:"format,omitempty"` + Action *DnDAction `xml:"action,omitempty"` +} + +type IDnDSourcedropResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDSource_dropResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IDnDSourcereceiveData struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDSource_receiveData"` + + This string `xml:"_this,omitempty"` +} + +type IDnDSourcereceiveDataResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDSource_receiveDataResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IGuestDnDSourcegetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestDnDSource_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestDnDSourcegetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestDnDSource_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IDnDTargetenter struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_enter"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + Y uint32 `xml:"y,omitempty"` + X uint32 `xml:"x,omitempty"` + DefaultAction *DnDAction `xml:"defaultAction,omitempty"` + AllowedActions []*DnDAction `xml:"allowedActions,omitempty"` + Formats []string `xml:"formats,omitempty"` +} + +type IDnDTargetenterResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_enterResponse"` + + Returnval *DnDAction `xml:"returnval,omitempty"` +} + +type IDnDTargetmove struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_move"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + X uint32 `xml:"x,omitempty"` + Y uint32 `xml:"y,omitempty"` + DefaultAction *DnDAction `xml:"defaultAction,omitempty"` + AllowedActions []*DnDAction `xml:"allowedActions,omitempty"` + Formats []string `xml:"formats,omitempty"` +} + +type IDnDTargetmoveResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_moveResponse"` + + Returnval *DnDAction `xml:"returnval,omitempty"` +} + +type IDnDTargetleave struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_leave"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` +} + +type IDnDTargetleaveResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_leaveResponse"` +} + +type IDnDTargetdrop struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_drop"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + X uint32 `xml:"x,omitempty"` + Y uint32 `xml:"y,omitempty"` + DefaultAction *DnDAction `xml:"defaultAction,omitempty"` + AllowedActions []*DnDAction `xml:"allowedActions,omitempty"` + Formats []string `xml:"formats,omitempty"` +} + +type IDnDTargetdropResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_dropResponse"` + + Format string `xml:"format,omitempty"` + Returnval *DnDAction `xml:"returnval,omitempty"` +} + +type IDnDTargetsendData struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_sendData"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + Format string `xml:"format,omitempty"` + Data string `xml:"data,omitempty"` +} + +type IDnDTargetsendDataResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_sendDataResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IDnDTargetcancel struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_cancel"` + + This string `xml:"_this,omitempty"` +} + +type IDnDTargetcancelResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDTarget_cancelResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IGuestDnDTargetgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestDnDTarget_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestDnDTargetgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestDnDTarget_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IGuestSessiongetUser struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getUser"` @@ -7927,27 +8570,39 @@ type IGuestSessiongetStatusResponse struct { Returnval *GuestSessionStatus `xml:"returnval,omitempty"` } -type IGuestSessiongetEnvironment struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getEnvironment"` +type IGuestSessiongetEnvironmentChanges struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getEnvironmentChanges"` This string `xml:"_this,omitempty"` } -type IGuestSessiongetEnvironmentResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getEnvironmentResponse"` +type IGuestSessiongetEnvironmentChangesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getEnvironmentChangesResponse"` Returnval []string `xml:"returnval,omitempty"` } -type IGuestSessionsetEnvironment struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_setEnvironment"` +type IGuestSessionsetEnvironmentChanges struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_setEnvironmentChanges"` - This string `xml:"_this,omitempty"` - Environment []string `xml:"environment,omitempty"` + This string `xml:"_this,omitempty"` + EnvironmentChanges []string `xml:"environmentChanges,omitempty"` +} + +type IGuestSessionsetEnvironmentChangesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_setEnvironmentChangesResponse"` } -type IGuestSessionsetEnvironmentResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_setEnvironmentResponse"` +type IGuestSessiongetEnvironmentBase struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getEnvironmentBase"` + + This string `xml:"_this,omitempty"` +} + +type IGuestSessiongetEnvironmentBaseResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getEnvironmentBaseResponse"` + + Returnval []string `xml:"returnval,omitempty"` } type IGuestSessiongetProcesses struct { @@ -7962,6 +8617,41 @@ type IGuestSessiongetProcessesResponse struct { Returnval []string `xml:"returnval,omitempty"` } +type IGuestSessiongetPathStyle struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getPathStyle"` + + This string `xml:"_this,omitempty"` +} + +type IGuestSessiongetPathStyleResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getPathStyleResponse"` + + Returnval *PathStyle `xml:"returnval,omitempty"` +} + +type IGuestSessiongetCurrentDirectory struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getCurrentDirectory"` + + This string `xml:"_this,omitempty"` +} + +type IGuestSessiongetCurrentDirectoryResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getCurrentDirectoryResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IGuestSessionsetCurrentDirectory struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_setCurrentDirectory"` + + This string `xml:"_this,omitempty"` + CurrentDirectory string `xml:"currentDirectory,omitempty"` +} + +type IGuestSessionsetCurrentDirectoryResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_setCurrentDirectoryResponse"` +} + type IGuestSessiongetDirectories struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_getDirectories"` @@ -8008,32 +8698,47 @@ type IGuestSessioncloseResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_closeResponse"` } -type IGuestSessioncopyFrom struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_copyFrom"` +type IGuestSessiondirectoryCopy struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryCopy"` - This string `xml:"_this,omitempty"` - Source string `xml:"source,omitempty"` - Dest string `xml:"dest,omitempty"` - Flags []*CopyFileFlag `xml:"flags,omitempty"` + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*DirectoryCopyFlags `xml:"flags,omitempty"` } -type IGuestSessioncopyFromResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_copyFromResponse"` +type IGuestSessiondirectoryCopyResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryCopyResponse"` Returnval string `xml:"returnval,omitempty"` } -type IGuestSessioncopyTo struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_copyTo"` +type IGuestSessiondirectoryCopyFromGuest struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryCopyFromGuest"` - This string `xml:"_this,omitempty"` - Source string `xml:"source,omitempty"` - Dest string `xml:"dest,omitempty"` - Flags []*CopyFileFlag `xml:"flags,omitempty"` + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*DirectoryCopyFlags `xml:"flags,omitempty"` } -type IGuestSessioncopyToResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_copyToResponse"` +type IGuestSessiondirectoryCopyFromGuestResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryCopyFromGuestResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IGuestSessiondirectoryCopyToGuest struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryCopyToGuest"` + + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*DirectoryCopyFlags `xml:"flags,omitempty"` +} + +type IGuestSessiondirectoryCopyToGuestResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryCopyToGuestResponse"` Returnval string `xml:"returnval,omitempty"` } @@ -8070,8 +8775,9 @@ type IGuestSessiondirectoryCreateTempResponse struct { type IGuestSessiondirectoryExists struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryExists"` - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + FollowSymlinks bool `xml:"followSymlinks,omitempty"` } type IGuestSessiondirectoryExistsResponse struct { @@ -8095,19 +8801,6 @@ type IGuestSessiondirectoryOpenResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IGuestSessiondirectoryQueryInfo struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryQueryInfo"` - - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` -} - -type IGuestSessiondirectoryQueryInfoResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryQueryInfoResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - type IGuestSessiondirectoryRemove struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryRemove"` @@ -8133,75 +8826,98 @@ type IGuestSessiondirectoryRemoveRecursiveResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IGuestSessiondirectoryRename struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryRename"` +type IGuestSessionenvironmentScheduleSet struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentScheduleSet"` - This string `xml:"_this,omitempty"` - Source string `xml:"source,omitempty"` - Dest string `xml:"dest,omitempty"` - Flags []*PathRenameFlag `xml:"flags,omitempty"` + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` + Value string `xml:"value,omitempty"` } -type IGuestSessiondirectoryRenameResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directoryRenameResponse"` +type IGuestSessionenvironmentScheduleSetResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentScheduleSetResponse"` } -type IGuestSessiondirectorySetACL struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directorySetACL"` +type IGuestSessionenvironmentScheduleUnset struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentScheduleUnset"` This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` - Acl string `xml:"acl,omitempty"` + Name string `xml:"name,omitempty"` } -type IGuestSessiondirectorySetACLResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_directorySetACLResponse"` +type IGuestSessionenvironmentScheduleUnsetResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentScheduleUnsetResponse"` } -type IGuestSessionenvironmentClear struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentClear"` +type IGuestSessionenvironmentGetBaseVariable struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentGetBaseVariable"` This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` } -type IGuestSessionenvironmentClearResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentClearResponse"` +type IGuestSessionenvironmentGetBaseVariableResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentGetBaseVariableResponse"` + + Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionenvironmentGet struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentGet"` +type IGuestSessionenvironmentDoesBaseVariableExist struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentDoesBaseVariableExist"` This string `xml:"_this,omitempty"` Name string `xml:"name,omitempty"` } -type IGuestSessionenvironmentGetResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentGetResponse"` +type IGuestSessionenvironmentDoesBaseVariableExistResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentDoesBaseVariableExistResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IGuestSessionfileCopy struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileCopy"` + + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*FileCopyFlag `xml:"flags,omitempty"` +} + +type IGuestSessionfileCopyResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileCopyResponse"` Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionenvironmentSet struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentSet"` +type IGuestSessionfileCopyFromGuest struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileCopyFromGuest"` - This string `xml:"_this,omitempty"` - Name string `xml:"name,omitempty"` - Value string `xml:"value,omitempty"` + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*FileCopyFlag `xml:"flags,omitempty"` } -type IGuestSessionenvironmentSetResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentSetResponse"` +type IGuestSessionfileCopyFromGuestResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileCopyFromGuestResponse"` + + Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionenvironmentUnset struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentUnset"` +type IGuestSessionfileCopyToGuest struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileCopyToGuest"` - This string `xml:"_this,omitempty"` - Name string `xml:"name,omitempty"` + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*FileCopyFlag `xml:"flags,omitempty"` } -type IGuestSessionenvironmentUnsetResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_environmentUnsetResponse"` +type IGuestSessionfileCopyToGuestResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileCopyToGuestResponse"` + + Returnval string `xml:"returnval,omitempty"` } type IGuestSessionfileCreateTemp struct { @@ -8223,8 +8939,9 @@ type IGuestSessionfileCreateTempResponse struct { type IGuestSessionfileExists struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileExists"` - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + FollowSymlinks bool `xml:"followSymlinks,omitempty"` } type IGuestSessionfileExistsResponse struct { @@ -8233,25 +8950,14 @@ type IGuestSessionfileExistsResponse struct { Returnval bool `xml:"returnval,omitempty"` } -type IGuestSessionfileRemove struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileRemove"` - - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` -} - -type IGuestSessionfileRemoveResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileRemoveResponse"` -} - type IGuestSessionfileOpen struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileOpen"` - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` - OpenMode string `xml:"openMode,omitempty"` - Disposition string `xml:"disposition,omitempty"` - CreationMode uint32 `xml:"creationMode,omitempty"` + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + AccessMode *FileAccessMode `xml:"accessMode,omitempty"` + OpenAction *FileOpenAction `xml:"openAction,omitempty"` + CreationMode uint32 `xml:"creationMode,omitempty"` } type IGuestSessionfileOpenResponse struct { @@ -8263,13 +8969,13 @@ type IGuestSessionfileOpenResponse struct { type IGuestSessionfileOpenEx struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileOpenEx"` - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` - OpenMode string `xml:"openMode,omitempty"` - Disposition string `xml:"disposition,omitempty"` - SharingMode string `xml:"sharingMode,omitempty"` - CreationMode uint32 `xml:"creationMode,omitempty"` - Offset int64 `xml:"offset,omitempty"` + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + AccessMode *FileAccessMode `xml:"accessMode,omitempty"` + OpenAction *FileOpenAction `xml:"openAction,omitempty"` + SharingMode *FileSharingMode `xml:"sharingMode,omitempty"` + CreationMode uint32 `xml:"creationMode,omitempty"` + Flags []*FileOpenExFlags `xml:"flags,omitempty"` } type IGuestSessionfileOpenExResponse struct { @@ -8278,66 +8984,110 @@ type IGuestSessionfileOpenExResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionfileQueryInfo struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileQueryInfo"` +type IGuestSessionfileQuerySize struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileQuerySize"` - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + FollowSymlinks bool `xml:"followSymlinks,omitempty"` +} + +type IGuestSessionfileQuerySizeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileQuerySizeResponse"` + + Returnval int64 `xml:"returnval,omitempty"` +} + +type IGuestSessionfsObjExists struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjExists"` + + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + FollowSymlinks bool `xml:"followSymlinks,omitempty"` +} + +type IGuestSessionfsObjExistsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjExistsResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IGuestSessionfsObjQueryInfo struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjQueryInfo"` + + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + FollowSymlinks bool `xml:"followSymlinks,omitempty"` } -type IGuestSessionfileQueryInfoResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileQueryInfoResponse"` +type IGuestSessionfsObjQueryInfoResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjQueryInfoResponse"` Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionfileQuerySize struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileQuerySize"` +type IGuestSessionfsObjRemove struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjRemove"` This string `xml:"_this,omitempty"` Path string `xml:"path,omitempty"` } -type IGuestSessionfileQuerySizeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileQuerySizeResponse"` +type IGuestSessionfsObjRemoveResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjRemoveResponse"` +} - Returnval int64 `xml:"returnval,omitempty"` +type IGuestSessionfsObjRename struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjRename"` + + This string `xml:"_this,omitempty"` + OldPath string `xml:"oldPath,omitempty"` + NewPath string `xml:"newPath,omitempty"` + Flags []*FsObjRenameFlag `xml:"flags,omitempty"` } -type IGuestSessionfileRename struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileRename"` +type IGuestSessionfsObjRenameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjRenameResponse"` +} + +type IGuestSessionfsObjMove struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjMove"` - This string `xml:"_this,omitempty"` - Source string `xml:"source,omitempty"` - Dest string `xml:"dest,omitempty"` - Flags []*PathRenameFlag `xml:"flags,omitempty"` + This string `xml:"_this,omitempty"` + Source string `xml:"source,omitempty"` + Destination string `xml:"destination,omitempty"` + Flags []*FsObjMoveFlags `xml:"flags,omitempty"` } -type IGuestSessionfileRenameResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileRenameResponse"` +type IGuestSessionfsObjMoveResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjMoveResponse"` + + Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionfileSetACL struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileSetACL"` +type IGuestSessionfsObjSetACL struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjSetACL"` - This string `xml:"_this,omitempty"` - File string `xml:"file,omitempty"` - Acl string `xml:"acl,omitempty"` + This string `xml:"_this,omitempty"` + Path string `xml:"path,omitempty"` + FollowSymlinks bool `xml:"followSymlinks,omitempty"` + Acl string `xml:"acl,omitempty"` + Mode uint32 `xml:"mode,omitempty"` } -type IGuestSessionfileSetACLResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fileSetACLResponse"` +type IGuestSessionfsObjSetACLResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_fsObjSetACLResponse"` } type IGuestSessionprocessCreate struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_processCreate"` - This string `xml:"_this,omitempty"` - Command string `xml:"command,omitempty"` - Arguments []string `xml:"arguments,omitempty"` - Environment []string `xml:"environment,omitempty"` - Flags []*ProcessCreateFlag `xml:"flags,omitempty"` - TimeoutMS uint32 `xml:"timeoutMS,omitempty"` + This string `xml:"_this,omitempty"` + Executable string `xml:"executable,omitempty"` + Arguments []string `xml:"arguments,omitempty"` + EnvironmentChanges []string `xml:"environmentChanges,omitempty"` + Flags []*ProcessCreateFlag `xml:"flags,omitempty"` + TimeoutMS uint32 `xml:"timeoutMS,omitempty"` } type IGuestSessionprocessCreateResponse struct { @@ -8349,14 +9099,14 @@ type IGuestSessionprocessCreateResponse struct { type IGuestSessionprocessCreateEx struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_processCreateEx"` - This string `xml:"_this,omitempty"` - Command string `xml:"command,omitempty"` - Arguments []string `xml:"arguments,omitempty"` - Environment []string `xml:"environment,omitempty"` - Flags []*ProcessCreateFlag `xml:"flags,omitempty"` - TimeoutMS uint32 `xml:"timeoutMS,omitempty"` - Priority *ProcessPriority `xml:"priority,omitempty"` - Affinity []int32 `xml:"affinity,omitempty"` + This string `xml:"_this,omitempty"` + Executable string `xml:"executable,omitempty"` + Arguments []string `xml:"arguments,omitempty"` + EnvironmentChanges []string `xml:"environmentChanges,omitempty"` + Flags []*ProcessCreateFlag `xml:"flags,omitempty"` + TimeoutMS uint32 `xml:"timeoutMS,omitempty"` + Priority *ProcessPriority `xml:"priority,omitempty"` + Affinity []int32 `xml:"affinity,omitempty"` } type IGuestSessionprocessCreateExResponse struct { @@ -8381,10 +9131,10 @@ type IGuestSessionprocessGetResponse struct { type IGuestSessionsymlinkCreate struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_symlinkCreate"` - This string `xml:"_this,omitempty"` - Source string `xml:"source,omitempty"` - Target string `xml:"target,omitempty"` - Type_ *SymlinkType `xml:"type,omitempty"` + This string `xml:"_this,omitempty"` + Symlink string `xml:"symlink,omitempty"` + Target string `xml:"target,omitempty"` + Type_ *SymlinkType `xml:"type,omitempty"` } type IGuestSessionsymlinkCreateResponse struct { @@ -8418,28 +9168,6 @@ type IGuestSessionsymlinkReadResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IGuestSessionsymlinkRemoveDirectory struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_symlinkRemoveDirectory"` - - This string `xml:"_this,omitempty"` - Path string `xml:"path,omitempty"` -} - -type IGuestSessionsymlinkRemoveDirectoryResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_symlinkRemoveDirectoryResponse"` -} - -type IGuestSessionsymlinkRemoveFile struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_symlinkRemoveFile"` - - This string `xml:"_this,omitempty"` - File string `xml:"file,omitempty"` -} - -type IGuestSessionsymlinkRemoveFileResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_symlinkRemoveFileResponse"` -} - type IGuestSessionwaitFor struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestSession_waitFor"` @@ -8649,6 +9377,18 @@ type IProcessterminateResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IProcess_terminateResponse"` } +type IGuestProcessgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestProcess_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestProcessgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestProcess_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IDirectorygetDirectoryName struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IDirectory_getDirectoryName"` @@ -8695,28 +9435,16 @@ type IDirectoryreadResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IFilegetCreationMode struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getCreationMode"` - - This string `xml:"_this,omitempty"` -} - -type IFilegetCreationModeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getCreationModeResponse"` - - Returnval uint32 `xml:"returnval,omitempty"` -} - -type IFilegetDisposition struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getDisposition"` +type IGuestDirectorygetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestDirectory_getMidlDoesNotLikeEmptyInterfaces"` This string `xml:"_this,omitempty"` } -type IFilegetDispositionResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getDispositionResponse"` +type IGuestDirectorygetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestDirectory_getMidlDoesNotLikeEmptyInterfacesResponse"` - Returnval string `xml:"returnval,omitempty"` + Returnval bool `xml:"returnval,omitempty"` } type IFilegetEventSource struct { @@ -8731,18 +9459,6 @@ type IFilegetEventSourceResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IFilegetFileName struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getFileName"` - - This string `xml:"_this,omitempty"` -} - -type IFilegetFileNameResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getFileNameResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - type IFilegetId struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getId"` @@ -8767,18 +9483,6 @@ type IFilegetInitialSizeResponse struct { Returnval int64 `xml:"returnval,omitempty"` } -type IFilegetOpenMode struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getOpenMode"` - - This string `xml:"_this,omitempty"` -} - -type IFilegetOpenModeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getOpenModeResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - type IFilegetOffset struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getOffset"` @@ -8803,6 +9507,54 @@ type IFilegetStatusResponse struct { Returnval *FileStatus `xml:"returnval,omitempty"` } +type IFilegetFileName struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getFileName"` + + This string `xml:"_this,omitempty"` +} + +type IFilegetFileNameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getFileNameResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IFilegetCreationMode struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getCreationMode"` + + This string `xml:"_this,omitempty"` +} + +type IFilegetCreationModeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getCreationModeResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IFilegetOpenAction struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getOpenAction"` + + This string `xml:"_this,omitempty"` +} + +type IFilegetOpenActionResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getOpenActionResponse"` + + Returnval *FileOpenAction `xml:"returnval,omitempty"` +} + +type IFilegetAccessMode struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getAccessMode"` + + This string `xml:"_this,omitempty"` +} + +type IFilegetAccessModeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_getAccessModeResponse"` + + Returnval *FileAccessMode `xml:"returnval,omitempty"` +} + type IFileclose struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_close"` @@ -8825,6 +9577,18 @@ type IFilequeryInfoResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IFilequerySize struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_querySize"` + + This string `xml:"_this,omitempty"` +} + +type IFilequerySizeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_querySizeResponse"` + + Returnval int64 `xml:"returnval,omitempty"` +} + type IFileread struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_read"` @@ -8857,13 +9621,15 @@ type IFilereadAtResponse struct { type IFileseek struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_seek"` - This string `xml:"_this,omitempty"` - Offset int64 `xml:"offset,omitempty"` - Whence *FileSeekType `xml:"whence,omitempty"` + This string `xml:"_this,omitempty"` + Offset int64 `xml:"offset,omitempty"` + Whence *FileSeekOrigin `xml:"whence,omitempty"` } type IFileseekResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_seekResponse"` + + Returnval int64 `xml:"returnval,omitempty"` } type IFilesetACL struct { @@ -8871,12 +9637,24 @@ type IFilesetACL struct { This string `xml:"_this,omitempty"` Acl string `xml:"acl,omitempty"` + Mode uint32 `xml:"mode,omitempty"` } type IFilesetACLResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_setACLResponse"` } +type IFilesetSize struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_setSize"` + + This string `xml:"_this,omitempty"` + Size int64 `xml:"size,omitempty"` +} + +type IFilesetSizeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_setSizeResponse"` +} + type IFilewrite struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFile_write"` @@ -8906,6 +9684,18 @@ type IFilewriteAtResponse struct { Returnval uint32 `xml:"returnval,omitempty"` } +type IGuestFilegetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFile_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestFilegetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFile_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IFsObjInfogetAccessTime struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFsObjInfo_getAccessTime"` @@ -9134,6 +9924,18 @@ type IFsObjInfogetUserNameResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IGuestFsObjInfogetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFsObjInfo_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestFsObjInfogetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFsObjInfo_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IGuestgetOSTypeId struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_getOSTypeId"` @@ -9182,6 +9984,30 @@ type IGuestgetAdditionsRevisionResponse struct { Returnval uint32 `xml:"returnval,omitempty"` } +type IGuestgetDnDSource struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_getDnDSource"` + + This string `xml:"_this,omitempty"` +} + +type IGuestgetDnDSourceResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_getDnDSourceResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IGuestgetDnDTarget struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_getDnDTarget"` + + This string `xml:"_this,omitempty"` +} + +type IGuestgetDnDTargetResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_getDnDTargetResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + type IGuestgetEventSource struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_getEventSource"` @@ -9329,128 +10155,6 @@ type IGuestsetCredentialsResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_setCredentialsResponse"` } -type IGuestdragHGEnter struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGEnter"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - Y uint32 `xml:"y,omitempty"` - X uint32 `xml:"x,omitempty"` - DefaultAction *DragAndDropAction `xml:"defaultAction,omitempty"` - AllowedActions []*DragAndDropAction `xml:"allowedActions,omitempty"` - Formats []string `xml:"formats,omitempty"` -} - -type IGuestdragHGEnterResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGEnterResponse"` - - Returnval *DragAndDropAction `xml:"returnval,omitempty"` -} - -type IGuestdragHGMove struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGMove"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - X uint32 `xml:"x,omitempty"` - Y uint32 `xml:"y,omitempty"` - DefaultAction *DragAndDropAction `xml:"defaultAction,omitempty"` - AllowedActions []*DragAndDropAction `xml:"allowedActions,omitempty"` - Formats []string `xml:"formats,omitempty"` -} - -type IGuestdragHGMoveResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGMoveResponse"` - - Returnval *DragAndDropAction `xml:"returnval,omitempty"` -} - -type IGuestdragHGLeave struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGLeave"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` -} - -type IGuestdragHGLeaveResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGLeaveResponse"` -} - -type IGuestdragHGDrop struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGDrop"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - X uint32 `xml:"x,omitempty"` - Y uint32 `xml:"y,omitempty"` - DefaultAction *DragAndDropAction `xml:"defaultAction,omitempty"` - AllowedActions []*DragAndDropAction `xml:"allowedActions,omitempty"` - Formats []string `xml:"formats,omitempty"` -} - -type IGuestdragHGDropResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGDropResponse"` - - Format string `xml:"format,omitempty"` - Returnval *DragAndDropAction `xml:"returnval,omitempty"` -} - -type IGuestdragHGPutData struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGPutData"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - Format string `xml:"format,omitempty"` - Data string `xml:"data,omitempty"` -} - -type IGuestdragHGPutDataResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragHGPutDataResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - -type IGuestdragGHPending struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragGHPending"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` -} - -type IGuestdragGHPendingResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragGHPendingResponse"` - - Formats []string `xml:"formats,omitempty"` - AllowedActions []*DragAndDropAction `xml:"allowedActions,omitempty"` - Returnval *DragAndDropAction `xml:"returnval,omitempty"` -} - -type IGuestdragGHDropped struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragGHDropped"` - - This string `xml:"_this,omitempty"` - Format string `xml:"format,omitempty"` - Action *DragAndDropAction `xml:"action,omitempty"` -} - -type IGuestdragGHDroppedResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragGHDroppedResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - -type IGuestdragGHGetData struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragGHGetData"` - - This string `xml:"_this,omitempty"` -} - -type IGuestdragGHGetDataResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_dragGHGetDataResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - type IGuestcreateSession struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuest_createSession"` @@ -10436,6 +11140,46 @@ type IMediumresetResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IMediumchangeEncryption struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMedium_changeEncryption"` + + This string `xml:"_this,omitempty"` + CurrentPassword string `xml:"currentPassword,omitempty"` + Cipher string `xml:"cipher,omitempty"` + NewPassword string `xml:"newPassword,omitempty"` + NewPasswordId string `xml:"newPasswordId,omitempty"` +} + +type IMediumchangeEncryptionResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMedium_changeEncryptionResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMediumgetEncryptionSettings struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMedium_getEncryptionSettings"` + + This string `xml:"_this,omitempty"` +} + +type IMediumgetEncryptionSettingsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMedium_getEncryptionSettingsResponse"` + + Cipher string `xml:"cipher,omitempty"` + Returnval string `xml:"returnval,omitempty"` +} + +type IMediumcheckEncryptionPassword struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMedium_checkEncryptionPassword"` + + This string `xml:"_this,omitempty"` + Password string `xml:"password,omitempty"` +} + +type IMediumcheckEncryptionPasswordResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMedium_checkEncryptionPasswordResponse"` +} + type IMediumFormatgetId struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMediumFormat_getId"` @@ -10521,6 +11265,18 @@ type ITokendummyResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IToken_dummyResponse"` } +type IKeyboardgetKeyboardLEDs struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IKeyboard_getKeyboardLEDs"` + + This string `xml:"_this,omitempty"` +} + +type IKeyboardgetKeyboardLEDsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IKeyboard_getKeyboardLEDsResponse"` + + Returnval []*KeyboardLED `xml:"returnval,omitempty"` +} + type IKeyboardgetEventSource struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IKeyboard_getEventSource"` @@ -10567,6 +11323,100 @@ type IKeyboardputCADResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IKeyboard_putCADResponse"` } +type IKeyboardreleaseKeys struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IKeyboard_releaseKeys"` + + This string `xml:"_this,omitempty"` +} + +type IKeyboardreleaseKeysResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IKeyboard_releaseKeysResponse"` +} + +type IMousePointerShapegetVisible struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getVisible"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetVisibleResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getVisibleResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IMousePointerShapegetAlpha struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getAlpha"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetAlphaResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getAlphaResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IMousePointerShapegetHotX struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getHotX"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetHotXResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getHotXResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMousePointerShapegetHotY struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getHotY"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetHotYResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getHotYResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMousePointerShapegetWidth struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getWidth"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetWidthResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getWidthResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMousePointerShapegetHeight struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getHeight"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetHeightResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getHeightResponse"` + + Returnval uint32 `xml:"returnval,omitempty"` +} + +type IMousePointerShapegetShape struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getShape"` + + This string `xml:"_this,omitempty"` +} + +type IMousePointerShapegetShapeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShape_getShapeResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + type IMousegetAbsoluteSupported struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMouse_getAbsoluteSupported"` @@ -10615,6 +11465,18 @@ type IMousegetNeedsHostCursorResponse struct { Returnval bool `xml:"returnval,omitempty"` } +type IMousegetPointerShape struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMouse_getPointerShape"` + + This string `xml:"_this,omitempty"` +} + +type IMousegetPointerShapeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMouse_getPointerShapeResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + type IMousegetEventSource struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMouse_getEventSource"` @@ -10740,19 +11602,7 @@ type IFramebuffergetPixelFormat struct { type IFramebuffergetPixelFormatResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_getPixelFormatResponse"` - Returnval uint32 `xml:"returnval,omitempty"` -} - -type IFramebuffergetUsesGuestVRAM struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_getUsesGuestVRAM"` - - This string `xml:"_this,omitempty"` -} - -type IFramebuffergetUsesGuestVRAMResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_getUsesGuestVRAMResponse"` - - Returnval bool `xml:"returnval,omitempty"` + Returnval *BitmapFormat `xml:"returnval,omitempty"` } type IFramebuffergetHeightReduction struct { @@ -10779,6 +11629,62 @@ type IFramebuffergetOverlayResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IFramebuffergetCapabilities struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_getCapabilities"` + + This string `xml:"_this,omitempty"` +} + +type IFramebuffergetCapabilitiesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_getCapabilitiesResponse"` + + Returnval []*FramebufferCapabilities `xml:"returnval,omitempty"` +} + +type IFramebuffernotifyUpdate struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notifyUpdate"` + + This string `xml:"_this,omitempty"` + X uint32 `xml:"x,omitempty"` + Y uint32 `xml:"y,omitempty"` + Width uint32 `xml:"width,omitempty"` + Height uint32 `xml:"height,omitempty"` +} + +type IFramebuffernotifyUpdateResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notifyUpdateResponse"` +} + +type IFramebuffernotifyUpdateImage struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notifyUpdateImage"` + + This string `xml:"_this,omitempty"` + X uint32 `xml:"x,omitempty"` + Y uint32 `xml:"y,omitempty"` + Width uint32 `xml:"width,omitempty"` + Height uint32 `xml:"height,omitempty"` + Image string `xml:"image,omitempty"` +} + +type IFramebuffernotifyUpdateImageResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notifyUpdateImageResponse"` +} + +type IFramebuffernotifyChange struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notifyChange"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + XOrigin uint32 `xml:"xOrigin,omitempty"` + YOrigin uint32 `xml:"yOrigin,omitempty"` + Width uint32 `xml:"width,omitempty"` + Height uint32 `xml:"height,omitempty"` +} + +type IFramebuffernotifyChangeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notifyChangeResponse"` +} + type IFramebuffervideoModeSupported struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_videoModeSupported"` @@ -10794,6 +11700,18 @@ type IFramebuffervideoModeSupportedResponse struct { Returnval bool `xml:"returnval,omitempty"` } +type IFramebuffernotify3DEvent struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notify3DEvent"` + + This string `xml:"_this,omitempty"` + Type_ uint32 `xml:"type,omitempty"` + Data string `xml:"data,omitempty"` +} + +type IFramebuffernotify3DEventResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebuffer_notify3DEventResponse"` +} + type IFramebufferOverlaygetX struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IFramebufferOverlay_getX"` @@ -10886,38 +11804,51 @@ type IDisplaygetScreenResolution struct { type IDisplaygetScreenResolutionResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_getScreenResolutionResponse"` - Width uint32 `xml:"width,omitempty"` - Height uint32 `xml:"height,omitempty"` - BitsPerPixel uint32 `xml:"bitsPerPixel,omitempty"` - XOrigin int32 `xml:"xOrigin,omitempty"` - YOrigin int32 `xml:"yOrigin,omitempty"` + Width uint32 `xml:"width,omitempty"` + Height uint32 `xml:"height,omitempty"` + BitsPerPixel uint32 `xml:"bitsPerPixel,omitempty"` + XOrigin int32 `xml:"xOrigin,omitempty"` + YOrigin int32 `xml:"yOrigin,omitempty"` + GuestMonitorStatus *GuestMonitorStatus `xml:"guestMonitorStatus,omitempty"` } -type IDisplaysetFramebuffer struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_setFramebuffer"` +type IDisplayattachFramebuffer struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_attachFramebuffer"` This string `xml:"_this,omitempty"` ScreenId uint32 `xml:"screenId,omitempty"` Framebuffer string `xml:"framebuffer,omitempty"` } -type IDisplaysetFramebufferResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_setFramebufferResponse"` +type IDisplayattachFramebufferResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_attachFramebufferResponse"` + + Returnval string `xml:"returnval,omitempty"` } -type IDisplaygetFramebuffer struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_getFramebuffer"` +type IDisplaydetachFramebuffer struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_detachFramebuffer"` This string `xml:"_this,omitempty"` ScreenId uint32 `xml:"screenId,omitempty"` + Id string `xml:"id,omitempty"` } -type IDisplaygetFramebufferResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_getFramebufferResponse"` +type IDisplaydetachFramebufferResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_detachFramebufferResponse"` +} - Framebuffer string `xml:"framebuffer,omitempty"` - XOrigin int32 `xml:"xOrigin,omitempty"` - YOrigin int32 `xml:"yOrigin,omitempty"` +type IDisplayqueryFramebuffer struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_queryFramebuffer"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` +} + +type IDisplayqueryFramebufferResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_queryFramebufferResponse"` + + Returnval string `xml:"returnval,omitempty"` } type IDisplaysetVideoModeHint struct { @@ -10952,10 +11883,11 @@ type IDisplaysetSeamlessModeResponse struct { type IDisplaytakeScreenShotToArray struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_takeScreenShotToArray"` - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - Width uint32 `xml:"width,omitempty"` - Height uint32 `xml:"height,omitempty"` + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + Width uint32 `xml:"width,omitempty"` + Height uint32 `xml:"height,omitempty"` + BitmapFormat *BitmapFormat `xml:"bitmapFormat,omitempty"` } type IDisplaytakeScreenShotToArrayResponse struct { @@ -10964,21 +11896,6 @@ type IDisplaytakeScreenShotToArrayResponse struct { Returnval string `xml:"returnval,omitempty"` } -type IDisplaytakeScreenShotPNGToArray struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_takeScreenShotPNGToArray"` - - This string `xml:"_this,omitempty"` - ScreenId uint32 `xml:"screenId,omitempty"` - Width uint32 `xml:"width,omitempty"` - Height uint32 `xml:"height,omitempty"` -} - -type IDisplaytakeScreenShotPNGToArrayResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_takeScreenShotPNGToArrayResponse"` - - Returnval string `xml:"returnval,omitempty"` -} - type IDisplayinvalidateAndUpdate struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_invalidateAndUpdate"` @@ -10989,15 +11906,15 @@ type IDisplayinvalidateAndUpdateResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_invalidateAndUpdateResponse"` } -type IDisplayresizeCompleted struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_resizeCompleted"` +type IDisplayinvalidateAndUpdateScreen struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_invalidateAndUpdateScreen"` This string `xml:"_this,omitempty"` ScreenId uint32 `xml:"screenId,omitempty"` } -type IDisplayresizeCompletedResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_resizeCompletedResponse"` +type IDisplayinvalidateAndUpdateScreenResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_invalidateAndUpdateScreenResponse"` } type IDisplayviewportChanged struct { @@ -11015,6 +11932,30 @@ type IDisplayviewportChangedResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_viewportChangedResponse"` } +type IDisplaynotifyScaleFactorChange struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_notifyScaleFactorChange"` + + This string `xml:"_this,omitempty"` + ScreenId uint32 `xml:"screenId,omitempty"` + U32ScaleFactorWMultiplied uint32 `xml:"u32ScaleFactorWMultiplied,omitempty"` + U32ScaleFactorHMultiplied uint32 `xml:"u32ScaleFactorHMultiplied,omitempty"` +} + +type IDisplaynotifyScaleFactorChangeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_notifyScaleFactorChangeResponse"` +} + +type IDisplaynotifyHiDPIOutputPolicyChange struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_notifyHiDPIOutputPolicyChange"` + + This string `xml:"_this,omitempty"` + FUnscaledHiDPI bool `xml:"fUnscaledHiDPI,omitempty"` +} + +type IDisplaynotifyHiDPIOutputPolicyChangeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDisplay_notifyHiDPIOutputPolicyChangeResponse"` +} + type INetworkAdaptergetAdapterType struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ INetworkAdapter_getAdapterType"` @@ -12177,6 +13118,30 @@ type IMachineDebuggerwriteVirtualMemoryResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_writeVirtualMemoryResponse"` } +type IMachineDebuggerloadPlugIn struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_loadPlugIn"` + + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` +} + +type IMachineDebuggerloadPlugInResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_loadPlugInResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type IMachineDebuggerunloadPlugIn struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_unloadPlugIn"` + + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` +} + +type IMachineDebuggerunloadPlugInResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_unloadPlugInResponse"` +} + type IMachineDebuggerdetectOS struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_detectOS"` @@ -12189,6 +13154,19 @@ type IMachineDebuggerdetectOSResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IMachineDebuggerqueryOSKernelLog struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_queryOSKernelLog"` + + This string `xml:"_this,omitempty"` + MaxMessages uint32 `xml:"maxMessages,omitempty"` +} + +type IMachineDebuggerqueryOSKernelLogResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_queryOSKernelLogResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + type IMachineDebuggergetRegister struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineDebugger_getRegister"` @@ -12354,6 +13332,17 @@ type IUSBControllergetNameResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IUSBControllersetName struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBController_setName"` + + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` +} + +type IUSBControllersetNameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBController_setNameResponse"` +} + type IUSBControllergetType struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBController_getType"` @@ -12366,6 +13355,17 @@ type IUSBControllergetTypeResponse struct { Returnval *USBControllerType `xml:"returnval,omitempty"` } +type IUSBControllersetType struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBController_setType"` + + This string `xml:"_this,omitempty"` + Type_ *USBControllerType `xml:"type,omitempty"` +} + +type IUSBControllersetTypeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBController_setTypeResponse"` +} + type IUSBControllergetUSBStandard struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBController_getUSBStandard"` @@ -12510,6 +13510,18 @@ type IUSBDevicegetPortVersionResponse struct { Returnval uint16 `xml:"returnval,omitempty"` } +type IUSBDevicegetSpeed struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBDevice_getSpeed"` + + This string `xml:"_this,omitempty"` +} + +type IUSBDevicegetSpeedResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBDevice_getSpeedResponse"` + + Returnval *USBConnectionSpeed `xml:"returnval,omitempty"` +} + type IUSBDevicegetRemote struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBDevice_getRemote"` @@ -12833,6 +13845,52 @@ type IAudioAdaptersetEnabledResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setEnabledResponse"` } +type IAudioAdaptergetEnabledIn struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getEnabledIn"` + + This string `xml:"_this,omitempty"` +} + +type IAudioAdaptergetEnabledInResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getEnabledInResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IAudioAdaptersetEnabledIn struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setEnabledIn"` + + This string `xml:"_this,omitempty"` + EnabledIn bool `xml:"enabledIn,omitempty"` +} + +type IAudioAdaptersetEnabledInResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setEnabledInResponse"` +} + +type IAudioAdaptergetEnabledOut struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getEnabledOut"` + + This string `xml:"_this,omitempty"` +} + +type IAudioAdaptergetEnabledOutResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getEnabledOutResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IAudioAdaptersetEnabledOut struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setEnabledOut"` + + This string `xml:"_this,omitempty"` + EnabledOut bool `xml:"enabledOut,omitempty"` +} + +type IAudioAdaptersetEnabledOutResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setEnabledOutResponse"` +} + type IAudioAdaptergetAudioController struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getAudioController"` @@ -12856,6 +13914,29 @@ type IAudioAdaptersetAudioControllerResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setAudioControllerResponse"` } +type IAudioAdaptergetAudioCodec struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getAudioCodec"` + + This string `xml:"_this,omitempty"` +} + +type IAudioAdaptergetAudioCodecResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getAudioCodecResponse"` + + Returnval *AudioCodecType `xml:"returnval,omitempty"` +} + +type IAudioAdaptersetAudioCodec struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setAudioCodec"` + + This string `xml:"_this,omitempty"` + AudioCodec *AudioCodecType `xml:"audioCodec,omitempty"` +} + +type IAudioAdaptersetAudioCodecResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setAudioCodecResponse"` +} + type IAudioAdaptergetAudioDriver struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getAudioDriver"` @@ -12879,6 +13960,43 @@ type IAudioAdaptersetAudioDriverResponse struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setAudioDriverResponse"` } +type IAudioAdaptergetPropertiesList struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getPropertiesList"` + + This string `xml:"_this,omitempty"` +} + +type IAudioAdaptergetPropertiesListResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getPropertiesListResponse"` + + Returnval []string `xml:"returnval,omitempty"` +} + +type IAudioAdaptersetProperty struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setProperty"` + + This string `xml:"_this,omitempty"` + Key string `xml:"key,omitempty"` + Value string `xml:"value,omitempty"` +} + +type IAudioAdaptersetPropertyResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_setPropertyResponse"` +} + +type IAudioAdaptergetProperty struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getProperty"` + + This string `xml:"_this,omitempty"` + Key string `xml:"key,omitempty"` +} + +type IAudioAdaptergetPropertyResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAudioAdapter_getPropertyResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + type IVRDEServergetEnabled struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IVRDEServer_getEnabled"` @@ -13101,6 +14219,29 @@ type ISessiongetTypeResponse struct { Returnval *SessionType `xml:"returnval,omitempty"` } +type ISessiongetName struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISession_getName"` + + This string `xml:"_this,omitempty"` +} + +type ISessiongetNameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISession_getNameResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + +type ISessionsetName struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISession_setName"` + + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` +} + +type ISessionsetNameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISession_setNameResponse"` +} + type ISessiongetMachine struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ ISession_getMachine"` @@ -13147,6 +14288,17 @@ type IStorageControllergetNameResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IStorageControllersetName struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IStorageController_setName"` + + This string `xml:"_this,omitempty"` + Name string `xml:"name,omitempty"` +} + +type IStorageControllersetNameResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IStorageController_setNameResponse"` +} + type IStorageControllergetMaxDevicesPerPortCount struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IStorageController_getMaxDevicesPerPortCount"` @@ -14193,6 +15345,18 @@ type IMediumRegisteredEventgetRegisteredResponse struct { Returnval bool `xml:"returnval,omitempty"` } +type IMediumConfigChangedEventgetMedium struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMediumConfigChangedEvent_getMedium"` + + This string `xml:"_this,omitempty"` +} + +type IMediumConfigChangedEventgetMediumResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IMediumConfigChangedEvent_getMediumResponse"` + + Returnval string `xml:"returnval,omitempty"` +} + type IMachineRegisteredEventgetRegistered struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMachineRegisteredEvent_getRegistered"` @@ -14265,6 +15429,54 @@ type ISnapshotEventgetSnapshotIdResponse struct { Returnval string `xml:"returnval,omitempty"` } +type ISnapshotTakenEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotTakenEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type ISnapshotTakenEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotTakenEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type ISnapshotDeletedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotDeletedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type ISnapshotDeletedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotDeletedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type ISnapshotRestoredEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotRestoredEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type ISnapshotRestoredEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotRestoredEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type ISnapshotChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type ISnapshotChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ISnapshotChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IMousePointerShapeChangedEventgetVisible struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMousePointerShapeChangedEvent_getVisible"` @@ -14445,6 +15657,18 @@ type IStateChangedEventgetStateResponse struct { Returnval *MachineState `xml:"returnval,omitempty"` } +type IAdditionsStateChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAdditionsStateChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IAdditionsStateChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IAdditionsStateChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type INetworkAdapterChangedEventgetNetworkAdapter struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ INetworkAdapterChangedEvent_getNetworkAdapter"` @@ -14481,6 +15705,18 @@ type IParallelPortChangedEventgetParallelPortResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IStorageControllerChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IStorageControllerChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IStorageControllerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IStorageControllerChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IMediumChangedEventgetMediumAttachment struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IMediumChangedEvent_getMediumAttachment"` @@ -14505,16 +15741,16 @@ type IClipboardModeChangedEventgetClipboardModeResponse struct { Returnval *ClipboardMode `xml:"returnval,omitempty"` } -type IDragAndDropModeChangedEventgetDragAndDropMode struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDragAndDropModeChangedEvent_getDragAndDropMode"` +type IDnDModeChangedEventgetDndMode struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDModeChangedEvent_getDndMode"` This string `xml:"_this,omitempty"` } -type IDragAndDropModeChangedEventgetDragAndDropModeResponse struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IDragAndDropModeChangedEvent_getDragAndDropModeResponse"` +type IDnDModeChangedEventgetDndModeResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IDnDModeChangedEvent_getDndModeResponse"` - Returnval *DragAndDropMode `xml:"returnval,omitempty"` + Returnval *DnDMode `xml:"returnval,omitempty"` } type ICPUChangedEventgetCPU struct { @@ -14949,6 +16185,18 @@ type IGuestFileIOEventgetProcessedResponse struct { Returnval uint32 `xml:"returnval,omitempty"` } +type IGuestFileOffsetChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFileOffsetChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestFileOffsetChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFileOffsetChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IGuestFileReadEventgetData struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFileReadEvent_getData"` @@ -14961,6 +16209,66 @@ type IGuestFileReadEventgetDataResponse struct { Returnval string `xml:"returnval,omitempty"` } +type IGuestFileWriteEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFileWriteEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IGuestFileWriteEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IGuestFileWriteEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IVRDEServerChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVRDEServerChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IVRDEServerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVRDEServerChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IVRDEServerInfoChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVRDEServerInfoChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IVRDEServerInfoChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVRDEServerInfoChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IVideoCaptureChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVideoCaptureChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IVideoCaptureChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVideoCaptureChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IUSBControllerChangedEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBControllerChangedEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IUSBControllerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBControllerChangedEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IUSBDeviceStateChangedEventgetDevice struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IUSBDeviceStateChangedEvent_getDevice"` @@ -15140,6 +16448,41 @@ type IVetoEventgetVetosResponse struct { Returnval []string `xml:"returnval,omitempty"` } +type IVetoEventaddApproval struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVetoEvent_addApproval"` + + This string `xml:"_this,omitempty"` + Reason string `xml:"reason,omitempty"` +} + +type IVetoEventaddApprovalResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVetoEvent_addApprovalResponse"` +} + +type IVetoEventisApproved struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVetoEvent_isApproved"` + + This string `xml:"_this,omitempty"` +} + +type IVetoEventisApprovedResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVetoEvent_isApprovedResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + +type IVetoEventgetApprovals struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVetoEvent_getApprovals"` + + This string `xml:"_this,omitempty"` +} + +type IVetoEventgetApprovalsResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IVetoEvent_getApprovalsResponse"` + + Returnval []string `xml:"returnval,omitempty"` +} + type IExtraDataCanChangeEventgetMachineId struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IExtraDataCanChangeEvent_getMachineId"` @@ -15176,6 +16519,18 @@ type IExtraDataCanChangeEventgetValueResponse struct { Returnval string `xml:"returnval,omitempty"` } +type ICanShowWindowEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ICanShowWindowEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type ICanShowWindowEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ ICanShowWindowEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type IShowWindowEventgetWinId struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ IShowWindowEvent_getWinId"` @@ -15547,6 +16902,18 @@ type INATNetworkStartStopEventgetStartEventResponse struct { Returnval bool `xml:"returnval,omitempty"` } +type INATNetworkAlterEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ INATNetworkAlterEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type INATNetworkAlterEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ INATNetworkAlterEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type INATNetworkCreationDeletionEventgetCreationEvent struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ INATNetworkCreationDeletionEvent_getCreationEvent"` @@ -15715,6 +17082,18 @@ type INATNetworkPortForwardEventgetGuestPortResponse struct { Returnval int32 `xml:"returnval,omitempty"` } +type IHostNameResolutionConfigurationChangeEventgetMidlDoesNotLikeEmptyInterfaces struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IHostNameResolutionConfigurationChangeEvent_getMidlDoesNotLikeEmptyInterfaces"` + + This string `xml:"_this,omitempty"` +} + +type IHostNameResolutionConfigurationChangeEventgetMidlDoesNotLikeEmptyInterfacesResponse struct { + XMLName xml.Name `xml:"http://www.virtualbox.org/ IHostNameResolutionConfigurationChangeEvent_getMidlDoesNotLikeEmptyInterfacesResponse"` + + Returnval bool `xml:"returnval,omitempty"` +} + type InvalidObjectFault struct { XMLName xml.Name `xml:"http://www.virtualbox.org/ InvalidObjectFault"` @@ -15785,8 +17164,10 @@ type IGuestOSType struct { RecommendedRTCUseUTC bool `xml:"recommendedRTCUseUTC,omitempty"` RecommendedChipset *ChipsetType `xml:"recommendedChipset,omitempty"` RecommendedAudioController *AudioControllerType `xml:"recommendedAudioController,omitempty"` + RecommendedAudioCodec *AudioCodecType `xml:"recommendedAudioCodec,omitempty"` RecommendedFloppy bool `xml:"recommendedFloppy,omitempty"` RecommendedUSB bool `xml:"recommendedUSB,omitempty"` + RecommendedTFReset bool `xml:"recommendedTFReset,omitempty"` } type IAdditionsFacility struct { @@ -15800,7 +17181,7 @@ type IAdditionsFacility struct { } type IMediumAttachment struct { - XMLName xml.Name `xml:"http://www.virtualbox.org/ IMediumAttachment"` + // XMLName xml.Name `xml:"http://www.virtualbox.org/ IMediumAttachment"` Medium string `xml:"medium,omitempty"` Controller string `xml:"controller,omitempty"` @@ -16672,6 +18053,21 @@ func (service *VboxPortType) IVirtualBoxgetAPIVersion(request *IVirtualBoxgetAPI // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IVirtualBoxgetAPIRevision(request *IVirtualBoxgetAPIRevision) (*IVirtualBoxgetAPIRevisionResponse, error) { + response := new(IVirtualBoxgetAPIRevisionResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IVirtualBoxgetHomeFolder(request *IVirtualBoxgetHomeFolder) (*IVirtualBoxgetHomeFolderResponse, error) { response := new(IVirtualBoxgetHomeFolderResponse) err := service.client.Call("", request, response) @@ -17062,8 +18458,8 @@ func (service *VboxPortType) IVirtualBoxcreateAppliance(request *IVirtualBoxcrea // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IVirtualBoxcreateHardDisk(request *IVirtualBoxcreateHardDisk) (*IVirtualBoxcreateHardDiskResponse, error) { - response := new(IVirtualBoxcreateHardDiskResponse) +func (service *VboxPortType) IVirtualBoxcreateMedium(request *IVirtualBoxcreateMedium) (*IVirtualBoxcreateMediumResponse, error) { + response := new(IVirtualBoxcreateMediumResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -17572,6 +18968,51 @@ func (service *VboxPortType) IAppliancegetWarnings(request *IAppliancegetWarning // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IAppliancegetPasswordIds(request *IAppliancegetPasswordIds) (*IAppliancegetPasswordIdsResponse, error) { + response := new(IAppliancegetPasswordIdsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAppliancegetMediumIdsForPasswordId(request *IAppliancegetMediumIdsForPasswordId) (*IAppliancegetMediumIdsForPasswordIdResponse, error) { + response := new(IAppliancegetMediumIdsForPasswordIdResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IApplianceaddPasswords(request *IApplianceaddPasswords) (*IApplianceaddPasswordsResponse, error) { + response := new(IApplianceaddPasswordsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IVirtualSystemDescriptiongetCount(request *IVirtualSystemDescriptiongetCount) (*IVirtualSystemDescriptiongetCountResponse, error) { response := new(IVirtualSystemDescriptiongetCountResponse) err := service.client.Call("", request, response) @@ -18427,6 +19868,36 @@ func (service *VboxPortType) IMachinesetCPUExecutionCap(request *IMachinesetCPUE // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMachinegetCPUIDPortabilityLevel(request *IMachinegetCPUIDPortabilityLevel) (*IMachinegetCPUIDPortabilityLevelResponse, error) { + response := new(IMachinegetCPUIDPortabilityLevelResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinesetCPUIDPortabilityLevel(request *IMachinesetCPUIDPortabilityLevel) (*IMachinesetCPUIDPortabilityLevelResponse, error) { + response := new(IMachinesetCPUIDPortabilityLevelResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMachinegetMemorySize(request *IMachinegetMemorySize) (*IMachinegetMemorySizeResponse, error) { response := new(IMachinegetMemorySizeResponse) err := service.client.Call("", request, response) @@ -18877,6 +20348,96 @@ func (service *VboxPortType) IMachinesetVideoCaptureFPS(request *IMachinesetVide // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMachinegetVideoCaptureMaxTime(request *IMachinegetVideoCaptureMaxTime) (*IMachinegetVideoCaptureMaxTimeResponse, error) { + response := new(IMachinegetVideoCaptureMaxTimeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinesetVideoCaptureMaxTime(request *IMachinesetVideoCaptureMaxTime) (*IMachinesetVideoCaptureMaxTimeResponse, error) { + response := new(IMachinesetVideoCaptureMaxTimeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinegetVideoCaptureMaxFileSize(request *IMachinegetVideoCaptureMaxFileSize) (*IMachinegetVideoCaptureMaxFileSizeResponse, error) { + response := new(IMachinegetVideoCaptureMaxFileSizeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinesetVideoCaptureMaxFileSize(request *IMachinesetVideoCaptureMaxFileSize) (*IMachinesetVideoCaptureMaxFileSizeResponse, error) { + response := new(IMachinesetVideoCaptureMaxFileSizeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinegetVideoCaptureOptions(request *IMachinegetVideoCaptureOptions) (*IMachinegetVideoCaptureOptionsResponse, error) { + response := new(IMachinegetVideoCaptureOptionsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinesetVideoCaptureOptions(request *IMachinesetVideoCaptureOptions) (*IMachinesetVideoCaptureOptionsResponse, error) { + response := new(IMachinesetVideoCaptureOptionsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMachinegetBIOSSettings(request *IMachinegetBIOSSettings) (*IMachinegetBIOSSettingsResponse, error) { response := new(IMachinegetBIOSSettingsResponse) err := service.client.Call("", request, response) @@ -19237,8 +20798,8 @@ func (service *VboxPortType) IMachinegetSessionState(request *IMachinegetSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetSessionType(request *IMachinegetSessionType) (*IMachinegetSessionTypeResponse, error) { - response := new(IMachinegetSessionTypeResponse) +func (service *VboxPortType) IMachinegetSessionName(request *IMachinegetSessionName) (*IMachinegetSessionNameResponse, error) { + response := new(IMachinegetSessionNameResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19417,8 +20978,8 @@ func (service *VboxPortType) IMachinesetClipboardMode(request *IMachinesetClipbo // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetDragAndDropMode(request *IMachinegetDragAndDropMode) (*IMachinegetDragAndDropModeResponse, error) { - response := new(IMachinegetDragAndDropModeResponse) +func (service *VboxPortType) IMachinegetDnDMode(request *IMachinegetDnDMode) (*IMachinegetDnDModeResponse, error) { + response := new(IMachinegetDnDModeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19432,8 +20993,8 @@ func (service *VboxPortType) IMachinegetDragAndDropMode(request *IMachinegetDrag // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinesetDragAndDropMode(request *IMachinesetDragAndDropMode) (*IMachinesetDragAndDropModeResponse, error) { - response := new(IMachinesetDragAndDropModeResponse) +func (service *VboxPortType) IMachinesetDnDMode(request *IMachinesetDnDMode) (*IMachinesetDnDModeResponse, error) { + response := new(IMachinesetDnDModeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19447,8 +21008,8 @@ func (service *VboxPortType) IMachinesetDragAndDropMode(request *IMachinesetDrag // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetGuestPropertyNotificationPatterns(request *IMachinegetGuestPropertyNotificationPatterns) (*IMachinegetGuestPropertyNotificationPatternsResponse, error) { - response := new(IMachinegetGuestPropertyNotificationPatternsResponse) +func (service *VboxPortType) IMachinegetTeleporterEnabled(request *IMachinegetTeleporterEnabled) (*IMachinegetTeleporterEnabledResponse, error) { + response := new(IMachinegetTeleporterEnabledResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19462,8 +21023,8 @@ func (service *VboxPortType) IMachinegetGuestPropertyNotificationPatterns(reques // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinesetGuestPropertyNotificationPatterns(request *IMachinesetGuestPropertyNotificationPatterns) (*IMachinesetGuestPropertyNotificationPatternsResponse, error) { - response := new(IMachinesetGuestPropertyNotificationPatternsResponse) +func (service *VboxPortType) IMachinesetTeleporterEnabled(request *IMachinesetTeleporterEnabled) (*IMachinesetTeleporterEnabledResponse, error) { + response := new(IMachinesetTeleporterEnabledResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19477,8 +21038,8 @@ func (service *VboxPortType) IMachinesetGuestPropertyNotificationPatterns(reques // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetTeleporterEnabled(request *IMachinegetTeleporterEnabled) (*IMachinegetTeleporterEnabledResponse, error) { - response := new(IMachinegetTeleporterEnabledResponse) +func (service *VboxPortType) IMachinegetTeleporterPort(request *IMachinegetTeleporterPort) (*IMachinegetTeleporterPortResponse, error) { + response := new(IMachinegetTeleporterPortResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19492,8 +21053,8 @@ func (service *VboxPortType) IMachinegetTeleporterEnabled(request *IMachinegetTe // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinesetTeleporterEnabled(request *IMachinesetTeleporterEnabled) (*IMachinesetTeleporterEnabledResponse, error) { - response := new(IMachinesetTeleporterEnabledResponse) +func (service *VboxPortType) IMachinesetTeleporterPort(request *IMachinesetTeleporterPort) (*IMachinesetTeleporterPortResponse, error) { + response := new(IMachinesetTeleporterPortResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19507,8 +21068,8 @@ func (service *VboxPortType) IMachinesetTeleporterEnabled(request *IMachinesetTe // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetTeleporterPort(request *IMachinegetTeleporterPort) (*IMachinegetTeleporterPortResponse, error) { - response := new(IMachinegetTeleporterPortResponse) +func (service *VboxPortType) IMachinegetTeleporterAddress(request *IMachinegetTeleporterAddress) (*IMachinegetTeleporterAddressResponse, error) { + response := new(IMachinegetTeleporterAddressResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19522,8 +21083,8 @@ func (service *VboxPortType) IMachinegetTeleporterPort(request *IMachinegetTelep // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinesetTeleporterPort(request *IMachinesetTeleporterPort) (*IMachinesetTeleporterPortResponse, error) { - response := new(IMachinesetTeleporterPortResponse) +func (service *VboxPortType) IMachinesetTeleporterAddress(request *IMachinesetTeleporterAddress) (*IMachinesetTeleporterAddressResponse, error) { + response := new(IMachinesetTeleporterAddressResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19537,8 +21098,8 @@ func (service *VboxPortType) IMachinesetTeleporterPort(request *IMachinesetTelep // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetTeleporterAddress(request *IMachinegetTeleporterAddress) (*IMachinegetTeleporterAddressResponse, error) { - response := new(IMachinegetTeleporterAddressResponse) +func (service *VboxPortType) IMachinegetTeleporterPassword(request *IMachinegetTeleporterPassword) (*IMachinegetTeleporterPasswordResponse, error) { + response := new(IMachinegetTeleporterPasswordResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19552,8 +21113,8 @@ func (service *VboxPortType) IMachinegetTeleporterAddress(request *IMachinegetTe // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinesetTeleporterAddress(request *IMachinesetTeleporterAddress) (*IMachinesetTeleporterAddressResponse, error) { - response := new(IMachinesetTeleporterAddressResponse) +func (service *VboxPortType) IMachinesetTeleporterPassword(request *IMachinesetTeleporterPassword) (*IMachinesetTeleporterPasswordResponse, error) { + response := new(IMachinesetTeleporterPasswordResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19567,8 +21128,8 @@ func (service *VboxPortType) IMachinesetTeleporterAddress(request *IMachinesetTe // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetTeleporterPassword(request *IMachinegetTeleporterPassword) (*IMachinegetTeleporterPasswordResponse, error) { - response := new(IMachinegetTeleporterPasswordResponse) +func (service *VboxPortType) IMachinegetParavirtProvider(request *IMachinegetParavirtProvider) (*IMachinegetParavirtProviderResponse, error) { + response := new(IMachinegetParavirtProviderResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -19582,8 +21143,8 @@ func (service *VboxPortType) IMachinegetTeleporterPassword(request *IMachinegetT // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinesetTeleporterPassword(request *IMachinesetTeleporterPassword) (*IMachinesetTeleporterPasswordResponse, error) { - response := new(IMachinesetTeleporterPasswordResponse) +func (service *VboxPortType) IMachinesetParavirtProvider(request *IMachinesetParavirtProvider) (*IMachinesetParavirtProviderResponse, error) { + response := new(IMachinesetParavirtProviderResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -20092,6 +21653,36 @@ func (service *VboxPortType) IMachinegetUSBProxyAvailable(request *IMachinegetUS // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMachinegetVMProcessPriority(request *IMachinegetVMProcessPriority) (*IMachinegetVMProcessPriorityResponse, error) { + response := new(IMachinegetVMProcessPriorityResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinesetVMProcessPriority(request *IMachinesetVMProcessPriority) (*IMachinesetVMProcessPriorityResponse, error) { + response := new(IMachinesetVMProcessPriorityResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMachinelockMachine(request *IMachinelockMachine) (*IMachinelockMachineResponse, error) { response := new(IMachinelockMachineResponse) err := service.client.Call("", request, response) @@ -21037,21 +22628,6 @@ func (service *VboxPortType) IMachinequerySavedGuestScreenInfo(request *IMachine // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinequerySavedThumbnailSize(request *IMachinequerySavedThumbnailSize) (*IMachinequerySavedThumbnailSizeResponse, error) { - response := new(IMachinequerySavedThumbnailSizeResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - func (service *VboxPortType) IMachinereadSavedThumbnailToArray(request *IMachinereadSavedThumbnailToArray) (*IMachinereadSavedThumbnailToArrayResponse, error) { response := new(IMachinereadSavedThumbnailToArrayResponse) err := service.client.Call("", request, response) @@ -21067,8 +22643,8 @@ func (service *VboxPortType) IMachinereadSavedThumbnailToArray(request *IMachine // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinereadSavedThumbnailPNGToArray(request *IMachinereadSavedThumbnailPNGToArray) (*IMachinereadSavedThumbnailPNGToArrayResponse, error) { - response := new(IMachinereadSavedThumbnailPNGToArrayResponse) +func (service *VboxPortType) IMachinequerySavedScreenshotInfo(request *IMachinequerySavedScreenshotInfo) (*IMachinequerySavedScreenshotInfoResponse, error) { + response := new(IMachinequerySavedScreenshotInfoResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21082,8 +22658,8 @@ func (service *VboxPortType) IMachinereadSavedThumbnailPNGToArray(request *IMach // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinequerySavedScreenshotPNGSize(request *IMachinequerySavedScreenshotPNGSize) (*IMachinequerySavedScreenshotPNGSizeResponse, error) { - response := new(IMachinequerySavedScreenshotPNGSizeResponse) +func (service *VboxPortType) IMachinereadSavedScreenshotToArray(request *IMachinereadSavedScreenshotToArray) (*IMachinereadSavedScreenshotToArrayResponse, error) { + response := new(IMachinereadSavedScreenshotToArrayResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21097,8 +22673,8 @@ func (service *VboxPortType) IMachinequerySavedScreenshotPNGSize(request *IMachi // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinereadSavedScreenshotPNGToArray(request *IMachinereadSavedScreenshotPNGToArray) (*IMachinereadSavedScreenshotPNGToArrayResponse, error) { - response := new(IMachinereadSavedScreenshotPNGToArrayResponse) +func (service *VboxPortType) IMachinehotPlugCPU(request *IMachinehotPlugCPU) (*IMachinehotPlugCPUResponse, error) { + response := new(IMachinehotPlugCPUResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21112,8 +22688,8 @@ func (service *VboxPortType) IMachinereadSavedScreenshotPNGToArray(request *IMac // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinehotPlugCPU(request *IMachinehotPlugCPU) (*IMachinehotPlugCPUResponse, error) { - response := new(IMachinehotPlugCPUResponse) +func (service *VboxPortType) IMachinehotUnplugCPU(request *IMachinehotUnplugCPU) (*IMachinehotUnplugCPUResponse, error) { + response := new(IMachinehotUnplugCPUResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21127,8 +22703,8 @@ func (service *VboxPortType) IMachinehotPlugCPU(request *IMachinehotPlugCPU) (*I // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinehotUnplugCPU(request *IMachinehotUnplugCPU) (*IMachinehotUnplugCPUResponse, error) { - response := new(IMachinehotUnplugCPUResponse) +func (service *VboxPortType) IMachinegetCPUStatus(request *IMachinegetCPUStatus) (*IMachinegetCPUStatusResponse, error) { + response := new(IMachinegetCPUStatusResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21142,8 +22718,8 @@ func (service *VboxPortType) IMachinehotUnplugCPU(request *IMachinehotUnplugCPU) // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IMachinegetCPUStatus(request *IMachinegetCPUStatus) (*IMachinegetCPUStatusResponse, error) { - response := new(IMachinegetCPUStatusResponse) +func (service *VboxPortType) IMachinegetEffectiveParavirtProvider(request *IMachinegetEffectiveParavirtProvider) (*IMachinegetEffectiveParavirtProviderResponse, error) { + response := new(IMachinegetEffectiveParavirtProviderResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21202,6 +22778,141 @@ func (service *VboxPortType) IMachinecloneTo(request *IMachinecloneTo) (*IMachin // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMachinesaveState(request *IMachinesaveState) (*IMachinesaveStateResponse, error) { + response := new(IMachinesaveStateResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachineadoptSavedState(request *IMachineadoptSavedState) (*IMachineadoptSavedStateResponse, error) { + response := new(IMachineadoptSavedStateResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinediscardSavedState(request *IMachinediscardSavedState) (*IMachinediscardSavedStateResponse, error) { + response := new(IMachinediscardSavedStateResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinetakeSnapshot(request *IMachinetakeSnapshot) (*IMachinetakeSnapshotResponse, error) { + response := new(IMachinetakeSnapshotResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinedeleteSnapshot(request *IMachinedeleteSnapshot) (*IMachinedeleteSnapshotResponse, error) { + response := new(IMachinedeleteSnapshotResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinedeleteSnapshotAndAllChildren(request *IMachinedeleteSnapshotAndAllChildren) (*IMachinedeleteSnapshotAndAllChildrenResponse, error) { + response := new(IMachinedeleteSnapshotAndAllChildrenResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinedeleteSnapshotRange(request *IMachinedeleteSnapshotRange) (*IMachinedeleteSnapshotRangeResponse, error) { + response := new(IMachinedeleteSnapshotRangeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachinerestoreSnapshot(request *IMachinerestoreSnapshot) (*IMachinerestoreSnapshotResponse, error) { + response := new(IMachinerestoreSnapshotResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachineapplyDefaults(request *IMachineapplyDefaults) (*IMachineapplyDefaultsResponse, error) { + response := new(IMachineapplyDefaultsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IEmulatedUSBgetWebcams(request *IEmulatedUSBgetWebcams) (*IEmulatedUSBgetWebcamsResponse, error) { response := new(IEmulatedUSBgetWebcamsResponse) err := service.client.Call("", request, response) @@ -21637,51 +23348,6 @@ func (service *VboxPortType) IConsolegetGuestEnteredACPIMode(request *IConsolege // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IConsolesaveState(request *IConsolesaveState) (*IConsolesaveStateResponse, error) { - response := new(IConsolesaveStateResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IConsoleadoptSavedState(request *IConsoleadoptSavedState) (*IConsoleadoptSavedStateResponse, error) { - response := new(IConsoleadoptSavedStateResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IConsolediscardSavedState(request *IConsolediscardSavedState) (*IConsolediscardSavedStateResponse, error) { - response := new(IConsolediscardSavedStateResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - func (service *VboxPortType) IConsolegetDeviceActivity(request *IConsolegetDeviceActivity) (*IConsolegetDeviceActivityResponse, error) { response := new(IConsolegetDeviceActivityResponse) err := service.client.Call("", request, response) @@ -21787,23 +23453,8 @@ func (service *VboxPortType) IConsoleremoveSharedFolder(request *IConsoleremoveS // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IConsoletakeSnapshot(request *IConsoletakeSnapshot) (*IConsoletakeSnapshotResponse, error) { - response := new(IConsoletakeSnapshotResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IConsoledeleteSnapshot(request *IConsoledeleteSnapshot) (*IConsoledeleteSnapshotResponse, error) { - response := new(IConsoledeleteSnapshotResponse) +func (service *VboxPortType) IConsoleteleport(request *IConsoleteleport) (*IConsoleteleportResponse, error) { + response := new(IConsoleteleportResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21817,8 +23468,8 @@ func (service *VboxPortType) IConsoledeleteSnapshot(request *IConsoledeleteSnaps // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IConsoledeleteSnapshotAndAllChildren(request *IConsoledeleteSnapshotAndAllChildren) (*IConsoledeleteSnapshotAndAllChildrenResponse, error) { - response := new(IConsoledeleteSnapshotAndAllChildrenResponse) +func (service *VboxPortType) IConsoleaddDiskEncryptionPassword(request *IConsoleaddDiskEncryptionPassword) (*IConsoleaddDiskEncryptionPasswordResponse, error) { + response := new(IConsoleaddDiskEncryptionPasswordResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21832,8 +23483,8 @@ func (service *VboxPortType) IConsoledeleteSnapshotAndAllChildren(request *ICons // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IConsoledeleteSnapshotRange(request *IConsoledeleteSnapshotRange) (*IConsoledeleteSnapshotRangeResponse, error) { - response := new(IConsoledeleteSnapshotRangeResponse) +func (service *VboxPortType) IConsoleaddDiskEncryptionPasswords(request *IConsoleaddDiskEncryptionPasswords) (*IConsoleaddDiskEncryptionPasswordsResponse, error) { + response := new(IConsoleaddDiskEncryptionPasswordsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21847,8 +23498,8 @@ func (service *VboxPortType) IConsoledeleteSnapshotRange(request *IConsoledelete // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IConsolerestoreSnapshot(request *IConsolerestoreSnapshot) (*IConsolerestoreSnapshotResponse, error) { - response := new(IConsolerestoreSnapshotResponse) +func (service *VboxPortType) IConsoleremoveDiskEncryptionPassword(request *IConsoleremoveDiskEncryptionPassword) (*IConsoleremoveDiskEncryptionPasswordResponse, error) { + response := new(IConsoleremoveDiskEncryptionPasswordResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -21862,8 +23513,8 @@ func (service *VboxPortType) IConsolerestoreSnapshot(request *IConsolerestoreSna // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IConsoleteleport(request *IConsoleteleport) (*IConsoleteleportResponse, error) { - response := new(IConsoleteleportResponse) +func (service *VboxPortType) IConsoleclearAllDiskEncryptionPasswords(request *IConsoleclearAllDiskEncryptionPasswords) (*IConsoleclearAllDiskEncryptionPasswordsResponse, error) { + response := new(IConsoleclearAllDiskEncryptionPasswordsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -22897,6 +24548,21 @@ func (service *VboxPortType) ISystemPropertiesgetMaxBootPosition(request *ISyste // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) ISystemPropertiesgetRawModeSupported(request *ISystemPropertiesgetRawModeSupported) (*ISystemPropertiesgetRawModeSupportedResponse, error) { + response := new(ISystemPropertiesgetRawModeSupportedResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) ISystemPropertiesgetExclusiveHwVirt(request *ISystemPropertiesgetExclusiveHwVirt) (*ISystemPropertiesgetExclusiveHwVirtResponse, error) { response := new(ISystemPropertiesgetExclusiveHwVirtResponse) err := service.client.Call("", request, response) @@ -23377,6 +25043,21 @@ func (service *VboxPortType) ISystemPropertiessetDefaultFrontend(request *ISyste // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) ISystemPropertiesgetScreenShotFormats(request *ISystemPropertiesgetScreenShotFormats) (*ISystemPropertiesgetScreenShotFormatsResponse, error) { + response := new(ISystemPropertiesgetScreenShotFormatsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) ISystemPropertiesgetMaxNetworkAdapters(request *ISystemPropertiesgetMaxNetworkAdapters) (*ISystemPropertiesgetMaxNetworkAdaptersResponse, error) { response := new(ISystemPropertiesgetMaxNetworkAdaptersResponse) err := service.client.Call("", request, response) @@ -23497,8 +25178,8 @@ func (service *VboxPortType) ISystemPropertiesgetDefaultIoCacheSettingForStorage // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) ISystemPropertiesgetMaxInstancesOfUSBControllerType(request *ISystemPropertiesgetMaxInstancesOfUSBControllerType) (*ISystemPropertiesgetMaxInstancesOfUSBControllerTypeResponse, error) { - response := new(ISystemPropertiesgetMaxInstancesOfUSBControllerTypeResponse) +func (service *VboxPortType) ISystemPropertiesgetStorageControllerHotplugCapable(request *ISystemPropertiesgetStorageControllerHotplugCapable) (*ISystemPropertiesgetStorageControllerHotplugCapableResponse, error) { + response := new(ISystemPropertiesgetStorageControllerHotplugCapableResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23512,8 +25193,8 @@ func (service *VboxPortType) ISystemPropertiesgetMaxInstancesOfUSBControllerType // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetUser(request *IGuestSessiongetUser) (*IGuestSessiongetUserResponse, error) { - response := new(IGuestSessiongetUserResponse) +func (service *VboxPortType) ISystemPropertiesgetMaxInstancesOfUSBControllerType(request *ISystemPropertiesgetMaxInstancesOfUSBControllerType) (*ISystemPropertiesgetMaxInstancesOfUSBControllerTypeResponse, error) { + response := new(ISystemPropertiesgetMaxInstancesOfUSBControllerTypeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23527,8 +25208,8 @@ func (service *VboxPortType) IGuestSessiongetUser(request *IGuestSessiongetUser) // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetDomain(request *IGuestSessiongetDomain) (*IGuestSessiongetDomainResponse, error) { - response := new(IGuestSessiongetDomainResponse) +func (service *VboxPortType) IDnDBasegetFormats(request *IDnDBasegetFormats) (*IDnDBasegetFormatsResponse, error) { + response := new(IDnDBasegetFormatsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23542,8 +25223,8 @@ func (service *VboxPortType) IGuestSessiongetDomain(request *IGuestSessiongetDom // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetName(request *IGuestSessiongetName) (*IGuestSessiongetNameResponse, error) { - response := new(IGuestSessiongetNameResponse) +func (service *VboxPortType) IDnDBasegetProtocolVersion(request *IDnDBasegetProtocolVersion) (*IDnDBasegetProtocolVersionResponse, error) { + response := new(IDnDBasegetProtocolVersionResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23557,8 +25238,8 @@ func (service *VboxPortType) IGuestSessiongetName(request *IGuestSessiongetName) // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetId(request *IGuestSessiongetId) (*IGuestSessiongetIdResponse, error) { - response := new(IGuestSessiongetIdResponse) +func (service *VboxPortType) IDnDBaseisFormatSupported(request *IDnDBaseisFormatSupported) (*IDnDBaseisFormatSupportedResponse, error) { + response := new(IDnDBaseisFormatSupportedResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23572,8 +25253,8 @@ func (service *VboxPortType) IGuestSessiongetId(request *IGuestSessiongetId) (*I // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetTimeout(request *IGuestSessiongetTimeout) (*IGuestSessiongetTimeoutResponse, error) { - response := new(IGuestSessiongetTimeoutResponse) +func (service *VboxPortType) IDnDBaseaddFormats(request *IDnDBaseaddFormats) (*IDnDBaseaddFormatsResponse, error) { + response := new(IDnDBaseaddFormatsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23587,8 +25268,8 @@ func (service *VboxPortType) IGuestSessiongetTimeout(request *IGuestSessiongetTi // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsetTimeout(request *IGuestSessionsetTimeout) (*IGuestSessionsetTimeoutResponse, error) { - response := new(IGuestSessionsetTimeoutResponse) +func (service *VboxPortType) IDnDBaseremoveFormats(request *IDnDBaseremoveFormats) (*IDnDBaseremoveFormatsResponse, error) { + response := new(IDnDBaseremoveFormatsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23602,8 +25283,8 @@ func (service *VboxPortType) IGuestSessionsetTimeout(request *IGuestSessionsetTi // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetProtocolVersion(request *IGuestSessiongetProtocolVersion) (*IGuestSessiongetProtocolVersionResponse, error) { - response := new(IGuestSessiongetProtocolVersionResponse) +func (service *VboxPortType) IDnDSourcedragIsPending(request *IDnDSourcedragIsPending) (*IDnDSourcedragIsPendingResponse, error) { + response := new(IDnDSourcedragIsPendingResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23617,8 +25298,8 @@ func (service *VboxPortType) IGuestSessiongetProtocolVersion(request *IGuestSess // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetStatus(request *IGuestSessiongetStatus) (*IGuestSessiongetStatusResponse, error) { - response := new(IGuestSessiongetStatusResponse) +func (service *VboxPortType) IDnDSourcedrop(request *IDnDSourcedrop) (*IDnDSourcedropResponse, error) { + response := new(IDnDSourcedropResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23632,8 +25313,8 @@ func (service *VboxPortType) IGuestSessiongetStatus(request *IGuestSessiongetSta // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetEnvironment(request *IGuestSessiongetEnvironment) (*IGuestSessiongetEnvironmentResponse, error) { - response := new(IGuestSessiongetEnvironmentResponse) +func (service *VboxPortType) IDnDSourcereceiveData(request *IDnDSourcereceiveData) (*IDnDSourcereceiveDataResponse, error) { + response := new(IDnDSourcereceiveDataResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23647,8 +25328,8 @@ func (service *VboxPortType) IGuestSessiongetEnvironment(request *IGuestSessiong // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsetEnvironment(request *IGuestSessionsetEnvironment) (*IGuestSessionsetEnvironmentResponse, error) { - response := new(IGuestSessionsetEnvironmentResponse) +func (service *VboxPortType) IGuestDnDSourcegetMidlDoesNotLikeEmptyInterfaces(request *IGuestDnDSourcegetMidlDoesNotLikeEmptyInterfaces) (*IGuestDnDSourcegetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestDnDSourcegetMidlDoesNotLikeEmptyInterfacesResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23662,8 +25343,8 @@ func (service *VboxPortType) IGuestSessionsetEnvironment(request *IGuestSessions // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetProcesses(request *IGuestSessiongetProcesses) (*IGuestSessiongetProcessesResponse, error) { - response := new(IGuestSessiongetProcessesResponse) +func (service *VboxPortType) IDnDTargetenter(request *IDnDTargetenter) (*IDnDTargetenterResponse, error) { + response := new(IDnDTargetenterResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23677,8 +25358,8 @@ func (service *VboxPortType) IGuestSessiongetProcesses(request *IGuestSessionget // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetDirectories(request *IGuestSessiongetDirectories) (*IGuestSessiongetDirectoriesResponse, error) { - response := new(IGuestSessiongetDirectoriesResponse) +func (service *VboxPortType) IDnDTargetmove(request *IDnDTargetmove) (*IDnDTargetmoveResponse, error) { + response := new(IDnDTargetmoveResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23692,8 +25373,8 @@ func (service *VboxPortType) IGuestSessiongetDirectories(request *IGuestSessiong // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetFiles(request *IGuestSessiongetFiles) (*IGuestSessiongetFilesResponse, error) { - response := new(IGuestSessiongetFilesResponse) +func (service *VboxPortType) IDnDTargetleave(request *IDnDTargetleave) (*IDnDTargetleaveResponse, error) { + response := new(IDnDTargetleaveResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23707,8 +25388,8 @@ func (service *VboxPortType) IGuestSessiongetFiles(request *IGuestSessiongetFile // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiongetEventSource(request *IGuestSessiongetEventSource) (*IGuestSessiongetEventSourceResponse, error) { - response := new(IGuestSessiongetEventSourceResponse) +func (service *VboxPortType) IDnDTargetdrop(request *IDnDTargetdrop) (*IDnDTargetdropResponse, error) { + response := new(IDnDTargetdropResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23722,8 +25403,8 @@ func (service *VboxPortType) IGuestSessiongetEventSource(request *IGuestSessiong // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionclose(request *IGuestSessionclose) (*IGuestSessioncloseResponse, error) { - response := new(IGuestSessioncloseResponse) +func (service *VboxPortType) IDnDTargetsendData(request *IDnDTargetsendData) (*IDnDTargetsendDataResponse, error) { + response := new(IDnDTargetsendDataResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23737,8 +25418,8 @@ func (service *VboxPortType) IGuestSessionclose(request *IGuestSessionclose) (*I // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessioncopyFrom(request *IGuestSessioncopyFrom) (*IGuestSessioncopyFromResponse, error) { - response := new(IGuestSessioncopyFromResponse) +func (service *VboxPortType) IDnDTargetcancel(request *IDnDTargetcancel) (*IDnDTargetcancelResponse, error) { + response := new(IDnDTargetcancelResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23752,8 +25433,8 @@ func (service *VboxPortType) IGuestSessioncopyFrom(request *IGuestSessioncopyFro // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessioncopyTo(request *IGuestSessioncopyTo) (*IGuestSessioncopyToResponse, error) { - response := new(IGuestSessioncopyToResponse) +func (service *VboxPortType) IGuestDnDTargetgetMidlDoesNotLikeEmptyInterfaces(request *IGuestDnDTargetgetMidlDoesNotLikeEmptyInterfaces) (*IGuestDnDTargetgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestDnDTargetgetMidlDoesNotLikeEmptyInterfacesResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23767,8 +25448,8 @@ func (service *VboxPortType) IGuestSessioncopyTo(request *IGuestSessioncopyTo) ( // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryCreate(request *IGuestSessiondirectoryCreate) (*IGuestSessiondirectoryCreateResponse, error) { - response := new(IGuestSessiondirectoryCreateResponse) +func (service *VboxPortType) IGuestSessiongetUser(request *IGuestSessiongetUser) (*IGuestSessiongetUserResponse, error) { + response := new(IGuestSessiongetUserResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23782,8 +25463,8 @@ func (service *VboxPortType) IGuestSessiondirectoryCreate(request *IGuestSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryCreateTemp(request *IGuestSessiondirectoryCreateTemp) (*IGuestSessiondirectoryCreateTempResponse, error) { - response := new(IGuestSessiondirectoryCreateTempResponse) +func (service *VboxPortType) IGuestSessiongetDomain(request *IGuestSessiongetDomain) (*IGuestSessiongetDomainResponse, error) { + response := new(IGuestSessiongetDomainResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23797,8 +25478,8 @@ func (service *VboxPortType) IGuestSessiondirectoryCreateTemp(request *IGuestSes // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryExists(request *IGuestSessiondirectoryExists) (*IGuestSessiondirectoryExistsResponse, error) { - response := new(IGuestSessiondirectoryExistsResponse) +func (service *VboxPortType) IGuestSessiongetName(request *IGuestSessiongetName) (*IGuestSessiongetNameResponse, error) { + response := new(IGuestSessiongetNameResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23812,8 +25493,8 @@ func (service *VboxPortType) IGuestSessiondirectoryExists(request *IGuestSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryOpen(request *IGuestSessiondirectoryOpen) (*IGuestSessiondirectoryOpenResponse, error) { - response := new(IGuestSessiondirectoryOpenResponse) +func (service *VboxPortType) IGuestSessiongetId(request *IGuestSessiongetId) (*IGuestSessiongetIdResponse, error) { + response := new(IGuestSessiongetIdResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23827,8 +25508,8 @@ func (service *VboxPortType) IGuestSessiondirectoryOpen(request *IGuestSessiondi // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryQueryInfo(request *IGuestSessiondirectoryQueryInfo) (*IGuestSessiondirectoryQueryInfoResponse, error) { - response := new(IGuestSessiondirectoryQueryInfoResponse) +func (service *VboxPortType) IGuestSessiongetTimeout(request *IGuestSessiongetTimeout) (*IGuestSessiongetTimeoutResponse, error) { + response := new(IGuestSessiongetTimeoutResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23842,8 +25523,8 @@ func (service *VboxPortType) IGuestSessiondirectoryQueryInfo(request *IGuestSess // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryRemove(request *IGuestSessiondirectoryRemove) (*IGuestSessiondirectoryRemoveResponse, error) { - response := new(IGuestSessiondirectoryRemoveResponse) +func (service *VboxPortType) IGuestSessionsetTimeout(request *IGuestSessionsetTimeout) (*IGuestSessionsetTimeoutResponse, error) { + response := new(IGuestSessionsetTimeoutResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23857,8 +25538,8 @@ func (service *VboxPortType) IGuestSessiondirectoryRemove(request *IGuestSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryRemoveRecursive(request *IGuestSessiondirectoryRemoveRecursive) (*IGuestSessiondirectoryRemoveRecursiveResponse, error) { - response := new(IGuestSessiondirectoryRemoveRecursiveResponse) +func (service *VboxPortType) IGuestSessiongetProtocolVersion(request *IGuestSessiongetProtocolVersion) (*IGuestSessiongetProtocolVersionResponse, error) { + response := new(IGuestSessiongetProtocolVersionResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23872,8 +25553,8 @@ func (service *VboxPortType) IGuestSessiondirectoryRemoveRecursive(request *IGue // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectoryRename(request *IGuestSessiondirectoryRename) (*IGuestSessiondirectoryRenameResponse, error) { - response := new(IGuestSessiondirectoryRenameResponse) +func (service *VboxPortType) IGuestSessiongetStatus(request *IGuestSessiongetStatus) (*IGuestSessiongetStatusResponse, error) { + response := new(IGuestSessiongetStatusResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23887,8 +25568,8 @@ func (service *VboxPortType) IGuestSessiondirectoryRename(request *IGuestSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessiondirectorySetACL(request *IGuestSessiondirectorySetACL) (*IGuestSessiondirectorySetACLResponse, error) { - response := new(IGuestSessiondirectorySetACLResponse) +func (service *VboxPortType) IGuestSessiongetEnvironmentChanges(request *IGuestSessiongetEnvironmentChanges) (*IGuestSessiongetEnvironmentChangesResponse, error) { + response := new(IGuestSessiongetEnvironmentChangesResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23902,8 +25583,8 @@ func (service *VboxPortType) IGuestSessiondirectorySetACL(request *IGuestSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionenvironmentClear(request *IGuestSessionenvironmentClear) (*IGuestSessionenvironmentClearResponse, error) { - response := new(IGuestSessionenvironmentClearResponse) +func (service *VboxPortType) IGuestSessionsetEnvironmentChanges(request *IGuestSessionsetEnvironmentChanges) (*IGuestSessionsetEnvironmentChangesResponse, error) { + response := new(IGuestSessionsetEnvironmentChangesResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23917,8 +25598,8 @@ func (service *VboxPortType) IGuestSessionenvironmentClear(request *IGuestSessio // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionenvironmentGet(request *IGuestSessionenvironmentGet) (*IGuestSessionenvironmentGetResponse, error) { - response := new(IGuestSessionenvironmentGetResponse) +func (service *VboxPortType) IGuestSessiongetEnvironmentBase(request *IGuestSessiongetEnvironmentBase) (*IGuestSessiongetEnvironmentBaseResponse, error) { + response := new(IGuestSessiongetEnvironmentBaseResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23932,8 +25613,8 @@ func (service *VboxPortType) IGuestSessionenvironmentGet(request *IGuestSessione // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionenvironmentSet(request *IGuestSessionenvironmentSet) (*IGuestSessionenvironmentSetResponse, error) { - response := new(IGuestSessionenvironmentSetResponse) +func (service *VboxPortType) IGuestSessiongetProcesses(request *IGuestSessiongetProcesses) (*IGuestSessiongetProcessesResponse, error) { + response := new(IGuestSessiongetProcessesResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23947,8 +25628,8 @@ func (service *VboxPortType) IGuestSessionenvironmentSet(request *IGuestSessione // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionenvironmentUnset(request *IGuestSessionenvironmentUnset) (*IGuestSessionenvironmentUnsetResponse, error) { - response := new(IGuestSessionenvironmentUnsetResponse) +func (service *VboxPortType) IGuestSessiongetPathStyle(request *IGuestSessiongetPathStyle) (*IGuestSessiongetPathStyleResponse, error) { + response := new(IGuestSessiongetPathStyleResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23962,8 +25643,8 @@ func (service *VboxPortType) IGuestSessionenvironmentUnset(request *IGuestSessio // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileCreateTemp(request *IGuestSessionfileCreateTemp) (*IGuestSessionfileCreateTempResponse, error) { - response := new(IGuestSessionfileCreateTempResponse) +func (service *VboxPortType) IGuestSessiongetCurrentDirectory(request *IGuestSessiongetCurrentDirectory) (*IGuestSessiongetCurrentDirectoryResponse, error) { + response := new(IGuestSessiongetCurrentDirectoryResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23977,8 +25658,308 @@ func (service *VboxPortType) IGuestSessionfileCreateTemp(request *IGuestSessionf // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileExists(request *IGuestSessionfileExists) (*IGuestSessionfileExistsResponse, error) { - response := new(IGuestSessionfileExistsResponse) +func (service *VboxPortType) IGuestSessionsetCurrentDirectory(request *IGuestSessionsetCurrentDirectory) (*IGuestSessionsetCurrentDirectoryResponse, error) { + response := new(IGuestSessionsetCurrentDirectoryResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiongetDirectories(request *IGuestSessiongetDirectories) (*IGuestSessiongetDirectoriesResponse, error) { + response := new(IGuestSessiongetDirectoriesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiongetFiles(request *IGuestSessiongetFiles) (*IGuestSessiongetFilesResponse, error) { + response := new(IGuestSessiongetFilesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiongetEventSource(request *IGuestSessiongetEventSource) (*IGuestSessiongetEventSourceResponse, error) { + response := new(IGuestSessiongetEventSourceResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionclose(request *IGuestSessionclose) (*IGuestSessioncloseResponse, error) { + response := new(IGuestSessioncloseResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryCopy(request *IGuestSessiondirectoryCopy) (*IGuestSessiondirectoryCopyResponse, error) { + response := new(IGuestSessiondirectoryCopyResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryCopyFromGuest(request *IGuestSessiondirectoryCopyFromGuest) (*IGuestSessiondirectoryCopyFromGuestResponse, error) { + response := new(IGuestSessiondirectoryCopyFromGuestResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryCopyToGuest(request *IGuestSessiondirectoryCopyToGuest) (*IGuestSessiondirectoryCopyToGuestResponse, error) { + response := new(IGuestSessiondirectoryCopyToGuestResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryCreate(request *IGuestSessiondirectoryCreate) (*IGuestSessiondirectoryCreateResponse, error) { + response := new(IGuestSessiondirectoryCreateResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryCreateTemp(request *IGuestSessiondirectoryCreateTemp) (*IGuestSessiondirectoryCreateTempResponse, error) { + response := new(IGuestSessiondirectoryCreateTempResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryExists(request *IGuestSessiondirectoryExists) (*IGuestSessiondirectoryExistsResponse, error) { + response := new(IGuestSessiondirectoryExistsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryOpen(request *IGuestSessiondirectoryOpen) (*IGuestSessiondirectoryOpenResponse, error) { + response := new(IGuestSessiondirectoryOpenResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryRemove(request *IGuestSessiondirectoryRemove) (*IGuestSessiondirectoryRemoveResponse, error) { + response := new(IGuestSessiondirectoryRemoveResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessiondirectoryRemoveRecursive(request *IGuestSessiondirectoryRemoveRecursive) (*IGuestSessiondirectoryRemoveRecursiveResponse, error) { + response := new(IGuestSessiondirectoryRemoveRecursiveResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionenvironmentScheduleSet(request *IGuestSessionenvironmentScheduleSet) (*IGuestSessionenvironmentScheduleSetResponse, error) { + response := new(IGuestSessionenvironmentScheduleSetResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionenvironmentScheduleUnset(request *IGuestSessionenvironmentScheduleUnset) (*IGuestSessionenvironmentScheduleUnsetResponse, error) { + response := new(IGuestSessionenvironmentScheduleUnsetResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionenvironmentGetBaseVariable(request *IGuestSessionenvironmentGetBaseVariable) (*IGuestSessionenvironmentGetBaseVariableResponse, error) { + response := new(IGuestSessionenvironmentGetBaseVariableResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionenvironmentDoesBaseVariableExist(request *IGuestSessionenvironmentDoesBaseVariableExist) (*IGuestSessionenvironmentDoesBaseVariableExistResponse, error) { + response := new(IGuestSessionenvironmentDoesBaseVariableExistResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionfileCopy(request *IGuestSessionfileCopy) (*IGuestSessionfileCopyResponse, error) { + response := new(IGuestSessionfileCopyResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionfileCopyFromGuest(request *IGuestSessionfileCopyFromGuest) (*IGuestSessionfileCopyFromGuestResponse, error) { + response := new(IGuestSessionfileCopyFromGuestResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionfileCopyToGuest(request *IGuestSessionfileCopyToGuest) (*IGuestSessionfileCopyToGuestResponse, error) { + response := new(IGuestSessionfileCopyToGuestResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -23992,8 +25973,23 @@ func (service *VboxPortType) IGuestSessionfileExists(request *IGuestSessionfileE // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileRemove(request *IGuestSessionfileRemove) (*IGuestSessionfileRemoveResponse, error) { - response := new(IGuestSessionfileRemoveResponse) +func (service *VboxPortType) IGuestSessionfileCreateTemp(request *IGuestSessionfileCreateTemp) (*IGuestSessionfileCreateTempResponse, error) { + response := new(IGuestSessionfileCreateTempResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionfileExists(request *IGuestSessionfileExists) (*IGuestSessionfileExistsResponse, error) { + response := new(IGuestSessionfileExistsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24037,8 +26033,8 @@ func (service *VboxPortType) IGuestSessionfileOpenEx(request *IGuestSessionfileO // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileQueryInfo(request *IGuestSessionfileQueryInfo) (*IGuestSessionfileQueryInfoResponse, error) { - response := new(IGuestSessionfileQueryInfoResponse) +func (service *VboxPortType) IGuestSessionfileQuerySize(request *IGuestSessionfileQuerySize) (*IGuestSessionfileQuerySizeResponse, error) { + response := new(IGuestSessionfileQuerySizeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24052,8 +26048,8 @@ func (service *VboxPortType) IGuestSessionfileQueryInfo(request *IGuestSessionfi // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileQuerySize(request *IGuestSessionfileQuerySize) (*IGuestSessionfileQuerySizeResponse, error) { - response := new(IGuestSessionfileQuerySizeResponse) +func (service *VboxPortType) IGuestSessionfsObjExists(request *IGuestSessionfsObjExists) (*IGuestSessionfsObjExistsResponse, error) { + response := new(IGuestSessionfsObjExistsResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24067,8 +26063,8 @@ func (service *VboxPortType) IGuestSessionfileQuerySize(request *IGuestSessionfi // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileRename(request *IGuestSessionfileRename) (*IGuestSessionfileRenameResponse, error) { - response := new(IGuestSessionfileRenameResponse) +func (service *VboxPortType) IGuestSessionfsObjQueryInfo(request *IGuestSessionfsObjQueryInfo) (*IGuestSessionfsObjQueryInfoResponse, error) { + response := new(IGuestSessionfsObjQueryInfoResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24082,8 +26078,8 @@ func (service *VboxPortType) IGuestSessionfileRename(request *IGuestSessionfileR // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionfileSetACL(request *IGuestSessionfileSetACL) (*IGuestSessionfileSetACLResponse, error) { - response := new(IGuestSessionfileSetACLResponse) +func (service *VboxPortType) IGuestSessionfsObjRemove(request *IGuestSessionfsObjRemove) (*IGuestSessionfsObjRemoveResponse, error) { + response := new(IGuestSessionfsObjRemoveResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24097,8 +26093,8 @@ func (service *VboxPortType) IGuestSessionfileSetACL(request *IGuestSessionfileS // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionprocessCreate(request *IGuestSessionprocessCreate) (*IGuestSessionprocessCreateResponse, error) { - response := new(IGuestSessionprocessCreateResponse) +func (service *VboxPortType) IGuestSessionfsObjRename(request *IGuestSessionfsObjRename) (*IGuestSessionfsObjRenameResponse, error) { + response := new(IGuestSessionfsObjRenameResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24112,8 +26108,8 @@ func (service *VboxPortType) IGuestSessionprocessCreate(request *IGuestSessionpr // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionprocessCreateEx(request *IGuestSessionprocessCreateEx) (*IGuestSessionprocessCreateExResponse, error) { - response := new(IGuestSessionprocessCreateExResponse) +func (service *VboxPortType) IGuestSessionfsObjMove(request *IGuestSessionfsObjMove) (*IGuestSessionfsObjMoveResponse, error) { + response := new(IGuestSessionfsObjMoveResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24127,8 +26123,8 @@ func (service *VboxPortType) IGuestSessionprocessCreateEx(request *IGuestSession // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionprocessGet(request *IGuestSessionprocessGet) (*IGuestSessionprocessGetResponse, error) { - response := new(IGuestSessionprocessGetResponse) +func (service *VboxPortType) IGuestSessionfsObjSetACL(request *IGuestSessionfsObjSetACL) (*IGuestSessionfsObjSetACLResponse, error) { + response := new(IGuestSessionfsObjSetACLResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24142,8 +26138,8 @@ func (service *VboxPortType) IGuestSessionprocessGet(request *IGuestSessionproce // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsymlinkCreate(request *IGuestSessionsymlinkCreate) (*IGuestSessionsymlinkCreateResponse, error) { - response := new(IGuestSessionsymlinkCreateResponse) +func (service *VboxPortType) IGuestSessionprocessCreate(request *IGuestSessionprocessCreate) (*IGuestSessionprocessCreateResponse, error) { + response := new(IGuestSessionprocessCreateResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24157,8 +26153,8 @@ func (service *VboxPortType) IGuestSessionsymlinkCreate(request *IGuestSessionsy // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsymlinkExists(request *IGuestSessionsymlinkExists) (*IGuestSessionsymlinkExistsResponse, error) { - response := new(IGuestSessionsymlinkExistsResponse) +func (service *VboxPortType) IGuestSessionprocessCreateEx(request *IGuestSessionprocessCreateEx) (*IGuestSessionprocessCreateExResponse, error) { + response := new(IGuestSessionprocessCreateExResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24172,8 +26168,8 @@ func (service *VboxPortType) IGuestSessionsymlinkExists(request *IGuestSessionsy // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsymlinkRead(request *IGuestSessionsymlinkRead) (*IGuestSessionsymlinkReadResponse, error) { - response := new(IGuestSessionsymlinkReadResponse) +func (service *VboxPortType) IGuestSessionprocessGet(request *IGuestSessionprocessGet) (*IGuestSessionprocessGetResponse, error) { + response := new(IGuestSessionprocessGetResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24187,8 +26183,8 @@ func (service *VboxPortType) IGuestSessionsymlinkRead(request *IGuestSessionsyml // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsymlinkRemoveDirectory(request *IGuestSessionsymlinkRemoveDirectory) (*IGuestSessionsymlinkRemoveDirectoryResponse, error) { - response := new(IGuestSessionsymlinkRemoveDirectoryResponse) +func (service *VboxPortType) IGuestSessionsymlinkCreate(request *IGuestSessionsymlinkCreate) (*IGuestSessionsymlinkCreateResponse, error) { + response := new(IGuestSessionsymlinkCreateResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24202,8 +26198,23 @@ func (service *VboxPortType) IGuestSessionsymlinkRemoveDirectory(request *IGuest // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestSessionsymlinkRemoveFile(request *IGuestSessionsymlinkRemoveFile) (*IGuestSessionsymlinkRemoveFileResponse, error) { - response := new(IGuestSessionsymlinkRemoveFileResponse) +func (service *VboxPortType) IGuestSessionsymlinkExists(request *IGuestSessionsymlinkExists) (*IGuestSessionsymlinkExistsResponse, error) { + response := new(IGuestSessionsymlinkExistsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestSessionsymlinkRead(request *IGuestSessionsymlinkRead) (*IGuestSessionsymlinkReadResponse, error) { + response := new(IGuestSessionsymlinkReadResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24457,6 +26468,21 @@ func (service *VboxPortType) IProcessterminate(request *IProcessterminate) (*IPr // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IGuestProcessgetMidlDoesNotLikeEmptyInterfaces(request *IGuestProcessgetMidlDoesNotLikeEmptyInterfaces) (*IGuestProcessgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestProcessgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IDirectorygetDirectoryName(request *IDirectorygetDirectoryName) (*IDirectorygetDirectoryNameResponse, error) { response := new(IDirectorygetDirectoryNameResponse) err := service.client.Call("", request, response) @@ -24517,8 +26543,8 @@ func (service *VboxPortType) IDirectoryread(request *IDirectoryread) (*IDirector // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetCreationMode(request *IFilegetCreationMode) (*IFilegetCreationModeResponse, error) { - response := new(IFilegetCreationModeResponse) +func (service *VboxPortType) IGuestDirectorygetMidlDoesNotLikeEmptyInterfaces(request *IGuestDirectorygetMidlDoesNotLikeEmptyInterfaces) (*IGuestDirectorygetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestDirectorygetMidlDoesNotLikeEmptyInterfacesResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24532,8 +26558,8 @@ func (service *VboxPortType) IFilegetCreationMode(request *IFilegetCreationMode) // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetDisposition(request *IFilegetDisposition) (*IFilegetDispositionResponse, error) { - response := new(IFilegetDispositionResponse) +func (service *VboxPortType) IFilegetEventSource(request *IFilegetEventSource) (*IFilegetEventSourceResponse, error) { + response := new(IFilegetEventSourceResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24547,8 +26573,8 @@ func (service *VboxPortType) IFilegetDisposition(request *IFilegetDisposition) ( // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetEventSource(request *IFilegetEventSource) (*IFilegetEventSourceResponse, error) { - response := new(IFilegetEventSourceResponse) +func (service *VboxPortType) IFilegetId(request *IFilegetId) (*IFilegetIdResponse, error) { + response := new(IFilegetIdResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24562,8 +26588,8 @@ func (service *VboxPortType) IFilegetEventSource(request *IFilegetEventSource) ( // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetFileName(request *IFilegetFileName) (*IFilegetFileNameResponse, error) { - response := new(IFilegetFileNameResponse) +func (service *VboxPortType) IFilegetInitialSize(request *IFilegetInitialSize) (*IFilegetInitialSizeResponse, error) { + response := new(IFilegetInitialSizeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24577,8 +26603,8 @@ func (service *VboxPortType) IFilegetFileName(request *IFilegetFileName) (*IFile // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetId(request *IFilegetId) (*IFilegetIdResponse, error) { - response := new(IFilegetIdResponse) +func (service *VboxPortType) IFilegetOffset(request *IFilegetOffset) (*IFilegetOffsetResponse, error) { + response := new(IFilegetOffsetResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24592,8 +26618,8 @@ func (service *VboxPortType) IFilegetId(request *IFilegetId) (*IFilegetIdRespons // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetInitialSize(request *IFilegetInitialSize) (*IFilegetInitialSizeResponse, error) { - response := new(IFilegetInitialSizeResponse) +func (service *VboxPortType) IFilegetStatus(request *IFilegetStatus) (*IFilegetStatusResponse, error) { + response := new(IFilegetStatusResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24607,8 +26633,8 @@ func (service *VboxPortType) IFilegetInitialSize(request *IFilegetInitialSize) ( // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetOpenMode(request *IFilegetOpenMode) (*IFilegetOpenModeResponse, error) { - response := new(IFilegetOpenModeResponse) +func (service *VboxPortType) IFilegetFileName(request *IFilegetFileName) (*IFilegetFileNameResponse, error) { + response := new(IFilegetFileNameResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24622,8 +26648,8 @@ func (service *VboxPortType) IFilegetOpenMode(request *IFilegetOpenMode) (*IFile // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetOffset(request *IFilegetOffset) (*IFilegetOffsetResponse, error) { - response := new(IFilegetOffsetResponse) +func (service *VboxPortType) IFilegetCreationMode(request *IFilegetCreationMode) (*IFilegetCreationModeResponse, error) { + response := new(IFilegetCreationModeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24637,8 +26663,23 @@ func (service *VboxPortType) IFilegetOffset(request *IFilegetOffset) (*IFilegetO // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFilegetStatus(request *IFilegetStatus) (*IFilegetStatusResponse, error) { - response := new(IFilegetStatusResponse) +func (service *VboxPortType) IFilegetOpenAction(request *IFilegetOpenAction) (*IFilegetOpenActionResponse, error) { + response := new(IFilegetOpenActionResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IFilegetAccessMode(request *IFilegetAccessMode) (*IFilegetAccessModeResponse, error) { + response := new(IFilegetAccessModeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -24682,6 +26723,21 @@ func (service *VboxPortType) IFilequeryInfo(request *IFilequeryInfo) (*IFilequer // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IFilequerySize(request *IFilequerySize) (*IFilequerySizeResponse, error) { + response := new(IFilequerySizeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IFileread(request *IFileread) (*IFilereadResponse, error) { response := new(IFilereadResponse) err := service.client.Call("", request, response) @@ -24742,6 +26798,21 @@ func (service *VboxPortType) IFilesetACL(request *IFilesetACL) (*IFilesetACLResp // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IFilesetSize(request *IFilesetSize) (*IFilesetSizeResponse, error) { + response := new(IFilesetSizeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IFilewrite(request *IFilewrite) (*IFilewriteResponse, error) { response := new(IFilewriteResponse) err := service.client.Call("", request, response) @@ -24772,6 +26843,21 @@ func (service *VboxPortType) IFilewriteAt(request *IFilewriteAt) (*IFilewriteAtR // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IGuestFilegetMidlDoesNotLikeEmptyInterfaces(request *IGuestFilegetMidlDoesNotLikeEmptyInterfaces) (*IGuestFilegetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestFilegetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IFsObjInfogetAccessTime(request *IFsObjInfogetAccessTime) (*IFsObjInfogetAccessTimeResponse, error) { response := new(IFsObjInfogetAccessTimeResponse) err := service.client.Call("", request, response) @@ -25057,6 +27143,21 @@ func (service *VboxPortType) IFsObjInfogetUserName(request *IFsObjInfogetUserNam // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IGuestFsObjInfogetMidlDoesNotLikeEmptyInterfaces(request *IGuestFsObjInfogetMidlDoesNotLikeEmptyInterfaces) (*IGuestFsObjInfogetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestFsObjInfogetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IGuestgetOSTypeId(request *IGuestgetOSTypeId) (*IGuestgetOSTypeIdResponse, error) { response := new(IGuestgetOSTypeIdResponse) err := service.client.Call("", request, response) @@ -25117,6 +27218,36 @@ func (service *VboxPortType) IGuestgetAdditionsRevision(request *IGuestgetAdditi // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IGuestgetDnDSource(request *IGuestgetDnDSource) (*IGuestgetDnDSourceResponse, error) { + response := new(IGuestgetDnDSourceResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IGuestgetDnDTarget(request *IGuestgetDnDTarget) (*IGuestgetDnDTargetResponse, error) { + response := new(IGuestgetDnDTargetResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IGuestgetEventSource(request *IGuestgetEventSource) (*IGuestgetEventSourceResponse, error) { response := new(IGuestgetEventSourceResponse) err := service.client.Call("", request, response) @@ -25282,126 +27413,6 @@ func (service *VboxPortType) IGuestsetCredentials(request *IGuestsetCredentials) // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IGuestdragHGEnter(request *IGuestdragHGEnter) (*IGuestdragHGEnterResponse, error) { - response := new(IGuestdragHGEnterResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragHGMove(request *IGuestdragHGMove) (*IGuestdragHGMoveResponse, error) { - response := new(IGuestdragHGMoveResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragHGLeave(request *IGuestdragHGLeave) (*IGuestdragHGLeaveResponse, error) { - response := new(IGuestdragHGLeaveResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragHGDrop(request *IGuestdragHGDrop) (*IGuestdragHGDropResponse, error) { - response := new(IGuestdragHGDropResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragHGPutData(request *IGuestdragHGPutData) (*IGuestdragHGPutDataResponse, error) { - response := new(IGuestdragHGPutDataResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragGHPending(request *IGuestdragGHPending) (*IGuestdragGHPendingResponse, error) { - response := new(IGuestdragGHPendingResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragGHDropped(request *IGuestdragGHDropped) (*IGuestdragGHDroppedResponse, error) { - response := new(IGuestdragGHDroppedResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - -func (service *VboxPortType) IGuestdragGHGetData(request *IGuestdragGHGetData) (*IGuestdragGHGetDataResponse, error) { - response := new(IGuestdragGHGetDataResponse) - err := service.client.Call("", request, response) - if err != nil { - return nil, err - } - - return response, nil -} - -// Error can be either of the following types: -// -// - InvalidObjectFault -// - RuntimeFault - func (service *VboxPortType) IGuestcreateSession(request *IGuestcreateSession) (*IGuestcreateSessionResponse, error) { response := new(IGuestcreateSessionResponse) err := service.client.Call("", request, response) @@ -26617,6 +28628,51 @@ func (service *VboxPortType) IMediumreset(request *IMediumreset) (*IMediumresetR // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMediumchangeEncryption(request *IMediumchangeEncryption) (*IMediumchangeEncryptionResponse, error) { + response := new(IMediumchangeEncryptionResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMediumgetEncryptionSettings(request *IMediumgetEncryptionSettings) (*IMediumgetEncryptionSettingsResponse, error) { + response := new(IMediumgetEncryptionSettingsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMediumcheckEncryptionPassword(request *IMediumcheckEncryptionPassword) (*IMediumcheckEncryptionPasswordResponse, error) { + response := new(IMediumcheckEncryptionPasswordResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMediumFormatgetId(request *IMediumFormatgetId) (*IMediumFormatgetIdResponse, error) { response := new(IMediumFormatgetIdResponse) err := service.client.Call("", request, response) @@ -26722,6 +28778,21 @@ func (service *VboxPortType) ITokendummy(request *ITokendummy) (*ITokendummyResp // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IKeyboardgetKeyboardLEDs(request *IKeyboardgetKeyboardLEDs) (*IKeyboardgetKeyboardLEDsResponse, error) { + response := new(IKeyboardgetKeyboardLEDsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IKeyboardgetEventSource(request *IKeyboardgetEventSource) (*IKeyboardgetEventSourceResponse, error) { response := new(IKeyboardgetEventSourceResponse) err := service.client.Call("", request, response) @@ -26782,6 +28853,126 @@ func (service *VboxPortType) IKeyboardputCAD(request *IKeyboardputCAD) (*IKeyboa // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IKeyboardreleaseKeys(request *IKeyboardreleaseKeys) (*IKeyboardreleaseKeysResponse, error) { + response := new(IKeyboardreleaseKeysResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetVisible(request *IMousePointerShapegetVisible) (*IMousePointerShapegetVisibleResponse, error) { + response := new(IMousePointerShapegetVisibleResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetAlpha(request *IMousePointerShapegetAlpha) (*IMousePointerShapegetAlphaResponse, error) { + response := new(IMousePointerShapegetAlphaResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetHotX(request *IMousePointerShapegetHotX) (*IMousePointerShapegetHotXResponse, error) { + response := new(IMousePointerShapegetHotXResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetHotY(request *IMousePointerShapegetHotY) (*IMousePointerShapegetHotYResponse, error) { + response := new(IMousePointerShapegetHotYResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetWidth(request *IMousePointerShapegetWidth) (*IMousePointerShapegetWidthResponse, error) { + response := new(IMousePointerShapegetWidthResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetHeight(request *IMousePointerShapegetHeight) (*IMousePointerShapegetHeightResponse, error) { + response := new(IMousePointerShapegetHeightResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMousePointerShapegetShape(request *IMousePointerShapegetShape) (*IMousePointerShapegetShapeResponse, error) { + response := new(IMousePointerShapegetShapeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMousegetAbsoluteSupported(request *IMousegetAbsoluteSupported) (*IMousegetAbsoluteSupportedResponse, error) { response := new(IMousegetAbsoluteSupportedResponse) err := service.client.Call("", request, response) @@ -26842,6 +29033,21 @@ func (service *VboxPortType) IMousegetNeedsHostCursor(request *IMousegetNeedsHos // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMousegetPointerShape(request *IMousegetPointerShape) (*IMousegetPointerShapeResponse, error) { + response := new(IMousegetPointerShapeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMousegetEventSource(request *IMousegetEventSource) (*IMousegetEventSourceResponse, error) { response := new(IMousegetEventSourceResponse) err := service.client.Call("", request, response) @@ -26992,8 +29198,68 @@ func (service *VboxPortType) IFramebuffergetPixelFormat(request *IFramebufferget // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFramebuffergetUsesGuestVRAM(request *IFramebuffergetUsesGuestVRAM) (*IFramebuffergetUsesGuestVRAMResponse, error) { - response := new(IFramebuffergetUsesGuestVRAMResponse) +func (service *VboxPortType) IFramebuffergetHeightReduction(request *IFramebuffergetHeightReduction) (*IFramebuffergetHeightReductionResponse, error) { + response := new(IFramebuffergetHeightReductionResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IFramebuffergetOverlay(request *IFramebuffergetOverlay) (*IFramebuffergetOverlayResponse, error) { + response := new(IFramebuffergetOverlayResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IFramebuffergetCapabilities(request *IFramebuffergetCapabilities) (*IFramebuffergetCapabilitiesResponse, error) { + response := new(IFramebuffergetCapabilitiesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IFramebuffernotifyUpdate(request *IFramebuffernotifyUpdate) (*IFramebuffernotifyUpdateResponse, error) { + response := new(IFramebuffernotifyUpdateResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IFramebuffernotifyUpdateImage(request *IFramebuffernotifyUpdateImage) (*IFramebuffernotifyUpdateImageResponse, error) { + response := new(IFramebuffernotifyUpdateImageResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27007,8 +29273,8 @@ func (service *VboxPortType) IFramebuffergetUsesGuestVRAM(request *IFramebufferg // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFramebuffergetHeightReduction(request *IFramebuffergetHeightReduction) (*IFramebuffergetHeightReductionResponse, error) { - response := new(IFramebuffergetHeightReductionResponse) +func (service *VboxPortType) IFramebuffernotifyChange(request *IFramebuffernotifyChange) (*IFramebuffernotifyChangeResponse, error) { + response := new(IFramebuffernotifyChangeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27022,8 +29288,8 @@ func (service *VboxPortType) IFramebuffergetHeightReduction(request *IFramebuffe // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFramebuffergetOverlay(request *IFramebuffergetOverlay) (*IFramebuffergetOverlayResponse, error) { - response := new(IFramebuffergetOverlayResponse) +func (service *VboxPortType) IFramebuffervideoModeSupported(request *IFramebuffervideoModeSupported) (*IFramebuffervideoModeSupportedResponse, error) { + response := new(IFramebuffervideoModeSupportedResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27037,8 +29303,8 @@ func (service *VboxPortType) IFramebuffergetOverlay(request *IFramebuffergetOver // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IFramebuffervideoModeSupported(request *IFramebuffervideoModeSupported) (*IFramebuffervideoModeSupportedResponse, error) { - response := new(IFramebuffervideoModeSupportedResponse) +func (service *VboxPortType) IFramebuffernotify3DEvent(request *IFramebuffernotify3DEvent) (*IFramebuffernotify3DEventResponse, error) { + response := new(IFramebuffernotify3DEventResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27172,8 +29438,8 @@ func (service *VboxPortType) IDisplaygetScreenResolution(request *IDisplaygetScr // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDisplaysetFramebuffer(request *IDisplaysetFramebuffer) (*IDisplaysetFramebufferResponse, error) { - response := new(IDisplaysetFramebufferResponse) +func (service *VboxPortType) IDisplayattachFramebuffer(request *IDisplayattachFramebuffer) (*IDisplayattachFramebufferResponse, error) { + response := new(IDisplayattachFramebufferResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27187,8 +29453,23 @@ func (service *VboxPortType) IDisplaysetFramebuffer(request *IDisplaysetFramebuf // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDisplaygetFramebuffer(request *IDisplaygetFramebuffer) (*IDisplaygetFramebufferResponse, error) { - response := new(IDisplaygetFramebufferResponse) +func (service *VboxPortType) IDisplaydetachFramebuffer(request *IDisplaydetachFramebuffer) (*IDisplaydetachFramebufferResponse, error) { + response := new(IDisplaydetachFramebufferResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IDisplayqueryFramebuffer(request *IDisplayqueryFramebuffer) (*IDisplayqueryFramebufferResponse, error) { + response := new(IDisplayqueryFramebufferResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27247,8 +29528,8 @@ func (service *VboxPortType) IDisplaytakeScreenShotToArray(request *IDisplaytake // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDisplaytakeScreenShotPNGToArray(request *IDisplaytakeScreenShotPNGToArray) (*IDisplaytakeScreenShotPNGToArrayResponse, error) { - response := new(IDisplaytakeScreenShotPNGToArrayResponse) +func (service *VboxPortType) IDisplayinvalidateAndUpdate(request *IDisplayinvalidateAndUpdate) (*IDisplayinvalidateAndUpdateResponse, error) { + response := new(IDisplayinvalidateAndUpdateResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27262,8 +29543,8 @@ func (service *VboxPortType) IDisplaytakeScreenShotPNGToArray(request *IDisplayt // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDisplayinvalidateAndUpdate(request *IDisplayinvalidateAndUpdate) (*IDisplayinvalidateAndUpdateResponse, error) { - response := new(IDisplayinvalidateAndUpdateResponse) +func (service *VboxPortType) IDisplayinvalidateAndUpdateScreen(request *IDisplayinvalidateAndUpdateScreen) (*IDisplayinvalidateAndUpdateScreenResponse, error) { + response := new(IDisplayinvalidateAndUpdateScreenResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27277,8 +29558,8 @@ func (service *VboxPortType) IDisplayinvalidateAndUpdate(request *IDisplayinvali // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDisplayresizeCompleted(request *IDisplayresizeCompleted) (*IDisplayresizeCompletedResponse, error) { - response := new(IDisplayresizeCompletedResponse) +func (service *VboxPortType) IDisplayviewportChanged(request *IDisplayviewportChanged) (*IDisplayviewportChangedResponse, error) { + response := new(IDisplayviewportChangedResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -27292,8 +29573,23 @@ func (service *VboxPortType) IDisplayresizeCompleted(request *IDisplayresizeComp // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDisplayviewportChanged(request *IDisplayviewportChanged) (*IDisplayviewportChangedResponse, error) { - response := new(IDisplayviewportChangedResponse) +func (service *VboxPortType) IDisplaynotifyScaleFactorChange(request *IDisplaynotifyScaleFactorChange) (*IDisplaynotifyScaleFactorChangeResponse, error) { + response := new(IDisplaynotifyScaleFactorChangeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IDisplaynotifyHiDPIOutputPolicyChange(request *IDisplaynotifyHiDPIOutputPolicyChange) (*IDisplaynotifyHiDPIOutputPolicyChangeResponse, error) { + response := new(IDisplaynotifyHiDPIOutputPolicyChangeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -28792,6 +31088,36 @@ func (service *VboxPortType) IMachineDebuggerwriteVirtualMemory(request *IMachin // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMachineDebuggerloadPlugIn(request *IMachineDebuggerloadPlugIn) (*IMachineDebuggerloadPlugInResponse, error) { + response := new(IMachineDebuggerloadPlugInResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IMachineDebuggerunloadPlugIn(request *IMachineDebuggerunloadPlugIn) (*IMachineDebuggerunloadPlugInResponse, error) { + response := new(IMachineDebuggerunloadPlugInResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMachineDebuggerdetectOS(request *IMachineDebuggerdetectOS) (*IMachineDebuggerdetectOSResponse, error) { response := new(IMachineDebuggerdetectOSResponse) err := service.client.Call("", request, response) @@ -28807,6 +31133,21 @@ func (service *VboxPortType) IMachineDebuggerdetectOS(request *IMachineDebuggerd // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMachineDebuggerqueryOSKernelLog(request *IMachineDebuggerqueryOSKernelLog) (*IMachineDebuggerqueryOSKernelLogResponse, error) { + response := new(IMachineDebuggerqueryOSKernelLogResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMachineDebuggergetRegister(request *IMachineDebuggergetRegister) (*IMachineDebuggergetRegisterResponse, error) { response := new(IMachineDebuggergetRegisterResponse) err := service.client.Call("", request, response) @@ -29002,6 +31343,21 @@ func (service *VboxPortType) IUSBControllergetName(request *IUSBControllergetNam // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IUSBControllersetName(request *IUSBControllersetName) (*IUSBControllersetNameResponse, error) { + response := new(IUSBControllersetNameResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IUSBControllergetType(request *IUSBControllergetType) (*IUSBControllergetTypeResponse, error) { response := new(IUSBControllergetTypeResponse) err := service.client.Call("", request, response) @@ -29017,6 +31373,21 @@ func (service *VboxPortType) IUSBControllergetType(request *IUSBControllergetTyp // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IUSBControllersetType(request *IUSBControllersetType) (*IUSBControllersetTypeResponse, error) { + response := new(IUSBControllersetTypeResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IUSBControllergetUSBStandard(request *IUSBControllergetUSBStandard) (*IUSBControllergetUSBStandardResponse, error) { response := new(IUSBControllergetUSBStandardResponse) err := service.client.Call("", request, response) @@ -29197,6 +31568,21 @@ func (service *VboxPortType) IUSBDevicegetPortVersion(request *IUSBDevicegetPort // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IUSBDevicegetSpeed(request *IUSBDevicegetSpeed) (*IUSBDevicegetSpeedResponse, error) { + response := new(IUSBDevicegetSpeedResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IUSBDevicegetRemote(request *IUSBDevicegetRemote) (*IUSBDevicegetRemoteResponse, error) { response := new(IUSBDevicegetRemoteResponse) err := service.client.Call("", request, response) @@ -29617,6 +32003,66 @@ func (service *VboxPortType) IAudioAdaptersetEnabled(request *IAudioAdaptersetEn // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IAudioAdaptergetEnabledIn(request *IAudioAdaptergetEnabledIn) (*IAudioAdaptergetEnabledInResponse, error) { + response := new(IAudioAdaptergetEnabledInResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAudioAdaptersetEnabledIn(request *IAudioAdaptersetEnabledIn) (*IAudioAdaptersetEnabledInResponse, error) { + response := new(IAudioAdaptersetEnabledInResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAudioAdaptergetEnabledOut(request *IAudioAdaptergetEnabledOut) (*IAudioAdaptergetEnabledOutResponse, error) { + response := new(IAudioAdaptergetEnabledOutResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAudioAdaptersetEnabledOut(request *IAudioAdaptersetEnabledOut) (*IAudioAdaptersetEnabledOutResponse, error) { + response := new(IAudioAdaptersetEnabledOutResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IAudioAdaptergetAudioController(request *IAudioAdaptergetAudioController) (*IAudioAdaptergetAudioControllerResponse, error) { response := new(IAudioAdaptergetAudioControllerResponse) err := service.client.Call("", request, response) @@ -29647,6 +32093,36 @@ func (service *VboxPortType) IAudioAdaptersetAudioController(request *IAudioAdap // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IAudioAdaptergetAudioCodec(request *IAudioAdaptergetAudioCodec) (*IAudioAdaptergetAudioCodecResponse, error) { + response := new(IAudioAdaptergetAudioCodecResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAudioAdaptersetAudioCodec(request *IAudioAdaptersetAudioCodec) (*IAudioAdaptersetAudioCodecResponse, error) { + response := new(IAudioAdaptersetAudioCodecResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IAudioAdaptergetAudioDriver(request *IAudioAdaptergetAudioDriver) (*IAudioAdaptergetAudioDriverResponse, error) { response := new(IAudioAdaptergetAudioDriverResponse) err := service.client.Call("", request, response) @@ -29677,6 +32153,51 @@ func (service *VboxPortType) IAudioAdaptersetAudioDriver(request *IAudioAdapters // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IAudioAdaptergetPropertiesList(request *IAudioAdaptergetPropertiesList) (*IAudioAdaptergetPropertiesListResponse, error) { + response := new(IAudioAdaptergetPropertiesListResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAudioAdaptersetProperty(request *IAudioAdaptersetProperty) (*IAudioAdaptersetPropertyResponse, error) { + response := new(IAudioAdaptersetPropertyResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IAudioAdaptergetProperty(request *IAudioAdaptergetProperty) (*IAudioAdaptergetPropertyResponse, error) { + response := new(IAudioAdaptergetPropertyResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IVRDEServergetEnabled(request *IVRDEServergetEnabled) (*IVRDEServergetEnabledResponse, error) { response := new(IVRDEServergetEnabledResponse) err := service.client.Call("", request, response) @@ -29962,6 +32483,36 @@ func (service *VboxPortType) ISessiongetType(request *ISessiongetType) (*ISessio // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) ISessiongetName(request *ISessiongetName) (*ISessiongetNameResponse, error) { + response := new(ISessiongetNameResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) ISessionsetName(request *ISessionsetName) (*ISessionsetNameResponse, error) { + response := new(ISessionsetNameResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) ISessiongetMachine(request *ISessiongetMachine) (*ISessiongetMachineResponse, error) { response := new(ISessiongetMachineResponse) err := service.client.Call("", request, response) @@ -30022,6 +32573,21 @@ func (service *VboxPortType) IStorageControllergetName(request *IStorageControll // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IStorageControllersetName(request *IStorageControllersetName) (*IStorageControllersetNameResponse, error) { + response := new(IStorageControllersetNameResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IStorageControllergetMaxDevicesPerPortCount(request *IStorageControllergetMaxDevicesPerPortCount) (*IStorageControllergetMaxDevicesPerPortCountResponse, error) { response := new(IStorageControllergetMaxDevicesPerPortCountResponse) err := service.client.Call("", request, response) @@ -31312,6 +33878,21 @@ func (service *VboxPortType) IMediumRegisteredEventgetRegistered(request *IMediu // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IMediumConfigChangedEventgetMedium(request *IMediumConfigChangedEventgetMedium) (*IMediumConfigChangedEventgetMediumResponse, error) { + response := new(IMediumConfigChangedEventgetMediumResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMachineRegisteredEventgetRegistered(request *IMachineRegisteredEventgetRegistered) (*IMachineRegisteredEventgetRegisteredResponse, error) { response := new(IMachineRegisteredEventgetRegisteredResponse) err := service.client.Call("", request, response) @@ -31402,6 +33983,66 @@ func (service *VboxPortType) ISnapshotEventgetSnapshotId(request *ISnapshotEvent // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) ISnapshotTakenEventgetMidlDoesNotLikeEmptyInterfaces(request *ISnapshotTakenEventgetMidlDoesNotLikeEmptyInterfaces) (*ISnapshotTakenEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(ISnapshotTakenEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) ISnapshotDeletedEventgetMidlDoesNotLikeEmptyInterfaces(request *ISnapshotDeletedEventgetMidlDoesNotLikeEmptyInterfaces) (*ISnapshotDeletedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(ISnapshotDeletedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) ISnapshotRestoredEventgetMidlDoesNotLikeEmptyInterfaces(request *ISnapshotRestoredEventgetMidlDoesNotLikeEmptyInterfaces) (*ISnapshotRestoredEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(ISnapshotRestoredEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) ISnapshotChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *ISnapshotChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*ISnapshotChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(ISnapshotChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMousePointerShapeChangedEventgetVisible(request *IMousePointerShapeChangedEventgetVisible) (*IMousePointerShapeChangedEventgetVisibleResponse, error) { response := new(IMousePointerShapeChangedEventgetVisibleResponse) err := service.client.Call("", request, response) @@ -31627,6 +34268,21 @@ func (service *VboxPortType) IStateChangedEventgetState(request *IStateChangedEv // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IAdditionsStateChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IAdditionsStateChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IAdditionsStateChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IAdditionsStateChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) INetworkAdapterChangedEventgetNetworkAdapter(request *INetworkAdapterChangedEventgetNetworkAdapter) (*INetworkAdapterChangedEventgetNetworkAdapterResponse, error) { response := new(INetworkAdapterChangedEventgetNetworkAdapterResponse) err := service.client.Call("", request, response) @@ -31672,6 +34328,21 @@ func (service *VboxPortType) IParallelPortChangedEventgetParallelPort(request *I // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IStorageControllerChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IStorageControllerChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IStorageControllerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IStorageControllerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IMediumChangedEventgetMediumAttachment(request *IMediumChangedEventgetMediumAttachment) (*IMediumChangedEventgetMediumAttachmentResponse, error) { response := new(IMediumChangedEventgetMediumAttachmentResponse) err := service.client.Call("", request, response) @@ -31702,8 +34373,8 @@ func (service *VboxPortType) IClipboardModeChangedEventgetClipboardMode(request // - InvalidObjectFault // - RuntimeFault -func (service *VboxPortType) IDragAndDropModeChangedEventgetDragAndDropMode(request *IDragAndDropModeChangedEventgetDragAndDropMode) (*IDragAndDropModeChangedEventgetDragAndDropModeResponse, error) { - response := new(IDragAndDropModeChangedEventgetDragAndDropModeResponse) +func (service *VboxPortType) IDnDModeChangedEventgetDndMode(request *IDnDModeChangedEventgetDndMode) (*IDnDModeChangedEventgetDndModeResponse, error) { + response := new(IDnDModeChangedEventgetDndModeResponse) err := service.client.Call("", request, response) if err != nil { return nil, err @@ -32257,6 +34928,21 @@ func (service *VboxPortType) IGuestFileIOEventgetProcessed(request *IGuestFileIO // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IGuestFileOffsetChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IGuestFileOffsetChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IGuestFileOffsetChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestFileOffsetChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IGuestFileReadEventgetData(request *IGuestFileReadEventgetData) (*IGuestFileReadEventgetDataResponse, error) { response := new(IGuestFileReadEventgetDataResponse) err := service.client.Call("", request, response) @@ -32272,6 +34958,81 @@ func (service *VboxPortType) IGuestFileReadEventgetData(request *IGuestFileReadE // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IGuestFileWriteEventgetMidlDoesNotLikeEmptyInterfaces(request *IGuestFileWriteEventgetMidlDoesNotLikeEmptyInterfaces) (*IGuestFileWriteEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IGuestFileWriteEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IVRDEServerChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IVRDEServerChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IVRDEServerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IVRDEServerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IVRDEServerInfoChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IVRDEServerInfoChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IVRDEServerInfoChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IVRDEServerInfoChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IVideoCaptureChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IVideoCaptureChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IVideoCaptureChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IVideoCaptureChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IUSBControllerChangedEventgetMidlDoesNotLikeEmptyInterfaces(request *IUSBControllerChangedEventgetMidlDoesNotLikeEmptyInterfaces) (*IUSBControllerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IUSBControllerChangedEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IUSBDeviceStateChangedEventgetDevice(request *IUSBDeviceStateChangedEventgetDevice) (*IUSBDeviceStateChangedEventgetDeviceResponse, error) { response := new(IUSBDeviceStateChangedEventgetDeviceResponse) err := service.client.Call("", request, response) @@ -32497,6 +35258,51 @@ func (service *VboxPortType) IVetoEventgetVetos(request *IVetoEventgetVetos) (*I // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) IVetoEventaddApproval(request *IVetoEventaddApproval) (*IVetoEventaddApprovalResponse, error) { + response := new(IVetoEventaddApprovalResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IVetoEventisApproved(request *IVetoEventisApproved) (*IVetoEventisApprovedResponse, error) { + response := new(IVetoEventisApprovedResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IVetoEventgetApprovals(request *IVetoEventgetApprovals) (*IVetoEventgetApprovalsResponse, error) { + response := new(IVetoEventgetApprovalsResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IExtraDataCanChangeEventgetMachineId(request *IExtraDataCanChangeEventgetMachineId) (*IExtraDataCanChangeEventgetMachineIdResponse, error) { response := new(IExtraDataCanChangeEventgetMachineIdResponse) err := service.client.Call("", request, response) @@ -32542,6 +35348,21 @@ func (service *VboxPortType) IExtraDataCanChangeEventgetValue(request *IExtraDat // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) ICanShowWindowEventgetMidlDoesNotLikeEmptyInterfaces(request *ICanShowWindowEventgetMidlDoesNotLikeEmptyInterfaces) (*ICanShowWindowEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(ICanShowWindowEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) IShowWindowEventgetWinId(request *IShowWindowEventgetWinId) (*IShowWindowEventgetWinIdResponse, error) { response := new(IShowWindowEventgetWinIdResponse) err := service.client.Call("", request, response) @@ -33007,6 +35828,21 @@ func (service *VboxPortType) INATNetworkStartStopEventgetStartEvent(request *INA // - InvalidObjectFault // - RuntimeFault +func (service *VboxPortType) INATNetworkAlterEventgetMidlDoesNotLikeEmptyInterfaces(request *INATNetworkAlterEventgetMidlDoesNotLikeEmptyInterfaces) (*INATNetworkAlterEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(INATNetworkAlterEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + func (service *VboxPortType) INATNetworkCreationDeletionEventgetCreationEvent(request *INATNetworkCreationDeletionEventgetCreationEvent) (*INATNetworkCreationDeletionEventgetCreationEventResponse, error) { response := new(INATNetworkCreationDeletionEventgetCreationEventResponse) err := service.client.Call("", request, response) @@ -33212,6 +36048,21 @@ func (service *VboxPortType) INATNetworkPortForwardEventgetGuestPort(request *IN return response, nil } +// Error can be either of the following types: +// +// - InvalidObjectFault +// - RuntimeFault + +func (service *VboxPortType) IHostNameResolutionConfigurationChangeEventgetMidlDoesNotLikeEmptyInterfaces(request *IHostNameResolutionConfigurationChangeEventgetMidlDoesNotLikeEmptyInterfaces) (*IHostNameResolutionConfigurationChangeEventgetMidlDoesNotLikeEmptyInterfacesResponse, error) { + response := new(IHostNameResolutionConfigurationChangeEventgetMidlDoesNotLikeEmptyInterfacesResponse) + err := service.client.Call("", request, response) + if err != nil { + return nil, err + } + + return response, nil +} + var timeout = time.Duration(30 * time.Second) func dialTimeout(network, addr string) (net.Conn, error) { @@ -33233,8 +36084,8 @@ type SOAPHeader struct { type SOAPBody struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"` - Fault *SOAPFault `xml:",omitempty"` - Content interface{} + Fault *SOAPFault `xml:",omitempty"` + Content interface{} `xml:",omitempty"` } type SOAPFault struct { @@ -33335,7 +36186,7 @@ func (s *SOAPClient) Call(soapAction string, request, response interface{}) erro err = encoder.Flush() } - log.Println(buffer.String()) + // log.Println(buffer.String()) if err != nil { return err } @@ -33373,7 +36224,7 @@ func (s *SOAPClient) Call(soapAction string, request, response interface{}) erro return nil } - log.Println(string(rawbody)) + // log.Println(string(rawbody)) respEnvelope := new(SOAPEnvelope) respEnvelope.Body = SOAPBody{Content: response} err = xml.Unmarshal(rawbody, respEnvelope) diff --git a/virtualboxclient/hard_disk.go b/virtualboxclient/hard_disk.go new file mode 100644 index 0000000..5fad1d8 --- /dev/null +++ b/virtualboxclient/hard_disk.go @@ -0,0 +1,49 @@ +package virtualboxclient + +type HardDisk struct { + virtualbox *VirtualBox + managedObjectId string +} + +type HardDisks struct { + disks []*HardDisk +} + +func (h *HardDisk) getMedium() *Medium { + return &Medium{virtualbox: h.virtualbox, managedObjectId: h.managedObjectId} +} + +func isSet(value string) bool { + return value != "" +} + +func (hs *HardDisks) GetMedium(objectID, name string) ([]*Medium, error) { + var ms []*Medium + for _, hardDisk := range hs.disks { + om := hardDisk.getMedium() + var m *Medium + if isSet(name) || isSet(objectID) { + var err error + m, err = om.GetIDName() + if err != nil { + return nil, err + } + } + + if isSet(name) && m.Name != name { + continue + } + + if isSet(objectID) && m.ID != objectID { + continue + } + + medium, err := om.Get() + if err != nil { + return nil, err + } + ms = append(ms, medium) + } + + return ms, nil +} diff --git a/virtualboxclient/machine.go b/virtualboxclient/machine.go index 7bb2bb2..b969484 100644 --- a/virtualboxclient/machine.go +++ b/virtualboxclient/machine.go @@ -1,12 +1,16 @@ package virtualboxclient import ( + "errors" + "github.com/appropriate/go-virtualboxclient/vboxwebsrv" ) type Machine struct { virtualbox *VirtualBox managedObjectId string + ID string + Name string } func (m *Machine) GetChipsetType() (*vboxwebsrv.ChipsetType, error) { @@ -28,6 +32,18 @@ func (m *Machine) GetMediumAttachments() ([]*vboxwebsrv.IMediumAttachment, error return nil, err // TODO: Wrap the error } + ret := response.Returnval + return ret, nil +} + +func (m *Machine) GetMediumAttachmentsOfController(cName string) ([]*vboxwebsrv.IMediumAttachment, error) { + request := vboxwebsrv.IMachinegetMediumAttachmentsOfController{This: m.managedObjectId, Name: cName} + + response, err := m.virtualbox.IMachinegetMediumAttachmentsOfController(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + return response.Returnval, nil } @@ -53,6 +69,29 @@ func (m *Machine) GetSettingsFilePath() (string, error) { return response.Returnval, nil } +func (m *Machine) SaveSettings() error { + request := vboxwebsrv.IMachinesaveSettings{This: m.managedObjectId} + + _, err := m.virtualbox.IMachinesaveSettings(&request) + if err != nil { + defer m.DiscardSettings() + return err // TODO: Wrap the error + } + + return nil +} + +func (m *Machine) DiscardSettings() error { + request := vboxwebsrv.IMachinediscardSettings{This: m.managedObjectId} + + _, err := m.virtualbox.IMachinediscardSettings(&request) + if err != nil { + return err // TODO: Wrap the error + } + + return nil +} + func (m *Machine) GetStorageControllers() ([]*StorageController, error) { request := vboxwebsrv.IMachinegetStorageControllers{This: m.managedObjectId} @@ -63,8 +102,193 @@ func (m *Machine) GetStorageControllers() ([]*StorageController, error) { storageControllers := make([]*StorageController, len(response.Returnval)) for i, oid := range response.Returnval { - storageControllers[i] = &StorageController{m.virtualbox, oid} + storageControllers[i] = &StorageController{virtualbox: m.virtualbox, managedObjectId: oid} } return storageControllers, nil } + +func (m *Machine) GetStorageController(name string) (*StorageController, error) { + if name == "" { + return nil, errors.New("storage controller name not specified") + } + scs, err := m.GetStorageControllers() + if err != nil { + return nil, err + } + + for _, sc := range scs { + scName, err := sc.GetName() + if err != nil { + return nil, err + } + if scName == name { + sc.Name = scName + return sc, nil + } + } + return nil, errors.New("storage controller not found") +} + +func (m *Machine) AttachDevice(medium *Medium) error { + session, err := m.virtualbox.GetSession() + if err != nil { + return err + } + // defer session.Release() + + if err := m.Lock(session, vboxwebsrv.LockTypeShared); err != nil { + return err + } + defer m.Unlock(session) + + sm, err := session.GetMachine() + if err != nil { + return err + } + defer sm.Release() + + if m.virtualbox.controllerName == "" { + return errors.New("missing controllerName") + } + + sc, err := sm.GetStorageController(m.virtualbox.controllerName) + if err != nil { + return err + } + + pn, err := sc.GetNextAvailablePort(m) + if err != nil { + return err + } + + request := vboxwebsrv.IMachineattachDevice{ + This: sm.managedObjectId, + Name: sc.Name, + ControllerPort: pn, + Device: 0, + Type_: &medium.DeviceType, + Medium: medium.managedObjectId, + } + + _, err = m.virtualbox.IMachineattachDevice(&request) + if err != nil { + return err + } + + if err := sm.SaveSettings(); err != nil { + return err + } + + return nil +} + +func (m *Machine) DetachDevice(medium *Medium) error { + + session, err := m.virtualbox.GetSession() + if err != nil { + return err + } + // defer session.Release() + + if err := m.Lock(session, vboxwebsrv.LockTypeShared); err != nil { + return err + } + defer m.Unlock(session) + + sm, err := session.GetMachine() + if err != nil { + return err + } + defer sm.Release() + + mediumAttachments, err := m.GetMediumAttachments() + if err != nil { + return err + } + + var request *vboxwebsrv.IMachinedetachDevice + for _, ma := range mediumAttachments { + am := &Medium{virtualbox: m.virtualbox, managedObjectId: ma.Medium} + defer am.Release() + amID, err := am.GetID() + if err != nil { + return err + } + + if amID != medium.ID { + continue + } + request = &vboxwebsrv.IMachinedetachDevice{ + This: sm.managedObjectId, + Name: ma.Controller, + ControllerPort: ma.Port, + Device: 0, + } + } + if request == nil { + return errors.New("couldn't find attached medium") + } + + _, err = m.virtualbox.IMachinedetachDevice(request) + if err != nil { + return err + } + + if err := sm.SaveSettings(); err != nil { + return err + } + + return nil +} + +func (m *Machine) Unlock(session *Session) error { + if err := session.UnlockMachine(); err != nil { + return err + } + return nil +} + +func (m *Machine) Lock(session *Session, lockType vboxwebsrv.LockType) error { + if err := session.LockMachine(m, lockType); err != nil { + return err + } + return nil +} + +func (m *Machine) GetID() (string, error) { + request := vboxwebsrv.IMachinegetId{This: m.managedObjectId} + + response, err := m.virtualbox.IMachinegetId(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Machine) GetName() (string, error) { + request := vboxwebsrv.IMachinegetName{This: m.managedObjectId} + + response, err := m.virtualbox.IMachinegetName(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Machine) Release() error { + return m.virtualbox.Release(m.managedObjectId) +} + +func (m *Machine) Refresh() error { + if mr, err := m.virtualbox.FindMachine(m.ID); err != nil { + return err + } else { + m.managedObjectId = mr.managedObjectId + } + return nil +} diff --git a/virtualboxclient/medium.go b/virtualboxclient/medium.go index ffe0104..370e447 100644 --- a/virtualboxclient/medium.go +++ b/virtualboxclient/medium.go @@ -1,12 +1,24 @@ package virtualboxclient -import ( - "github.com/appropriate/go-virtualboxclient/vboxwebsrv" -) +import "github.com/appropriate/go-virtualboxclient/vboxwebsrv" type Medium struct { virtualbox *VirtualBox managedObjectId string + Location string + Name string + DeviceType vboxwebsrv.DeviceType + Description string + LogicalSize int64 + Size int64 + Format string + MediumFormat string + HostDrive bool + Children []string + Parent string + ID string + MachineIDs []string + SnapshotIDs []string } func (m *Medium) CreateBaseStorage(logicalSize int64, variant []*vboxwebsrv.MediumVariant) (*Progress, error) { @@ -18,7 +30,7 @@ func (m *Medium) CreateBaseStorage(logicalSize int64, variant []*vboxwebsrv.Medi } // TODO: See if we need to do anything with the response - return &Progress{managedObjectId: response.Returnval}, nil + return &Progress{virtualbox: m.virtualbox, managedObjectId: response.Returnval}, nil } func (m *Medium) DeleteStorage() (*Progress, error) { @@ -30,5 +42,293 @@ func (m *Medium) DeleteStorage() (*Progress, error) { } // TODO: See if we need to do anything with the response - return &Progress{managedObjectId: response.Returnval}, nil + return &Progress{virtualbox: m.virtualbox, managedObjectId: response.Returnval}, nil +} + +func (m *Medium) Release() error { + return m.virtualbox.Release(m.managedObjectId) +} + +func (m *Medium) GetLocation() (string, error) { + request := vboxwebsrv.IMediumgetLocation{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetLocation(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetName() (string, error) { + request := vboxwebsrv.IMediumgetName{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetName(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetDeviceType() (*vboxwebsrv.DeviceType, error) { + request := vboxwebsrv.IMediumgetDeviceType{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetDeviceType(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetDescription() (string, error) { + request := vboxwebsrv.IMediumgetDescription{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetDescription(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetSize() (int64, error) { + request := vboxwebsrv.IMediumgetSize{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetSize(&request) + if err != nil { + return 0, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetLogicalSize() (int64, error) { + request := vboxwebsrv.IMediumgetLogicalSize{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetLogicalSize(&request) + if err != nil { + return 0, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetState() (*vboxwebsrv.MediumState, error) { + request := vboxwebsrv.IMediumgetState{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetState(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetFormat() (string, error) { + request := vboxwebsrv.IMediumgetFormat{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetFormat(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetMediumFormat() (string, error) { + request := vboxwebsrv.IMediumgetMediumFormat{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetMediumFormat(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetHostDrive() (bool, error) { + request := vboxwebsrv.IMediumgetHostDrive{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetHostDrive(&request) + if err != nil { + return false, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetParent() (string, error) { + request := vboxwebsrv.IMediumgetParent{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetParent(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetChildren() ([]string, error) { + request := vboxwebsrv.IMediumgetChildren{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetChildren(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) DetachMachines() error { + for _, mid := range m.MachineIDs { + machine, err := m.virtualbox.FindMachine(mid) + if err != nil { + return err + } + defer machine.Release() + + if err := machine.DetachDevice(m); err != nil { + return err + } + } + return nil +} + +func (m *Medium) GetID() (string, error) { + request := vboxwebsrv.IMediumgetId{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetId(&request) + if err != nil { + return "", err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetSnapshotIDs() ([]string, error) { + request := vboxwebsrv.IMediumgetSnapshotIds{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetSnapshotIds(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) GetMachineIDs() ([]string, error) { + request := vboxwebsrv.IMediumgetMachineIds{This: m.managedObjectId} + + response, err := m.virtualbox.IMediumgetMachineIds(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (m *Medium) Get() (*Medium, error) { + var err error + m.Location, err = m.GetLocation() + if err != nil { + return nil, err + } + m.Name, err = m.GetName() + if err != nil { + return nil, err + } + + m.Description, err = m.GetDescription() + if err != nil { + return nil, err + } + + m.Size, err = m.GetSize() + if err != nil { + return nil, err + } + + m.LogicalSize, err = m.GetLogicalSize() + if err != nil { + return nil, err + } + + dt, err := m.GetDeviceType() + if err != nil { + return nil, err + } + m.DeviceType = *dt + + m.Format, err = m.GetFormat() + if err != nil { + return nil, err + } + + m.MediumFormat, err = m.GetMediumFormat() + if err != nil { + return nil, err + } + + m.HostDrive, err = m.GetHostDrive() + if err != nil { + return nil, err + } + + m.Children, err = m.GetChildren() + if err != nil { + return nil, err + } + + m.Parent, err = m.GetParent() + if err != nil { + return nil, err + } + + m.ID, err = m.GetID() + if err != nil { + return nil, err + } + + m.MachineIDs, err = m.GetMachineIDs() + if err != nil { + return nil, err + } + + m.SnapshotIDs, err = m.GetSnapshotIDs() + if err != nil { + return nil, err + } + + return m, nil + +} + +func (m *Medium) GetIDName() (*Medium, error) { + var err error + m.ID, err = m.GetID() + if err != nil { + return nil, err + } + m.Name, err = m.GetName() + if err != nil { + return nil, err + } + return m, nil } diff --git a/virtualboxclient/medium_attachment.go b/virtualboxclient/medium_attachment.go new file mode 100644 index 0000000..b39c606 --- /dev/null +++ b/virtualboxclient/medium_attachment.go @@ -0,0 +1,13 @@ +package virtualboxclient + +import "github.com/appropriate/go-virtualboxclient/vboxwebsrv" + +type MediumAttachment struct { + *vboxwebsrv.IMediumAttachment + virtualbox *VirtualBox + managedObjectId string +} + +func (m *MediumAttachment) GetMedium() (*Medium, error) { + return &Medium{virtualbox: m.virtualbox, managedObjectId: m.Medium}, nil +} diff --git a/virtualboxclient/progress.go b/virtualboxclient/progress.go index dbac7a7..fd44fea 100644 --- a/virtualboxclient/progress.go +++ b/virtualboxclient/progress.go @@ -1,7 +1,38 @@ package virtualboxclient +import "github.com/appropriate/go-virtualboxclient/vboxwebsrv" + type Progress struct { virtualbox *VirtualBox managedObjectId string } + +func (p *Progress) WaitForCompletion(timeout int32) error { + request := vboxwebsrv.IProgresswaitForCompletion{This: p.managedObjectId} + request.Timeout = timeout + + _, err := p.virtualbox.IProgresswaitForCompletion(&request) + if err != nil { + return err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return nil +} + +func (p *Progress) GetPercent() (uint32, error) { + request := vboxwebsrv.IProgressgetPercent{This: p.managedObjectId} + + response, err := p.virtualbox.IProgressgetPercent(&request) + if err != nil { + return 0, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return response.Returnval, nil +} + +func (p *Progress) Release() error { + return p.virtualbox.Release(p.managedObjectId) +} diff --git a/virtualboxclient/session.go b/virtualboxclient/session.go new file mode 100644 index 0000000..dddea09 --- /dev/null +++ b/virtualboxclient/session.go @@ -0,0 +1,49 @@ +package virtualboxclient + +import "github.com/appropriate/go-virtualboxclient/vboxwebsrv" + +type Session struct { + virtualbox *VirtualBox + managedObjectId string +} + +func (s *Session) UnlockMachine() error { + request := vboxwebsrv.ISessionunlockMachine{This: s.managedObjectId} + _, err := s.virtualbox.ISessionunlockMachine(&request) + if err != nil { + return err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return nil +} + +func (s *Session) LockMachine(m *Machine, l vboxwebsrv.LockType) error { + request := vboxwebsrv.IMachinelockMachine{ + This: m.managedObjectId, + Session: s.managedObjectId, + LockType: &l, + } + _, err := s.virtualbox.IMachinelockMachine(&request) + if err != nil { + return err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return nil +} + +func (s *Session) GetMachine() (*Machine, error) { + request := vboxwebsrv.ISessiongetMachine{This: s.managedObjectId} + response, err := s.virtualbox.ISessiongetMachine(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return &Machine{managedObjectId: response.Returnval, virtualbox: s.virtualbox}, nil +} + +func (s *Session) Release() error { + return s.virtualbox.Release(s.managedObjectId) +} diff --git a/virtualboxclient/state.go b/virtualboxclient/state.go new file mode 100644 index 0000000..485cc90 --- /dev/null +++ b/virtualboxclient/state.go @@ -0,0 +1,7 @@ +package virtualboxclient + +type State struct { + virtualbox *VirtualBox + + managedObjectId string +} diff --git a/virtualboxclient/storage_controller.go b/virtualboxclient/storage_controller.go index a68a293..da7f8a3 100644 --- a/virtualboxclient/storage_controller.go +++ b/virtualboxclient/storage_controller.go @@ -1,12 +1,19 @@ package virtualboxclient import ( + "errors" + "github.com/appropriate/go-virtualboxclient/vboxwebsrv" ) type StorageController struct { virtualbox *VirtualBox managedObjectId string + Name string +} + +type StorageControllers struct { + storageControllers []*StorageController } func (sc *StorageController) GetName() (string, error) { @@ -30,3 +37,73 @@ func (sc *StorageController) GetPortCount() (uint32, error) { return response.Returnval, nil } + +func (sc *StorageController) GetStorageBus() (vboxwebsrv.StorageBus, error) { + mapStorageBus := make(map[string]vboxwebsrv.StorageBus) + mapStorageBus["SATA Controller"] = vboxwebsrv.StorageBusSATA + mapStorageBus["IDE Controller"] = vboxwebsrv.StorageBusIDE + mapStorageBus["SCSI"] = vboxwebsrv.StorageBusSCSI + mapStorageBus["SAS"] = vboxwebsrv.StorageBusSAS + + scName, err := sc.GetName() + if err != nil { + return vboxwebsrv.StorageBusNull, err + } + + if bus, ok := mapStorageBus[scName]; ok { + return bus, nil + } + + return vboxwebsrv.StorageBusNull, errors.New("bad controller controller specified") +} + +func (sc *StorageController) GetMaxPortCount() (uint32, error) { + request := vboxwebsrv.IStorageControllergetMaxPortCount{This: sc.managedObjectId} + + response, err := sc.virtualbox.IStorageControllergetMaxPortCount(&request) + if err != nil { + return 0, err // TODO: Wrap the error + } + + return response.Returnval, nil +} + +func (sc *StorageController) SetPortCount(count uint32) error { + request := vboxwebsrv.IStorageControllersetPortCount{This: sc.managedObjectId, PortCount: count} + + _, err := sc.virtualbox.IStorageControllersetPortCount(&request) + if err != nil { + return err // TODO: Wrap the error + } + + return nil +} + +func (sc *StorageController) GetNextAvailablePort(m *Machine) (int32, error) { + c, err := sc.GetMaxPortCount() + if err != nil { + return 0, err + } + + ams, err := m.GetMediumAttachmentsOfController(sc.Name) + if err != nil { + return 0, nil + } + + portMap := make(map[int32]bool) + for _, am := range ams { + portMap[am.Port] = true + } + + intArr := make([]int32, c) + for i := range intArr { + if _, isUsed := portMap[int32(i)]; !isUsed { + return int32(i), nil + } + } + return 0, errors.New("no available ports") +} + +func (sc *StorageController) Release() error { + return sc.virtualbox.Release(sc.managedObjectId) +} diff --git a/virtualboxclient/system_properties.go b/virtualboxclient/system_properties.go index aded96c..4d154bf 100644 --- a/virtualboxclient/system_properties.go +++ b/virtualboxclient/system_properties.go @@ -19,3 +19,27 @@ func (sp *SystemProperties) GetMaxNetworkAdapters(chipset *vboxwebsrv.ChipsetTyp return response.Returnval, nil } + +func (sp *SystemProperties) GetMaxDevicesPerPortForStorageBus(bus vboxwebsrv.StorageBus) (uint32, error) { + request := vboxwebsrv.ISystemPropertiesgetMaxDevicesPerPortForStorageBus{This: sp.managedObjectId, Bus: &bus} + response, err := sp.virtualbox.ISystemPropertiesgetMaxDevicesPerPortForStorageBus(&request) + if err != nil { + return 0, err // TODO: Wrap the error + } + + return response.Returnval, nil +} + +func (sp *SystemProperties) GetMinPortCountForStorageBus(bus vboxwebsrv.StorageBus) (uint32, error) { + request := vboxwebsrv.ISystemPropertiesgetMinPortCountForStorageBus{This: sp.managedObjectId, Bus: &bus} + response, err := sp.virtualbox.ISystemPropertiesgetMinPortCountForStorageBus(&request) + if err != nil { + return 0, err // TODO: Wrap the error + } + + return response.Returnval, nil +} + +func (sp *SystemProperties) Release() error { + return sp.virtualbox.Release(sp.managedObjectId) +} diff --git a/virtualboxclient/virtualbox.go b/virtualboxclient/virtualbox.go index ef90922..43eaed6 100644 --- a/virtualboxclient/virtualbox.go +++ b/virtualboxclient/virtualbox.go @@ -1,33 +1,42 @@ package virtualboxclient import ( + "errors" + "github.com/appropriate/go-virtualboxclient/vboxwebsrv" ) type VirtualBox struct { *vboxwebsrv.VboxPortType - - username string - password string - managedObjectId string + basicAuth *vboxwebsrv.BasicAuth + controllerName string } -func New(username, password, url string) *VirtualBox { +func New(username, password, url string, tls bool, controllerName string) *VirtualBox { + basicAuth := &vboxwebsrv.BasicAuth{ + Login: username, + Password: password, + } return &VirtualBox{ - VboxPortType: vboxwebsrv.NewVboxPortType(url, false, nil), - - username: username, - password: password, + VboxPortType: vboxwebsrv.NewVboxPortType(url, tls, basicAuth), + basicAuth: basicAuth, + controllerName: controllerName, } } func (vb *VirtualBox) CreateHardDisk(format, location string) (*Medium, error) { - vb.Logon() - - request := vboxwebsrv.IVirtualBoxcreateHardDisk{This: vb.managedObjectId, Format: format, Location: location} + var am vboxwebsrv.AccessMode + am = "ReadWrite" + var dt vboxwebsrv.DeviceType + dt = "HardDisk" + request := vboxwebsrv.IVirtualBoxcreateMedium{ + This: vb.managedObjectId, Format: format, Location: location, + AccessMode: &am, + ADeviceTypeType: &dt, + } - response, err := vb.IVirtualBoxcreateHardDisk(&request) + response, err := vb.IVirtualBoxcreateMedium(&request) if err != nil { return nil, err // TODO: Wrap the error } @@ -36,8 +45,6 @@ func (vb *VirtualBox) CreateHardDisk(format, location string) (*Medium, error) { } func (vb *VirtualBox) GetMachines() ([]*Machine, error) { - vb.Logon() - request := vboxwebsrv.IVirtualBoxgetMachines{This: vb.managedObjectId} response, err := vb.IVirtualBoxgetMachines(&request) @@ -47,15 +54,13 @@ func (vb *VirtualBox) GetMachines() ([]*Machine, error) { machines := make([]*Machine, len(response.Returnval)) for n, oid := range response.Returnval { - machines[n] = &Machine{vb, oid} + machines[n] = &Machine{virtualbox: vb, managedObjectId: oid} } return machines, nil } func (vb *VirtualBox) GetSystemProperties() (*SystemProperties, error) { - vb.Logon() - request := vboxwebsrv.IVirtualBoxgetSystemProperties{This: vb.managedObjectId} response, err := vb.IVirtualBoxgetSystemProperties(&request) @@ -67,14 +72,9 @@ func (vb *VirtualBox) GetSystemProperties() (*SystemProperties, error) { } func (vb *VirtualBox) Logon() error { - if vb.managedObjectId != "" { - // Already logged in - return nil - } - request := vboxwebsrv.IWebsessionManagerlogon{ - Username: vb.username, - Password: vb.password, + Username: vb.basicAuth.Login, + Password: vb.basicAuth.Password, } response, err := vb.IWebsessionManagerlogon(&request) @@ -86,3 +86,130 @@ func (vb *VirtualBox) Logon() error { return nil } + +func (vb *VirtualBox) GetHardDisk(objectID string) (*HardDisks, error) { + request := vboxwebsrv.IVirtualBoxgetHardDisks{This: vb.managedObjectId} + + response, err := vb.IVirtualBoxgetHardDisks(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + var hardDisks []*HardDisk + for _, oid := range response.Returnval { + if objectID == "" || objectID == oid { + hardDisks = append(hardDisks, &HardDisk{vb, oid}) + } + } + + return &HardDisks{disks: hardDisks}, nil +} + +func (vb *VirtualBox) CreateMedium(format string, location string, size int64) (*Medium, error) { + + medium, err := vb.CreateHardDisk(format, location) + if err != nil { + return nil, err + } + defer medium.Release() + + progress, err := medium.CreateBaseStorage(size, nil) + if err != nil { + return nil, err + } + + if err := progress.WaitForCompletion(-1); err != nil { + return nil, err + } + + if p, err := progress.GetPercent(); err != nil { + return nil, err + } else if p != 100 { + return nil, errors.New("failed to create medium") + } + + return medium.Get() +} + +func (vb *VirtualBox) GetMedium(mediumID, mediumName string) ([]*Medium, error) { + hardDisks, err := vb.GetHardDisk("") + if err != nil { + return nil, err + } + + return hardDisks.GetMedium(mediumID, mediumName) +} + +func (vb *VirtualBox) RemoveMedium(mediumID string) error { + if mediumID == "" { + return errors.New("mediumID is empty") + } + + mediums, err := vb.GetMedium(mediumID, "") + if err != nil { + return err + } + + if len(mediums) == 0 { + return errors.New("no mediums returned") + } + + progress, err := mediums[0].DeleteStorage() + if err != nil { + return err + } + + if err := progress.WaitForCompletion(-1); err != nil { + return err + } + + if p, err := progress.GetPercent(); err != nil { + return err + } else if p != 100 { + return errors.New("failed to remove medium") + } + + return nil +} + +func (vb *VirtualBox) GetSession() (*Session, error) { + request := vboxwebsrv.IWebsessionManagergetSessionObject{RefIVirtualBox: vb.managedObjectId} + response, err := vb.IWebsessionManagergetSessionObject(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + + return &Session{managedObjectId: response.Returnval, virtualbox: vb}, nil +} + +func (vb *VirtualBox) FindMachine(nameOrID string) (*Machine, error) { + request := vboxwebsrv.IVirtualBoxfindMachine{This: vb.managedObjectId, NameOrId: nameOrID} + response, err := vb.IVirtualBoxfindMachine(&request) + if err != nil { + return nil, err // TODO: Wrap the error + } + + return &Machine{managedObjectId: response.Returnval, virtualbox: vb}, nil +} + +func (vb *VirtualBox) Release(managedObjectId string) error { + request := vboxwebsrv.IManagedObjectRefrelease{This: managedObjectId} + + _, err := vb.IManagedObjectRefrelease(&request) + if err != nil { + return err // TODO: Wrap the error + } + + // TODO: See if we need to do anything with the response + return nil +} + +func (vb *VirtualBox) GetMOID() string { + return vb.managedObjectId +} + +func (vb *VirtualBox) NewMedium(moid string) *Medium { + return &Medium{virtualbox: vb, managedObjectId: moid} +}