home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Aplikacje_64-bitowe / VirtualBox / VirtualBox-4.1.2-73507-Win.exe / file_VirtualBox_constants.py < prev    next >
Encoding:
Python Source  |  2011-08-15  |  72.6 KB  |  1,108 lines

  1. # Copyright (C) Oracle Corporation
  2. #
  3. # This file is part of VirtualBox Open Source Edition (OSE), as
  4. # available from http://www.virtualbox.org. This file is free software;
  5. # you can redistribute it and/or modify it under the terms of the GNU
  6. # General Public License (GPL) as published by the Free Software
  7. # Foundation, in version 2 as it comes in the "COPYING" file of the
  8. # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
  9. # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
  10. #
  11. # This file is autogenerated from VirtualBox.xidl, DO NOT EDIT!
  12. #
  13.  
  14. class VirtualBoxReflectionInfo:
  15.    def __init__(self, isSym):
  16.       self.isSym = isSym
  17.  
  18.    _Values = {
  19.                 'SettingsVersion':{
  20.                   'Null':0,'v1_0':1,'v1_1':2,'v1_2':3,'v1_3pre':4,'v1_3':5,'v1_4':6,'v1_5':7,'v1_6':8,'v1_7':9,'v1_8':10,'v1_9':11,'v1_10':12,'v1_11':13,'v1_12':14,'Future':99999},
  21.                 'AccessMode':{
  22.                   'ReadOnly':1,'ReadWrite':2},
  23.                 'MachineState':{
  24.                   'Null':0,'PoweredOff':1,'Saved':2,'Teleported':3,'Aborted':4,'Running':5,'Paused':6,'Stuck':7,'Teleporting':8,'LiveSnapshotting':9,'Starting':10,'Stopping':11,'Saving':12,'Restoring':13,'TeleportingPausedVM':14,'TeleportingIn':15,'FaultTolerantSyncing':16,'DeletingSnapshotOnline':17,'DeletingSnapshotPaused':18,'RestoringSnapshot':19,'DeletingSnapshot':20,'SettingUp':21,'FirstOnline':5,'LastOnline':18,'FirstTransient':8,'LastTransient':21},
  25.                 'SessionState':{
  26.                   'Null':0,'Unlocked':1,'Locked':2,'Spawning':3,'Unlocking':4},
  27.                 'CPUPropertyType':{
  28.                   'Null':0,'PAE':1,'Synthetic':2},
  29.                 'HWVirtExPropertyType':{
  30.                   'Null':0,'Enabled':1,'Exclusive':2,'VPID':3,'NestedPaging':4,'LargePages':5,'Force':6},
  31.                 'FaultToleranceState':{
  32.                   'Inactive':1,'Master':2,'Standby':3},
  33.                 'LockType':{
  34.                   'Write':2,'Shared':1},
  35.                 'SessionType':{
  36.                   'Null':0,'WriteLock':1,'Remote':2,'Shared':3},
  37.                 'DeviceType':{
  38.                   'Null':0,'Floppy':1,'DVD':2,'HardDisk':3,'Network':4,'USB':5,'SharedFolder':6},
  39.                 'DeviceActivity':{
  40.                   'Null':0,'Idle':1,'Reading':2,'Writing':3},
  41.                 'ClipboardMode':{
  42.                   'Disabled':0,'HostToGuest':1,'GuestToHost':2,'Bidirectional':3},
  43.                 'Scope':{
  44.                   'Global':0,'Machine':1,'Session':2},
  45.                 'BIOSBootMenuMode':{
  46.                   'Disabled':0,'MenuOnly':1,'MessageAndMenu':2},
  47.                 'ProcessorFeature':{
  48.                   'HWVirtEx':0,'PAE':1,'LongMode':2,'NestedPaging':3},
  49.                 'FirmwareType':{
  50.                   'BIOS':1,'EFI':2,'EFI32':3,'EFI64':4,'EFIDUAL':5},
  51.                 'PointingHidType':{
  52.                   'None':1,'PS2Mouse':2,'USBMouse':3,'USBTablet':4,'ComboMouse':5},
  53.                 'KeyboardHidType':{
  54.                   'None':1,'PS2Keyboard':2,'USBKeyboard':3,'ComboKeyboard':4},
  55.                 'VFSType':{
  56.                   'File':1,'Cloud':2,'S3':3,'WebDav':4},
  57.                 'VFSFileType':{
  58.                   'Unknown':1,'Fifo':2,'DevChar':3,'Directory':4,'DevBlock':5,'File':6,'SymLink':7,'Socket':8,'WhiteOut':9},
  59.                 'ImportOptions':{
  60.                   'KeepAllMACs':1,'KeepNATMACs':2},
  61.                 'VirtualSystemDescriptionType':{
  62.                   'Ignore':1,'OS':2,'Name':3,'Product':4,'Vendor':5,'Version':6,'ProductUrl':7,'VendorUrl':8,'Description':9,'License':10,'Miscellaneous':11,'CPU':12,'Memory':13,'HardDiskControllerIDE':14,'HardDiskControllerSATA':15,'HardDiskControllerSCSI':16,'HardDiskControllerSAS':17,'HardDiskImage':18,'Floppy':19,'CDROM':20,'NetworkAdapter':21,'USBController':22,'SoundCard':23,'SettingsFile':24},
  63.                 'VirtualSystemDescriptionValueType':{
  64.                   'Reference':1,'Original':2,'Auto':3,'ExtraConfig':4},
  65.                 'CleanupMode':{
  66.                   'UnregisterOnly':1,'DetachAllReturnNone':2,'DetachAllReturnHardDisksOnly':3,'Full':4},
  67.                 'CloneMode':{
  68.                   'MachineState':1,'MachineAndChildStates':2,'AllStates':3},
  69.                 'CloneOptions':{
  70.                   'Link':1,'KeepAllMACs':2,'KeepNATMACs':3,'KeepDiskNames':4},
  71.                 'HostNetworkInterfaceMediumType':{
  72.                   'Unknown':0,'Ethernet':1,'PPP':2,'SLIP':3},
  73.                 'HostNetworkInterfaceStatus':{
  74.                   'Unknown':0,'Up':1,'Down':2},
  75.                 'HostNetworkInterfaceType':{
  76.                   'Bridged':1,'HostOnly':2},
  77.                 'AdditionsFacilityType':{
  78.                   'None':0,'VBoxGuestDriver':20,'VBoxService':100,'VBoxTrayClient':101,'Seamless':1000,'Graphics':1100,'All':2147483646},
  79.                 'AdditionsFacilityClass':{
  80.                   'None':0,'Driver':10,'Service':30,'Program':50,'Feature':100,'ThirdParty':999,'All':2147483646},
  81.                 'AdditionsFacilityStatus':{
  82.                   'Inactive':0,'Paused':1,'PreInit':20,'Init':30,'Active':50,'Terminating':100,'Terminated':101,'Failed':800,'Unknown':999},
  83.                 'AdditionsRunLevelType':{
  84.                   'None':0,'System':1,'Userland':2,'Desktop':3},
  85.                 'AdditionsUpdateFlag':{
  86.                   'None':0,'WaitForUpdateStartOnly':1},
  87.                 'ExecuteProcessFlag':{
  88.                   'None':0,'WaitForProcessStartOnly':1,'IgnoreOrphanedProcesses':2,'Hidden':4,'NoProfile':8},
  89.                 'ExecuteProcessStatus':{
  90.                   'Undefined':0,'Started':1,'TerminatedNormally':2,'TerminatedSignal':3,'TerminatedAbnormally':4,'TimedOutKilled':5,'TimedOutAbnormally':6,'Down':7,'Error':8},
  91.                 'ProcessInputFlag':{
  92.                   'None':0,'EndOfFile':1},
  93.                 'ProcessOutputFlag':{
  94.                   'None':0,'StdErr':1},
  95.                 'CopyFileFlag':{
  96.                   'None':0,'Recursive':1,'Update':2,'FollowLinks':4},
  97.                 'DirectoryCreateFlag':{
  98.                   'None':0,'Parents':1},
  99.                 'DirectoryOpenFlag':{
  100.                   'None':0},
  101.                 'GuestDirEntryType':{
  102.                   'Unknown':0,'Directory':4,'File':10,'Symlink':12},
  103.                 'MediumState':{
  104.                   'NotCreated':0,'Created':1,'LockedRead':2,'LockedWrite':3,'Inaccessible':4,'Creating':5,'Deleting':6},
  105.                 'MediumType':{
  106.                   'Normal':0,'Immutable':1,'Writethrough':2,'Shareable':3,'Readonly':4,'MultiAttach':5},
  107.                 'MediumVariant':{
  108.                   'Standard':0,'VmdkSplit2G':0x01,'VmdkStreamOptimized':0x04,'VmdkESX':0x08,'Fixed':0x10000,'Diff':0x20000},
  109.                 'DataType':{
  110.                   'Int32':0,'Int8':1,'String':2},
  111.                 'DataFlags':{
  112.                   'None':0x00,'Mandatory':0x01,'Expert':0x02,'Array':0x04,'FlagMask':0x07},
  113.                 'MediumFormatCapabilities':{
  114.                   'Uuid':0x01,'CreateFixed':0x02,'CreateDynamic':0x04,'CreateSplit2G':0x08,'Differencing':0x10,'Asynchronous':0x20,'File':0x40,'Properties':0x80,'TcpNetworking':0x100,'VFS':0x200,'CapabilityMask':0x3FF},
  115.                 'MouseButtonState':{
  116.                   'LeftButton':0x01,'RightButton':0x02,'MiddleButton':0x04,'WheelUp':0x08,'WheelDown':0x10,'XButton1':0x20,'XButton2':0x40,'MouseStateMask':0x7F},
  117.                 'FramebufferPixelFormat':{
  118.                   'Opaque':0,'FOURCC_RGB':0x32424752},
  119.                 'NetworkAttachmentType':{
  120.                   'Null':0,'NAT':1,'Bridged':2,'Internal':3,'HostOnly':4,'Generic':5},
  121.                 'NetworkAdapterType':{
  122.                   'Null':0,'Am79C970A':1,'Am79C973':2,'I82540EM':3,'I82543GC':4,'I82545EM':5,'Virtio':6},
  123.                 'NetworkAdapterPromiscModePolicy':{
  124.                   'Deny':1,'AllowNetwork':2,'AllowAll':3},
  125.                 'PortMode':{
  126.                   'Disconnected':0,'HostPipe':1,'HostDevice':2,'RawFile':3},
  127.                 'USBDeviceState':{
  128.                   'NotSupported':0,'Unavailable':1,'Busy':2,'Available':3,'Held':4,'Captured':5},
  129.                 'USBDeviceFilterAction':{
  130.                   'Null':0,'Ignore':1,'Hold':2},
  131.                 'AudioDriverType':{
  132.                   'Null':0,'WinMM':1,'OSS':2,'ALSA':3,'DirectSound':4,'CoreAudio':5,'MMPM':6,'Pulse':7,'SolAudio':8},
  133.                 'AudioControllerType':{
  134.                   'AC97':0,'SB16':1,'HDA':2},
  135.                 'AuthType':{
  136.                   'Null':0,'External':1,'Guest':2},
  137.                 'StorageBus':{
  138.                   'Null':0,'IDE':1,'SATA':2,'SCSI':3,'Floppy':4,'SAS':5},
  139.                 'StorageControllerType':{
  140.                   'Null':0,'LsiLogic':1,'BusLogic':2,'IntelAhci':3,'PIIX3':4,'PIIX4':5,'ICH6':6,'I82078':7,'LsiLogicSas':8},
  141.                 'ChipsetType':{
  142.                   'Null':0,'PIIX3':1,'ICH9':2},
  143.                 'NATAliasMode':{
  144.                   'AliasLog':0x1,'AliasProxyOnly':0x02,'AliasUseSamePorts':0x04},
  145.                 'NATProtocol':{
  146.                   'UDP':0,'TCP':1},
  147.                 'BandwidthGroupType':{
  148.                   'Null':0,'Disk':1,'Network':2},
  149.                 'VBoxEventType':{
  150.                   'Invalid':0,'Any':1,'Vetoable':2,'MachineEvent':3,'SnapshotEvent':4,'InputEvent':5,'LastWildcard':31,'OnMachineStateChanged':32,'OnMachineDataChanged':33,'OnExtraDataChanged':34,'OnExtraDataCanChange':35,'OnMediumRegistered':36,'OnMachineRegistered':37,'OnSessionStateChanged':38,'OnSnapshotTaken':39,'OnSnapshotDeleted':40,'OnSnapshotChanged':41,'OnGuestPropertyChanged':42,'OnMousePointerShapeChanged':43,'OnMouseCapabilityChanged':44,'OnKeyboardLedsChanged':45,'OnStateChanged':46,'OnAdditionsStateChanged':47,'OnNetworkAdapterChanged':48,'OnSerialPortChanged':49,'OnParallelPortChanged':50,'OnStorageControllerChanged':51,'OnMediumChanged':52,'OnVRDEServerChanged':53,'OnUSBControllerChanged':54,'OnUSBDeviceStateChanged':55,'OnSharedFolderChanged':56,'OnRuntimeError':57,'OnCanShowWindow':58,'OnShowWindow':59,'OnCPUChanged':60,'OnVRDEServerInfoChanged':61,'OnEventSourceChanged':62,'OnCPUExecutionCapChanged':63,'OnGuestKeyboard':64,'OnGuestMouse':65,'OnNATRedirect':66,'OnHostPciDevicePlug':67,'OnVBoxSVCAvailabilityChanged':68,'OnBandwidthGroupChanged':69,'OnGuestMonitorChanged':70,'OnStorageDeviceChanged':71,'Last':72},
  151.                 'GuestMonitorChangedEventType':{
  152.                   'Enabled':0,'Disabled':1,'NewOrigin':2}}
  153.  
  154.    _ValuesSym = {
  155.                 'SettingsVersion':{
  156.                   'Null': 'Null','v1_0': 'v1_0','v1_1': 'v1_1','v1_2': 'v1_2','v1_3pre': 'v1_3pre','v1_3': 'v1_3','v1_4': 'v1_4','v1_5': 'v1_5','v1_6': 'v1_6','v1_7': 'v1_7','v1_8': 'v1_8','v1_9': 'v1_9','v1_10': 'v1_10','v1_11': 'v1_11','v1_12': 'v1_12','Future': 'Future'},
  157.                 'AccessMode':{
  158.                   'ReadOnly': 'ReadOnly','ReadWrite': 'ReadWrite'},
  159.                 'MachineState':{
  160.                   'Null': 'Null','PoweredOff': 'PoweredOff','Saved': 'Saved','Teleported': 'Teleported','Aborted': 'Aborted','Running': 'Running','Paused': 'Paused','Stuck': 'Stuck','Teleporting': 'Teleporting','LiveSnapshotting': 'LiveSnapshotting','Starting': 'Starting','Stopping': 'Stopping','Saving': 'Saving','Restoring': 'Restoring','TeleportingPausedVM': 'TeleportingPausedVM','TeleportingIn': 'TeleportingIn','FaultTolerantSyncing': 'FaultTolerantSyncing','DeletingSnapshotOnline': 'DeletingSnapshotOnline','DeletingSnapshotPaused': 'DeletingSnapshotPaused','RestoringSnapshot': 'RestoringSnapshot','DeletingSnapshot': 'DeletingSnapshot','SettingUp': 'SettingUp','FirstOnline': 'FirstOnline','LastOnline': 'LastOnline','FirstTransient': 'FirstTransient','LastTransient': 'LastTransient'},
  161.                 'SessionState':{
  162.                   'Null': 'Null','Unlocked': 'Unlocked','Locked': 'Locked','Spawning': 'Spawning','Unlocking': 'Unlocking'},
  163.                 'CPUPropertyType':{
  164.                   'Null': 'Null','PAE': 'PAE','Synthetic': 'Synthetic'},
  165.                 'HWVirtExPropertyType':{
  166.                   'Null': 'Null','Enabled': 'Enabled','Exclusive': 'Exclusive','VPID': 'VPID','NestedPaging': 'NestedPaging','LargePages': 'LargePages','Force': 'Force'},
  167.                 'FaultToleranceState':{
  168.                   'Inactive': 'Inactive','Master': 'Master','Standby': 'Standby'},
  169.                 'LockType':{
  170.                   'Write': 'Write','Shared': 'Shared'},
  171.                 'SessionType':{
  172.                   'Null': 'Null','WriteLock': 'WriteLock','Remote': 'Remote','Shared': 'Shared'},
  173.                 'DeviceType':{
  174.                   'Null': 'Null','Floppy': 'Floppy','DVD': 'DVD','HardDisk': 'HardDisk','Network': 'Network','USB': 'USB','SharedFolder': 'SharedFolder'},
  175.                 'DeviceActivity':{
  176.                   'Null': 'Null','Idle': 'Idle','Reading': 'Reading','Writing': 'Writing'},
  177.                 'ClipboardMode':{
  178.                   'Disabled': 'Disabled','HostToGuest': 'HostToGuest','GuestToHost': 'GuestToHost','Bidirectional': 'Bidirectional'},
  179.                 'Scope':{
  180.                   'Global': 'Global','Machine': 'Machine','Session': 'Session'},
  181.                 'BIOSBootMenuMode':{
  182.                   'Disabled': 'Disabled','MenuOnly': 'MenuOnly','MessageAndMenu': 'MessageAndMenu'},
  183.                 'ProcessorFeature':{
  184.                   'HWVirtEx': 'HWVirtEx','PAE': 'PAE','LongMode': 'LongMode','NestedPaging': 'NestedPaging'},
  185.                 'FirmwareType':{
  186.                   'BIOS': 'BIOS','EFI': 'EFI','EFI32': 'EFI32','EFI64': 'EFI64','EFIDUAL': 'EFIDUAL'},
  187.                 'PointingHidType':{
  188.                   'None': 'None','PS2Mouse': 'PS2Mouse','USBMouse': 'USBMouse','USBTablet': 'USBTablet','ComboMouse': 'ComboMouse'},
  189.                 'KeyboardHidType':{
  190.                   'None': 'None','PS2Keyboard': 'PS2Keyboard','USBKeyboard': 'USBKeyboard','ComboKeyboard': 'ComboKeyboard'},
  191.                 'VFSType':{
  192.                   'File': 'File','Cloud': 'Cloud','S3': 'S3','WebDav': 'WebDav'},
  193.                 'VFSFileType':{
  194.                   'Unknown': 'Unknown','Fifo': 'Fifo','DevChar': 'DevChar','Directory': 'Directory','DevBlock': 'DevBlock','File': 'File','SymLink': 'SymLink','Socket': 'Socket','WhiteOut': 'WhiteOut'},
  195.                 'ImportOptions':{
  196.                   'KeepAllMACs': 'KeepAllMACs','KeepNATMACs': 'KeepNATMACs'},
  197.                 'VirtualSystemDescriptionType':{
  198.                   'Ignore': 'Ignore','OS': 'OS','Name': 'Name','Product': 'Product','Vendor': 'Vendor','Version': 'Version','ProductUrl': 'ProductUrl','VendorUrl': 'VendorUrl','Description': 'Description','License': 'License','Miscellaneous': 'Miscellaneous','CPU': 'CPU','Memory': 'Memory','HardDiskControllerIDE': 'HardDiskControllerIDE','HardDiskControllerSATA': 'HardDiskControllerSATA','HardDiskControllerSCSI': 'HardDiskControllerSCSI','HardDiskControllerSAS': 'HardDiskControllerSAS','HardDiskImage': 'HardDiskImage','Floppy': 'Floppy','CDROM': 'CDROM','NetworkAdapter': 'NetworkAdapter','USBController': 'USBController','SoundCard': 'SoundCard','SettingsFile': 'SettingsFile'},
  199.                 'VirtualSystemDescriptionValueType':{
  200.                   'Reference': 'Reference','Original': 'Original','Auto': 'Auto','ExtraConfig': 'ExtraConfig'},
  201.                 'CleanupMode':{
  202.                   'UnregisterOnly': 'UnregisterOnly','DetachAllReturnNone': 'DetachAllReturnNone','DetachAllReturnHardDisksOnly': 'DetachAllReturnHardDisksOnly','Full': 'Full'},
  203.                 'CloneMode':{
  204.                   'MachineState': 'MachineState','MachineAndChildStates': 'MachineAndChildStates','AllStates': 'AllStates'},
  205.                 'CloneOptions':{
  206.                   'Link': 'Link','KeepAllMACs': 'KeepAllMACs','KeepNATMACs': 'KeepNATMACs','KeepDiskNames': 'KeepDiskNames'},
  207.                 'HostNetworkInterfaceMediumType':{
  208.                   'Unknown': 'Unknown','Ethernet': 'Ethernet','PPP': 'PPP','SLIP': 'SLIP'},
  209.                 'HostNetworkInterfaceStatus':{
  210.                   'Unknown': 'Unknown','Up': 'Up','Down': 'Down'},
  211.                 'HostNetworkInterfaceType':{
  212.                   'Bridged': 'Bridged','HostOnly': 'HostOnly'},
  213.                 'AdditionsFacilityType':{
  214.                   'None': 'None','VBoxGuestDriver': 'VBoxGuestDriver','VBoxService': 'VBoxService','VBoxTrayClient': 'VBoxTrayClient','Seamless': 'Seamless','Graphics': 'Graphics','All': 'All'},
  215.                 'AdditionsFacilityClass':{
  216.                   'None': 'None','Driver': 'Driver','Service': 'Service','Program': 'Program','Feature': 'Feature','ThirdParty': 'ThirdParty','All': 'All'},
  217.                 'AdditionsFacilityStatus':{
  218.                   'Inactive': 'Inactive','Paused': 'Paused','PreInit': 'PreInit','Init': 'Init','Active': 'Active','Terminating': 'Terminating','Terminated': 'Terminated','Failed': 'Failed','Unknown': 'Unknown'},
  219.                 'AdditionsRunLevelType':{
  220.                   'None': 'None','System': 'System','Userland': 'Userland','Desktop': 'Desktop'},
  221.                 'AdditionsUpdateFlag':{
  222.                   'None': 'None','WaitForUpdateStartOnly': 'WaitForUpdateStartOnly'},
  223.                 'ExecuteProcessFlag':{
  224.                   'None': 'None','WaitForProcessStartOnly': 'WaitForProcessStartOnly','IgnoreOrphanedProcesses': 'IgnoreOrphanedProcesses','Hidden': 'Hidden','NoProfile': 'NoProfile'},
  225.                 'ExecuteProcessStatus':{
  226.                   'Undefined': 'Undefined','Started': 'Started','TerminatedNormally': 'TerminatedNormally','TerminatedSignal': 'TerminatedSignal','TerminatedAbnormally': 'TerminatedAbnormally','TimedOutKilled': 'TimedOutKilled','TimedOutAbnormally': 'TimedOutAbnormally','Down': 'Down','Error': 'Error'},
  227.                 'ProcessInputFlag':{
  228.                   'None': 'None','EndOfFile': 'EndOfFile'},
  229.                 'ProcessOutputFlag':{
  230.                   'None': 'None','StdErr': 'StdErr'},
  231.                 'CopyFileFlag':{
  232.                   'None': 'None','Recursive': 'Recursive','Update': 'Update','FollowLinks': 'FollowLinks'},
  233.                 'DirectoryCreateFlag':{
  234.                   'None': 'None','Parents': 'Parents'},
  235.                 'DirectoryOpenFlag':{
  236.                   'None': 'None'},
  237.                 'GuestDirEntryType':{
  238.                   'Unknown': 'Unknown','Directory': 'Directory','File': 'File','Symlink': 'Symlink'},
  239.                 'MediumState':{
  240.                   'NotCreated': 'NotCreated','Created': 'Created','LockedRead': 'LockedRead','LockedWrite': 'LockedWrite','Inaccessible': 'Inaccessible','Creating': 'Creating','Deleting': 'Deleting'},
  241.                 'MediumType':{
  242.                   'Normal': 'Normal','Immutable': 'Immutable','Writethrough': 'Writethrough','Shareable': 'Shareable','Readonly': 'Readonly','MultiAttach': 'MultiAttach'},
  243.                 'MediumVariant':{
  244.                   'Standard': 'Standard','VmdkSplit2G': 'VmdkSplit2G','VmdkStreamOptimized': 'VmdkStreamOptimized','VmdkESX': 'VmdkESX','Fixed': 'Fixed','Diff': 'Diff'},
  245.                 'DataType':{
  246.                   'Int32': 'Int32','Int8': 'Int8','String': 'String'},
  247.                 'DataFlags':{
  248.                   'None': 'None','Mandatory': 'Mandatory','Expert': 'Expert','Array': 'Array','FlagMask': 'FlagMask'},
  249.                 'MediumFormatCapabilities':{
  250.                   'Uuid': 'Uuid','CreateFixed': 'CreateFixed','CreateDynamic': 'CreateDynamic','CreateSplit2G': 'CreateSplit2G','Differencing': 'Differencing','Asynchronous': 'Asynchronous','File': 'File','Properties': 'Properties','TcpNetworking': 'TcpNetworking','VFS': 'VFS','CapabilityMask': 'CapabilityMask'},
  251.                 'MouseButtonState':{
  252.                   'LeftButton': 'LeftButton','RightButton': 'RightButton','MiddleButton': 'MiddleButton','WheelUp': 'WheelUp','WheelDown': 'WheelDown','XButton1': 'XButton1','XButton2': 'XButton2','MouseStateMask': 'MouseStateMask'},
  253.                 'FramebufferPixelFormat':{
  254.                   'Opaque': 'Opaque','FOURCC_RGB': 'FOURCC_RGB'},
  255.                 'NetworkAttachmentType':{
  256.                   'Null': 'Null','NAT': 'NAT','Bridged': 'Bridged','Internal': 'Internal','HostOnly': 'HostOnly','Generic': 'Generic'},
  257.                 'NetworkAdapterType':{
  258.                   'Null': 'Null','Am79C970A': 'Am79C970A','Am79C973': 'Am79C973','I82540EM': 'I82540EM','I82543GC': 'I82543GC','I82545EM': 'I82545EM','Virtio': 'Virtio'},
  259.                 'NetworkAdapterPromiscModePolicy':{
  260.                   'Deny': 'Deny','AllowNetwork': 'AllowNetwork','AllowAll': 'AllowAll'},
  261.                 'PortMode':{
  262.                   'Disconnected': 'Disconnected','HostPipe': 'HostPipe','HostDevice': 'HostDevice','RawFile': 'RawFile'},
  263.                 'USBDeviceState':{
  264.                   'NotSupported': 'NotSupported','Unavailable': 'Unavailable','Busy': 'Busy','Available': 'Available','Held': 'Held','Captured': 'Captured'},
  265.                 'USBDeviceFilterAction':{
  266.                   'Null': 'Null','Ignore': 'Ignore','Hold': 'Hold'},
  267.                 'AudioDriverType':{
  268.                   'Null': 'Null','WinMM': 'WinMM','OSS': 'OSS','ALSA': 'ALSA','DirectSound': 'DirectSound','CoreAudio': 'CoreAudio','MMPM': 'MMPM','Pulse': 'Pulse','SolAudio': 'SolAudio'},
  269.                 'AudioControllerType':{
  270.                   'AC97': 'AC97','SB16': 'SB16','HDA': 'HDA'},
  271.                 'AuthType':{
  272.                   'Null': 'Null','External': 'External','Guest': 'Guest'},
  273.                 'StorageBus':{
  274.                   'Null': 'Null','IDE': 'IDE','SATA': 'SATA','SCSI': 'SCSI','Floppy': 'Floppy','SAS': 'SAS'},
  275.                 'StorageControllerType':{
  276.                   'Null': 'Null','LsiLogic': 'LsiLogic','BusLogic': 'BusLogic','IntelAhci': 'IntelAhci','PIIX3': 'PIIX3','PIIX4': 'PIIX4','ICH6': 'ICH6','I82078': 'I82078','LsiLogicSas': 'LsiLogicSas'},
  277.                 'ChipsetType':{
  278.                   'Null': 'Null','PIIX3': 'PIIX3','ICH9': 'ICH9'},
  279.                 'NATAliasMode':{
  280.                   'AliasLog': 'AliasLog','AliasProxyOnly': 'AliasProxyOnly','AliasUseSamePorts': 'AliasUseSamePorts'},
  281.                 'NATProtocol':{
  282.                   'UDP': 'UDP','TCP': 'TCP'},
  283.                 'BandwidthGroupType':{
  284.                   'Null': 'Null','Disk': 'Disk','Network': 'Network'},
  285.                 'VBoxEventType':{
  286.                   'Invalid': 'Invalid','Any': 'Any','Vetoable': 'Vetoable','MachineEvent': 'MachineEvent','SnapshotEvent': 'SnapshotEvent','InputEvent': 'InputEvent','LastWildcard': 'LastWildcard','OnMachineStateChanged': 'OnMachineStateChanged','OnMachineDataChanged': 'OnMachineDataChanged','OnExtraDataChanged': 'OnExtraDataChanged','OnExtraDataCanChange': 'OnExtraDataCanChange','OnMediumRegistered': 'OnMediumRegistered','OnMachineRegistered': 'OnMachineRegistered','OnSessionStateChanged': 'OnSessionStateChanged','OnSnapshotTaken': 'OnSnapshotTaken','OnSnapshotDeleted': 'OnSnapshotDeleted','OnSnapshotChanged': 'OnSnapshotChanged','OnGuestPropertyChanged': 'OnGuestPropertyChanged','OnMousePointerShapeChanged': 'OnMousePointerShapeChanged','OnMouseCapabilityChanged': 'OnMouseCapabilityChanged','OnKeyboardLedsChanged': 'OnKeyboardLedsChanged','OnStateChanged': 'OnStateChanged','OnAdditionsStateChanged': 'OnAdditionsStateChanged','OnNetworkAdapterChanged': 'OnNetworkAdapterChanged','OnSerialPortChanged': 'OnSerialPortChanged','OnParallelPortChanged': 'OnParallelPortChanged','OnStorageControllerChanged': 'OnStorageControllerChanged','OnMediumChanged': 'OnMediumChanged','OnVRDEServerChanged': 'OnVRDEServerChanged','OnUSBControllerChanged': 'OnUSBControllerChanged','OnUSBDeviceStateChanged': 'OnUSBDeviceStateChanged','OnSharedFolderChanged': 'OnSharedFolderChanged','OnRuntimeError': 'OnRuntimeError','OnCanShowWindow': 'OnCanShowWindow','OnShowWindow': 'OnShowWindow','OnCPUChanged': 'OnCPUChanged','OnVRDEServerInfoChanged': 'OnVRDEServerInfoChanged','OnEventSourceChanged': 'OnEventSourceChanged','OnCPUExecutionCapChanged': 'OnCPUExecutionCapChanged','OnGuestKeyboard': 'OnGuestKeyboard','OnGuestMouse': 'OnGuestMouse','OnNATRedirect': 'OnNATRedirect','OnHostPciDevicePlug': 'OnHostPciDevicePlug','OnVBoxSVCAvailabilityChanged': 'OnVBoxSVCAvailabilityChanged','OnBandwidthGroupChanged': 'OnBandwidthGroupChanged','OnGuestMonitorChanged': 'OnGuestMonitorChanged','OnStorageDeviceChanged': 'OnStorageDeviceChanged','Last': 'Last'},
  287.                 'GuestMonitorChangedEventType':{
  288.                   'Enabled': 'Enabled','Disabled': 'Disabled','NewOrigin': 'NewOrigin'}}
  289.  
  290.    _ValuesFlat = {
  291.                         'SettingsVersion_Null':0,
  292.                         'SettingsVersion_v1_0':1,
  293.                         'SettingsVersion_v1_1':2,
  294.                         'SettingsVersion_v1_2':3,
  295.                         'SettingsVersion_v1_3pre':4,
  296.                         'SettingsVersion_v1_3':5,
  297.                         'SettingsVersion_v1_4':6,
  298.                         'SettingsVersion_v1_5':7,
  299.                         'SettingsVersion_v1_6':8,
  300.                         'SettingsVersion_v1_7':9,
  301.                         'SettingsVersion_v1_8':10,
  302.                         'SettingsVersion_v1_9':11,
  303.                         'SettingsVersion_v1_10':12,
  304.                         'SettingsVersion_v1_11':13,
  305.                         'SettingsVersion_v1_12':14,
  306.                         'SettingsVersion_Future':99999,
  307.                         'AccessMode_ReadOnly':1,
  308.                         'AccessMode_ReadWrite':2,
  309.                         'MachineState_Null':0,
  310.                         'MachineState_PoweredOff':1,
  311.                         'MachineState_Saved':2,
  312.                         'MachineState_Teleported':3,
  313.                         'MachineState_Aborted':4,
  314.                         'MachineState_Running':5,
  315.                         'MachineState_Paused':6,
  316.                         'MachineState_Stuck':7,
  317.                         'MachineState_Teleporting':8,
  318.                         'MachineState_LiveSnapshotting':9,
  319.                         'MachineState_Starting':10,
  320.                         'MachineState_Stopping':11,
  321.                         'MachineState_Saving':12,
  322.                         'MachineState_Restoring':13,
  323.                         'MachineState_TeleportingPausedVM':14,
  324.                         'MachineState_TeleportingIn':15,
  325.                         'MachineState_FaultTolerantSyncing':16,
  326.                         'MachineState_DeletingSnapshotOnline':17,
  327.                         'MachineState_DeletingSnapshotPaused':18,
  328.                         'MachineState_RestoringSnapshot':19,
  329.                         'MachineState_DeletingSnapshot':20,
  330.                         'MachineState_SettingUp':21,
  331.                         'MachineState_FirstOnline':5,
  332.                         'MachineState_LastOnline':18,
  333.                         'MachineState_FirstTransient':8,
  334.                         'MachineState_LastTransient':21,
  335.                         'SessionState_Null':0,
  336.                         'SessionState_Unlocked':1,
  337.                         'SessionState_Locked':2,
  338.                         'SessionState_Spawning':3,
  339.                         'SessionState_Unlocking':4,
  340.                         'CPUPropertyType_Null':0,
  341.                         'CPUPropertyType_PAE':1,
  342.                         'CPUPropertyType_Synthetic':2,
  343.                         'HWVirtExPropertyType_Null':0,
  344.                         'HWVirtExPropertyType_Enabled':1,
  345.                         'HWVirtExPropertyType_Exclusive':2,
  346.                         'HWVirtExPropertyType_VPID':3,
  347.                         'HWVirtExPropertyType_NestedPaging':4,
  348.                         'HWVirtExPropertyType_LargePages':5,
  349.                         'HWVirtExPropertyType_Force':6,
  350.                         'FaultToleranceState_Inactive':1,
  351.                         'FaultToleranceState_Master':2,
  352.                         'FaultToleranceState_Standby':3,
  353.                         'LockType_Write':2,
  354.                         'LockType_Shared':1,
  355.                         'SessionType_Null':0,
  356.                         'SessionType_WriteLock':1,
  357.                         'SessionType_Remote':2,
  358.                         'SessionType_Shared':3,
  359.                         'DeviceType_Null':0,
  360.                         'DeviceType_Floppy':1,
  361.                         'DeviceType_DVD':2,
  362.                         'DeviceType_HardDisk':3,
  363.                         'DeviceType_Network':4,
  364.                         'DeviceType_USB':5,
  365.                         'DeviceType_SharedFolder':6,
  366.                         'DeviceActivity_Null':0,
  367.                         'DeviceActivity_Idle':1,
  368.                         'DeviceActivity_Reading':2,
  369.                         'DeviceActivity_Writing':3,
  370.                         'ClipboardMode_Disabled':0,
  371.                         'ClipboardMode_HostToGuest':1,
  372.                         'ClipboardMode_GuestToHost':2,
  373.                         'ClipboardMode_Bidirectional':3,
  374.                         'Scope_Global':0,
  375.                         'Scope_Machine':1,
  376.                         'Scope_Session':2,
  377.                         'BIOSBootMenuMode_Disabled':0,
  378.                         'BIOSBootMenuMode_MenuOnly':1,
  379.                         'BIOSBootMenuMode_MessageAndMenu':2,
  380.                         'ProcessorFeature_HWVirtEx':0,
  381.                         'ProcessorFeature_PAE':1,
  382.                         'ProcessorFeature_LongMode':2,
  383.                         'ProcessorFeature_NestedPaging':3,
  384.                         'FirmwareType_BIOS':1,
  385.                         'FirmwareType_EFI':2,
  386.                         'FirmwareType_EFI32':3,
  387.                         'FirmwareType_EFI64':4,
  388.                         'FirmwareType_EFIDUAL':5,
  389.                         'PointingHidType_None':1,
  390.                         'PointingHidType_PS2Mouse':2,
  391.                         'PointingHidType_USBMouse':3,
  392.                         'PointingHidType_USBTablet':4,
  393.                         'PointingHidType_ComboMouse':5,
  394.                         'KeyboardHidType_None':1,
  395.                         'KeyboardHidType_PS2Keyboard':2,
  396.                         'KeyboardHidType_USBKeyboard':3,
  397.                         'KeyboardHidType_ComboKeyboard':4,
  398.                         'VFSType_File':1,
  399.                         'VFSType_Cloud':2,
  400.                         'VFSType_S3':3,
  401.                         'VFSType_WebDav':4,
  402.                         'VFSFileType_Unknown':1,
  403.                         'VFSFileType_Fifo':2,
  404.                         'VFSFileType_DevChar':3,
  405.                         'VFSFileType_Directory':4,
  406.                         'VFSFileType_DevBlock':5,
  407.                         'VFSFileType_File':6,
  408.                         'VFSFileType_SymLink':7,
  409.                         'VFSFileType_Socket':8,
  410.                         'VFSFileType_WhiteOut':9,
  411.                         'ImportOptions_KeepAllMACs':1,
  412.                         'ImportOptions_KeepNATMACs':2,
  413.                         'VirtualSystemDescriptionType_Ignore':1,
  414.                         'VirtualSystemDescriptionType_OS':2,
  415.                         'VirtualSystemDescriptionType_Name':3,
  416.                         'VirtualSystemDescriptionType_Product':4,
  417.                         'VirtualSystemDescriptionType_Vendor':5,
  418.                         'VirtualSystemDescriptionType_Version':6,
  419.                         'VirtualSystemDescriptionType_ProductUrl':7,
  420.                         'VirtualSystemDescriptionType_VendorUrl':8,
  421.                         'VirtualSystemDescriptionType_Description':9,
  422.                         'VirtualSystemDescriptionType_License':10,
  423.                         'VirtualSystemDescriptionType_Miscellaneous':11,
  424.                         'VirtualSystemDescriptionType_CPU':12,
  425.                         'VirtualSystemDescriptionType_Memory':13,
  426.                         'VirtualSystemDescriptionType_HardDiskControllerIDE':14,
  427.                         'VirtualSystemDescriptionType_HardDiskControllerSATA':15,
  428.                         'VirtualSystemDescriptionType_HardDiskControllerSCSI':16,
  429.                         'VirtualSystemDescriptionType_HardDiskControllerSAS':17,
  430.                         'VirtualSystemDescriptionType_HardDiskImage':18,
  431.                         'VirtualSystemDescriptionType_Floppy':19,
  432.                         'VirtualSystemDescriptionType_CDROM':20,
  433.                         'VirtualSystemDescriptionType_NetworkAdapter':21,
  434.                         'VirtualSystemDescriptionType_USBController':22,
  435.                         'VirtualSystemDescriptionType_SoundCard':23,
  436.                         'VirtualSystemDescriptionType_SettingsFile':24,
  437.                         'VirtualSystemDescriptionValueType_Reference':1,
  438.                         'VirtualSystemDescriptionValueType_Original':2,
  439.                         'VirtualSystemDescriptionValueType_Auto':3,
  440.                         'VirtualSystemDescriptionValueType_ExtraConfig':4,
  441.                         'CleanupMode_UnregisterOnly':1,
  442.                         'CleanupMode_DetachAllReturnNone':2,
  443.                         'CleanupMode_DetachAllReturnHardDisksOnly':3,
  444.                         'CleanupMode_Full':4,
  445.                         'CloneMode_MachineState':1,
  446.                         'CloneMode_MachineAndChildStates':2,
  447.                         'CloneMode_AllStates':3,
  448.                         'CloneOptions_Link':1,
  449.                         'CloneOptions_KeepAllMACs':2,
  450.                         'CloneOptions_KeepNATMACs':3,
  451.                         'CloneOptions_KeepDiskNames':4,
  452.                         'HostNetworkInterfaceMediumType_Unknown':0,
  453.                         'HostNetworkInterfaceMediumType_Ethernet':1,
  454.                         'HostNetworkInterfaceMediumType_PPP':2,
  455.                         'HostNetworkInterfaceMediumType_SLIP':3,
  456.                         'HostNetworkInterfaceStatus_Unknown':0,
  457.                         'HostNetworkInterfaceStatus_Up':1,
  458.                         'HostNetworkInterfaceStatus_Down':2,
  459.                         'HostNetworkInterfaceType_Bridged':1,
  460.                         'HostNetworkInterfaceType_HostOnly':2,
  461.                         'AdditionsFacilityType_None':0,
  462.                         'AdditionsFacilityType_VBoxGuestDriver':20,
  463.                         'AdditionsFacilityType_VBoxService':100,
  464.                         'AdditionsFacilityType_VBoxTrayClient':101,
  465.                         'AdditionsFacilityType_Seamless':1000,
  466.                         'AdditionsFacilityType_Graphics':1100,
  467.                         'AdditionsFacilityType_All':2147483646,
  468.                         'AdditionsFacilityClass_None':0,
  469.                         'AdditionsFacilityClass_Driver':10,
  470.                         'AdditionsFacilityClass_Service':30,
  471.                         'AdditionsFacilityClass_Program':50,
  472.                         'AdditionsFacilityClass_Feature':100,
  473.                         'AdditionsFacilityClass_ThirdParty':999,
  474.                         'AdditionsFacilityClass_All':2147483646,
  475.                         'AdditionsFacilityStatus_Inactive':0,
  476.                         'AdditionsFacilityStatus_Paused':1,
  477.                         'AdditionsFacilityStatus_PreInit':20,
  478.                         'AdditionsFacilityStatus_Init':30,
  479.                         'AdditionsFacilityStatus_Active':50,
  480.                         'AdditionsFacilityStatus_Terminating':100,
  481.                         'AdditionsFacilityStatus_Terminated':101,
  482.                         'AdditionsFacilityStatus_Failed':800,
  483.                         'AdditionsFacilityStatus_Unknown':999,
  484.                         'AdditionsRunLevelType_None':0,
  485.                         'AdditionsRunLevelType_System':1,
  486.                         'AdditionsRunLevelType_Userland':2,
  487.                         'AdditionsRunLevelType_Desktop':3,
  488.                         'AdditionsUpdateFlag_None':0,
  489.                         'AdditionsUpdateFlag_WaitForUpdateStartOnly':1,
  490.                         'ExecuteProcessFlag_None':0,
  491.                         'ExecuteProcessFlag_WaitForProcessStartOnly':1,
  492.                         'ExecuteProcessFlag_IgnoreOrphanedProcesses':2,
  493.                         'ExecuteProcessFlag_Hidden':4,
  494.                         'ExecuteProcessFlag_NoProfile':8,
  495.                         'ExecuteProcessStatus_Undefined':0,
  496.                         'ExecuteProcessStatus_Started':1,
  497.                         'ExecuteProcessStatus_TerminatedNormally':2,
  498.                         'ExecuteProcessStatus_TerminatedSignal':3,
  499.                         'ExecuteProcessStatus_TerminatedAbnormally':4,
  500.                         'ExecuteProcessStatus_TimedOutKilled':5,
  501.                         'ExecuteProcessStatus_TimedOutAbnormally':6,
  502.                         'ExecuteProcessStatus_Down':7,
  503.                         'ExecuteProcessStatus_Error':8,
  504.                         'ProcessInputFlag_None':0,
  505.                         'ProcessInputFlag_EndOfFile':1,
  506.                         'ProcessOutputFlag_None':0,
  507.                         'ProcessOutputFlag_StdErr':1,
  508.                         'CopyFileFlag_None':0,
  509.                         'CopyFileFlag_Recursive':1,
  510.                         'CopyFileFlag_Update':2,
  511.                         'CopyFileFlag_FollowLinks':4,
  512.                         'DirectoryCreateFlag_None':0,
  513.                         'DirectoryCreateFlag_Parents':1,
  514.                         'DirectoryOpenFlag_None':0,
  515.                         'GuestDirEntryType_Unknown':0,
  516.                         'GuestDirEntryType_Directory':4,
  517.                         'GuestDirEntryType_File':10,
  518.                         'GuestDirEntryType_Symlink':12,
  519.                         'MediumState_NotCreated':0,
  520.                         'MediumState_Created':1,
  521.                         'MediumState_LockedRead':2,
  522.                         'MediumState_LockedWrite':3,
  523.                         'MediumState_Inaccessible':4,
  524.                         'MediumState_Creating':5,
  525.                         'MediumState_Deleting':6,
  526.                         'MediumType_Normal':0,
  527.                         'MediumType_Immutable':1,
  528.                         'MediumType_Writethrough':2,
  529.                         'MediumType_Shareable':3,
  530.                         'MediumType_Readonly':4,
  531.                         'MediumType_MultiAttach':5,
  532.                         'MediumVariant_Standard':0,
  533.                         'MediumVariant_VmdkSplit2G':0x01,
  534.                         'MediumVariant_VmdkStreamOptimized':0x04,
  535.                         'MediumVariant_VmdkESX':0x08,
  536.                         'MediumVariant_Fixed':0x10000,
  537.                         'MediumVariant_Diff':0x20000,
  538.                         'DataType_Int32':0,
  539.                         'DataType_Int8':1,
  540.                         'DataType_String':2,
  541.                         'DataFlags_None':0x00,
  542.                         'DataFlags_Mandatory':0x01,
  543.                         'DataFlags_Expert':0x02,
  544.                         'DataFlags_Array':0x04,
  545.                         'DataFlags_FlagMask':0x07,
  546.                         'MediumFormatCapabilities_Uuid':0x01,
  547.                         'MediumFormatCapabilities_CreateFixed':0x02,
  548.                         'MediumFormatCapabilities_CreateDynamic':0x04,
  549.                         'MediumFormatCapabilities_CreateSplit2G':0x08,
  550.                         'MediumFormatCapabilities_Differencing':0x10,
  551.                         'MediumFormatCapabilities_Asynchronous':0x20,
  552.                         'MediumFormatCapabilities_File':0x40,
  553.                         'MediumFormatCapabilities_Properties':0x80,
  554.                         'MediumFormatCapabilities_TcpNetworking':0x100,
  555.                         'MediumFormatCapabilities_VFS':0x200,
  556.                         'MediumFormatCapabilities_CapabilityMask':0x3FF,
  557.                         'MouseButtonState_LeftButton':0x01,
  558.                         'MouseButtonState_RightButton':0x02,
  559.                         'MouseButtonState_MiddleButton':0x04,
  560.                         'MouseButtonState_WheelUp':0x08,
  561.                         'MouseButtonState_WheelDown':0x10,
  562.                         'MouseButtonState_XButton1':0x20,
  563.                         'MouseButtonState_XButton2':0x40,
  564.                         'MouseButtonState_MouseStateMask':0x7F,
  565.                         'FramebufferPixelFormat_Opaque':0,
  566.                         'FramebufferPixelFormat_FOURCC_RGB':0x32424752,
  567.                         'NetworkAttachmentType_Null':0,
  568.                         'NetworkAttachmentType_NAT':1,
  569.                         'NetworkAttachmentType_Bridged':2,
  570.                         'NetworkAttachmentType_Internal':3,
  571.                         'NetworkAttachmentType_HostOnly':4,
  572.                         'NetworkAttachmentType_Generic':5,
  573.                         'NetworkAdapterType_Null':0,
  574.                         'NetworkAdapterType_Am79C970A':1,
  575.                         'NetworkAdapterType_Am79C973':2,
  576.                         'NetworkAdapterType_I82540EM':3,
  577.                         'NetworkAdapterType_I82543GC':4,
  578.                         'NetworkAdapterType_I82545EM':5,
  579.                         'NetworkAdapterType_Virtio':6,
  580.                         'NetworkAdapterPromiscModePolicy_Deny':1,
  581.                         'NetworkAdapterPromiscModePolicy_AllowNetwork':2,
  582.                         'NetworkAdapterPromiscModePolicy_AllowAll':3,
  583.                         'PortMode_Disconnected':0,
  584.                         'PortMode_HostPipe':1,
  585.                         'PortMode_HostDevice':2,
  586.                         'PortMode_RawFile':3,
  587.                         'USBDeviceState_NotSupported':0,
  588.                         'USBDeviceState_Unavailable':1,
  589.                         'USBDeviceState_Busy':2,
  590.                         'USBDeviceState_Available':3,
  591.                         'USBDeviceState_Held':4,
  592.                         'USBDeviceState_Captured':5,
  593.                         'USBDeviceFilterAction_Null':0,
  594.                         'USBDeviceFilterAction_Ignore':1,
  595.                         'USBDeviceFilterAction_Hold':2,
  596.                         'AudioDriverType_Null':0,
  597.                         'AudioDriverType_WinMM':1,
  598.                         'AudioDriverType_OSS':2,
  599.                         'AudioDriverType_ALSA':3,
  600.                         'AudioDriverType_DirectSound':4,
  601.                         'AudioDriverType_CoreAudio':5,
  602.                         'AudioDriverType_MMPM':6,
  603.                         'AudioDriverType_Pulse':7,
  604.                         'AudioDriverType_SolAudio':8,
  605.                         'AudioControllerType_AC97':0,
  606.                         'AudioControllerType_SB16':1,
  607.                         'AudioControllerType_HDA':2,
  608.                         'AuthType_Null':0,
  609.                         'AuthType_External':1,
  610.                         'AuthType_Guest':2,
  611.                         'StorageBus_Null':0,
  612.                         'StorageBus_IDE':1,
  613.                         'StorageBus_SATA':2,
  614.                         'StorageBus_SCSI':3,
  615.                         'StorageBus_Floppy':4,
  616.                         'StorageBus_SAS':5,
  617.                         'StorageControllerType_Null':0,
  618.                         'StorageControllerType_LsiLogic':1,
  619.                         'StorageControllerType_BusLogic':2,
  620.                         'StorageControllerType_IntelAhci':3,
  621.                         'StorageControllerType_PIIX3':4,
  622.                         'StorageControllerType_PIIX4':5,
  623.                         'StorageControllerType_ICH6':6,
  624.                         'StorageControllerType_I82078':7,
  625.                         'StorageControllerType_LsiLogicSas':8,
  626.                         'ChipsetType_Null':0,
  627.                         'ChipsetType_PIIX3':1,
  628.                         'ChipsetType_ICH9':2,
  629.                         'NATAliasMode_AliasLog':0x1,
  630.                         'NATAliasMode_AliasProxyOnly':0x02,
  631.                         'NATAliasMode_AliasUseSamePorts':0x04,
  632.                         'NATProtocol_UDP':0,
  633.                         'NATProtocol_TCP':1,
  634.                         'BandwidthGroupType_Null':0,
  635.                         'BandwidthGroupType_Disk':1,
  636.                         'BandwidthGroupType_Network':2,
  637.                         'VBoxEventType_Invalid':0,
  638.                         'VBoxEventType_Any':1,
  639.                         'VBoxEventType_Vetoable':2,
  640.                         'VBoxEventType_MachineEvent':3,
  641.                         'VBoxEventType_SnapshotEvent':4,
  642.                         'VBoxEventType_InputEvent':5,
  643.                         'VBoxEventType_LastWildcard':31,
  644.                         'VBoxEventType_OnMachineStateChanged':32,
  645.                         'VBoxEventType_OnMachineDataChanged':33,
  646.                         'VBoxEventType_OnExtraDataChanged':34,
  647.                         'VBoxEventType_OnExtraDataCanChange':35,
  648.                         'VBoxEventType_OnMediumRegistered':36,
  649.                         'VBoxEventType_OnMachineRegistered':37,
  650.                         'VBoxEventType_OnSessionStateChanged':38,
  651.                         'VBoxEventType_OnSnapshotTaken':39,
  652.                         'VBoxEventType_OnSnapshotDeleted':40,
  653.                         'VBoxEventType_OnSnapshotChanged':41,
  654.                         'VBoxEventType_OnGuestPropertyChanged':42,
  655.                         'VBoxEventType_OnMousePointerShapeChanged':43,
  656.                         'VBoxEventType_OnMouseCapabilityChanged':44,
  657.                         'VBoxEventType_OnKeyboardLedsChanged':45,
  658.                         'VBoxEventType_OnStateChanged':46,
  659.                         'VBoxEventType_OnAdditionsStateChanged':47,
  660.                         'VBoxEventType_OnNetworkAdapterChanged':48,
  661.                         'VBoxEventType_OnSerialPortChanged':49,
  662.                         'VBoxEventType_OnParallelPortChanged':50,
  663.                         'VBoxEventType_OnStorageControllerChanged':51,
  664.                         'VBoxEventType_OnMediumChanged':52,
  665.                         'VBoxEventType_OnVRDEServerChanged':53,
  666.                         'VBoxEventType_OnUSBControllerChanged':54,
  667.                         'VBoxEventType_OnUSBDeviceStateChanged':55,
  668.                         'VBoxEventType_OnSharedFolderChanged':56,
  669.                         'VBoxEventType_OnRuntimeError':57,
  670.                         'VBoxEventType_OnCanShowWindow':58,
  671.                         'VBoxEventType_OnShowWindow':59,
  672.                         'VBoxEventType_OnCPUChanged':60,
  673.                         'VBoxEventType_OnVRDEServerInfoChanged':61,
  674.                         'VBoxEventType_OnEventSourceChanged':62,
  675.                         'VBoxEventType_OnCPUExecutionCapChanged':63,
  676.                         'VBoxEventType_OnGuestKeyboard':64,
  677.                         'VBoxEventType_OnGuestMouse':65,
  678.                         'VBoxEventType_OnNATRedirect':66,
  679.                         'VBoxEventType_OnHostPciDevicePlug':67,
  680.                         'VBoxEventType_OnVBoxSVCAvailabilityChanged':68,
  681.                         'VBoxEventType_OnBandwidthGroupChanged':69,
  682.                         'VBoxEventType_OnGuestMonitorChanged':70,
  683.                         'VBoxEventType_OnStorageDeviceChanged':71,
  684.                         'VBoxEventType_Last':72,
  685.                         'GuestMonitorChangedEventType_Enabled':0,
  686.                         'GuestMonitorChangedEventType_Disabled':1,
  687.                         'GuestMonitorChangedEventType_NewOrigin':2}
  688.  
  689.    _ValuesFlatSym = {
  690.                         'SettingsVersion_Null': 'Null',
  691.                         'SettingsVersion_v1_0': 'v1_0',
  692.                         'SettingsVersion_v1_1': 'v1_1',
  693.                         'SettingsVersion_v1_2': 'v1_2',
  694.                         'SettingsVersion_v1_3pre': 'v1_3pre',
  695.                         'SettingsVersion_v1_3': 'v1_3',
  696.                         'SettingsVersion_v1_4': 'v1_4',
  697.                         'SettingsVersion_v1_5': 'v1_5',
  698.                         'SettingsVersion_v1_6': 'v1_6',
  699.                         'SettingsVersion_v1_7': 'v1_7',
  700.                         'SettingsVersion_v1_8': 'v1_8',
  701.                         'SettingsVersion_v1_9': 'v1_9',
  702.                         'SettingsVersion_v1_10': 'v1_10',
  703.                         'SettingsVersion_v1_11': 'v1_11',
  704.                         'SettingsVersion_v1_12': 'v1_12',
  705.                         'SettingsVersion_Future': 'Future',
  706.                         'AccessMode_ReadOnly': 'ReadOnly',
  707.                         'AccessMode_ReadWrite': 'ReadWrite',
  708.                         'MachineState_Null': 'Null',
  709.                         'MachineState_PoweredOff': 'PoweredOff',
  710.                         'MachineState_Saved': 'Saved',
  711.                         'MachineState_Teleported': 'Teleported',
  712.                         'MachineState_Aborted': 'Aborted',
  713.                         'MachineState_Running': 'Running',
  714.                         'MachineState_Paused': 'Paused',
  715.                         'MachineState_Stuck': 'Stuck',
  716.                         'MachineState_Teleporting': 'Teleporting',
  717.                         'MachineState_LiveSnapshotting': 'LiveSnapshotting',
  718.                         'MachineState_Starting': 'Starting',
  719.                         'MachineState_Stopping': 'Stopping',
  720.                         'MachineState_Saving': 'Saving',
  721.                         'MachineState_Restoring': 'Restoring',
  722.                         'MachineState_TeleportingPausedVM': 'TeleportingPausedVM',
  723.                         'MachineState_TeleportingIn': 'TeleportingIn',
  724.                         'MachineState_FaultTolerantSyncing': 'FaultTolerantSyncing',
  725.                         'MachineState_DeletingSnapshotOnline': 'DeletingSnapshotOnline',
  726.                         'MachineState_DeletingSnapshotPaused': 'DeletingSnapshotPaused',
  727.                         'MachineState_RestoringSnapshot': 'RestoringSnapshot',
  728.                         'MachineState_DeletingSnapshot': 'DeletingSnapshot',
  729.                         'MachineState_SettingUp': 'SettingUp',
  730.                         'MachineState_FirstOnline': 'FirstOnline',
  731.                         'MachineState_LastOnline': 'LastOnline',
  732.                         'MachineState_FirstTransient': 'FirstTransient',
  733.                         'MachineState_LastTransient': 'LastTransient',
  734.                         'SessionState_Null': 'Null',
  735.                         'SessionState_Unlocked': 'Unlocked',
  736.                         'SessionState_Locked': 'Locked',
  737.                         'SessionState_Spawning': 'Spawning',
  738.                         'SessionState_Unlocking': 'Unlocking',
  739.                         'CPUPropertyType_Null': 'Null',
  740.                         'CPUPropertyType_PAE': 'PAE',
  741.                         'CPUPropertyType_Synthetic': 'Synthetic',
  742.                         'HWVirtExPropertyType_Null': 'Null',
  743.                         'HWVirtExPropertyType_Enabled': 'Enabled',
  744.                         'HWVirtExPropertyType_Exclusive': 'Exclusive',
  745.                         'HWVirtExPropertyType_VPID': 'VPID',
  746.                         'HWVirtExPropertyType_NestedPaging': 'NestedPaging',
  747.                         'HWVirtExPropertyType_LargePages': 'LargePages',
  748.                         'HWVirtExPropertyType_Force': 'Force',
  749.                         'FaultToleranceState_Inactive': 'Inactive',
  750.                         'FaultToleranceState_Master': 'Master',
  751.                         'FaultToleranceState_Standby': 'Standby',
  752.                         'LockType_Write': 'Write',
  753.                         'LockType_Shared': 'Shared',
  754.                         'SessionType_Null': 'Null',
  755.                         'SessionType_WriteLock': 'WriteLock',
  756.                         'SessionType_Remote': 'Remote',
  757.                         'SessionType_Shared': 'Shared',
  758.                         'DeviceType_Null': 'Null',
  759.                         'DeviceType_Floppy': 'Floppy',
  760.                         'DeviceType_DVD': 'DVD',
  761.                         'DeviceType_HardDisk': 'HardDisk',
  762.                         'DeviceType_Network': 'Network',
  763.                         'DeviceType_USB': 'USB',
  764.                         'DeviceType_SharedFolder': 'SharedFolder',
  765.                         'DeviceActivity_Null': 'Null',
  766.                         'DeviceActivity_Idle': 'Idle',
  767.                         'DeviceActivity_Reading': 'Reading',
  768.                         'DeviceActivity_Writing': 'Writing',
  769.                         'ClipboardMode_Disabled': 'Disabled',
  770.                         'ClipboardMode_HostToGuest': 'HostToGuest',
  771.                         'ClipboardMode_GuestToHost': 'GuestToHost',
  772.                         'ClipboardMode_Bidirectional': 'Bidirectional',
  773.                         'Scope_Global': 'Global',
  774.                         'Scope_Machine': 'Machine',
  775.                         'Scope_Session': 'Session',
  776.                         'BIOSBootMenuMode_Disabled': 'Disabled',
  777.                         'BIOSBootMenuMode_MenuOnly': 'MenuOnly',
  778.                         'BIOSBootMenuMode_MessageAndMenu': 'MessageAndMenu',
  779.                         'ProcessorFeature_HWVirtEx': 'HWVirtEx',
  780.                         'ProcessorFeature_PAE': 'PAE',
  781.                         'ProcessorFeature_LongMode': 'LongMode',
  782.                         'ProcessorFeature_NestedPaging': 'NestedPaging',
  783.                         'FirmwareType_BIOS': 'BIOS',
  784.                         'FirmwareType_EFI': 'EFI',
  785.                         'FirmwareType_EFI32': 'EFI32',
  786.                         'FirmwareType_EFI64': 'EFI64',
  787.                         'FirmwareType_EFIDUAL': 'EFIDUAL',
  788.                         'PointingHidType_None': 'None',
  789.                         'PointingHidType_PS2Mouse': 'PS2Mouse',
  790.                         'PointingHidType_USBMouse': 'USBMouse',
  791.                         'PointingHidType_USBTablet': 'USBTablet',
  792.                         'PointingHidType_ComboMouse': 'ComboMouse',
  793.                         'KeyboardHidType_None': 'None',
  794.                         'KeyboardHidType_PS2Keyboard': 'PS2Keyboard',
  795.                         'KeyboardHidType_USBKeyboard': 'USBKeyboard',
  796.                         'KeyboardHidType_ComboKeyboard': 'ComboKeyboard',
  797.                         'VFSType_File': 'File',
  798.                         'VFSType_Cloud': 'Cloud',
  799.                         'VFSType_S3': 'S3',
  800.                         'VFSType_WebDav': 'WebDav',
  801.                         'VFSFileType_Unknown': 'Unknown',
  802.                         'VFSFileType_Fifo': 'Fifo',
  803.                         'VFSFileType_DevChar': 'DevChar',
  804.                         'VFSFileType_Directory': 'Directory',
  805.                         'VFSFileType_DevBlock': 'DevBlock',
  806.                         'VFSFileType_File': 'File',
  807.                         'VFSFileType_SymLink': 'SymLink',
  808.                         'VFSFileType_Socket': 'Socket',
  809.                         'VFSFileType_WhiteOut': 'WhiteOut',
  810.                         'ImportOptions_KeepAllMACs': 'KeepAllMACs',
  811.                         'ImportOptions_KeepNATMACs': 'KeepNATMACs',
  812.                         'VirtualSystemDescriptionType_Ignore': 'Ignore',
  813.                         'VirtualSystemDescriptionType_OS': 'OS',
  814.                         'VirtualSystemDescriptionType_Name': 'Name',
  815.                         'VirtualSystemDescriptionType_Product': 'Product',
  816.                         'VirtualSystemDescriptionType_Vendor': 'Vendor',
  817.                         'VirtualSystemDescriptionType_Version': 'Version',
  818.                         'VirtualSystemDescriptionType_ProductUrl': 'ProductUrl',
  819.                         'VirtualSystemDescriptionType_VendorUrl': 'VendorUrl',
  820.                         'VirtualSystemDescriptionType_Description': 'Description',
  821.                         'VirtualSystemDescriptionType_License': 'License',
  822.                         'VirtualSystemDescriptionType_Miscellaneous': 'Miscellaneous',
  823.                         'VirtualSystemDescriptionType_CPU': 'CPU',
  824.                         'VirtualSystemDescriptionType_Memory': 'Memory',
  825.                         'VirtualSystemDescriptionType_HardDiskControllerIDE': 'HardDiskControllerIDE',
  826.                         'VirtualSystemDescriptionType_HardDiskControllerSATA': 'HardDiskControllerSATA',
  827.                         'VirtualSystemDescriptionType_HardDiskControllerSCSI': 'HardDiskControllerSCSI',
  828.                         'VirtualSystemDescriptionType_HardDiskControllerSAS': 'HardDiskControllerSAS',
  829.                         'VirtualSystemDescriptionType_HardDiskImage': 'HardDiskImage',
  830.                         'VirtualSystemDescriptionType_Floppy': 'Floppy',
  831.                         'VirtualSystemDescriptionType_CDROM': 'CDROM',
  832.                         'VirtualSystemDescriptionType_NetworkAdapter': 'NetworkAdapter',
  833.                         'VirtualSystemDescriptionType_USBController': 'USBController',
  834.                         'VirtualSystemDescriptionType_SoundCard': 'SoundCard',
  835.                         'VirtualSystemDescriptionType_SettingsFile': 'SettingsFile',
  836.                         'VirtualSystemDescriptionValueType_Reference': 'Reference',
  837.                         'VirtualSystemDescriptionValueType_Original': 'Original',
  838.                         'VirtualSystemDescriptionValueType_Auto': 'Auto',
  839.                         'VirtualSystemDescriptionValueType_ExtraConfig': 'ExtraConfig',
  840.                         'CleanupMode_UnregisterOnly': 'UnregisterOnly',
  841.                         'CleanupMode_DetachAllReturnNone': 'DetachAllReturnNone',
  842.                         'CleanupMode_DetachAllReturnHardDisksOnly': 'DetachAllReturnHardDisksOnly',
  843.                         'CleanupMode_Full': 'Full',
  844.                         'CloneMode_MachineState': 'MachineState',
  845.                         'CloneMode_MachineAndChildStates': 'MachineAndChildStates',
  846.                         'CloneMode_AllStates': 'AllStates',
  847.                         'CloneOptions_Link': 'Link',
  848.                         'CloneOptions_KeepAllMACs': 'KeepAllMACs',
  849.                         'CloneOptions_KeepNATMACs': 'KeepNATMACs',
  850.                         'CloneOptions_KeepDiskNames': 'KeepDiskNames',
  851.                         'HostNetworkInterfaceMediumType_Unknown': 'Unknown',
  852.                         'HostNetworkInterfaceMediumType_Ethernet': 'Ethernet',
  853.                         'HostNetworkInterfaceMediumType_PPP': 'PPP',
  854.                         'HostNetworkInterfaceMediumType_SLIP': 'SLIP',
  855.                         'HostNetworkInterfaceStatus_Unknown': 'Unknown',
  856.                         'HostNetworkInterfaceStatus_Up': 'Up',
  857.                         'HostNetworkInterfaceStatus_Down': 'Down',
  858.                         'HostNetworkInterfaceType_Bridged': 'Bridged',
  859.                         'HostNetworkInterfaceType_HostOnly': 'HostOnly',
  860.                         'AdditionsFacilityType_None': 'None',
  861.                         'AdditionsFacilityType_VBoxGuestDriver': 'VBoxGuestDriver',
  862.                         'AdditionsFacilityType_VBoxService': 'VBoxService',
  863.                         'AdditionsFacilityType_VBoxTrayClient': 'VBoxTrayClient',
  864.                         'AdditionsFacilityType_Seamless': 'Seamless',
  865.                         'AdditionsFacilityType_Graphics': 'Graphics',
  866.                         'AdditionsFacilityType_All': 'All',
  867.                         'AdditionsFacilityClass_None': 'None',
  868.                         'AdditionsFacilityClass_Driver': 'Driver',
  869.                         'AdditionsFacilityClass_Service': 'Service',
  870.                         'AdditionsFacilityClass_Program': 'Program',
  871.                         'AdditionsFacilityClass_Feature': 'Feature',
  872.                         'AdditionsFacilityClass_ThirdParty': 'ThirdParty',
  873.                         'AdditionsFacilityClass_All': 'All',
  874.                         'AdditionsFacilityStatus_Inactive': 'Inactive',
  875.                         'AdditionsFacilityStatus_Paused': 'Paused',
  876.                         'AdditionsFacilityStatus_PreInit': 'PreInit',
  877.                         'AdditionsFacilityStatus_Init': 'Init',
  878.                         'AdditionsFacilityStatus_Active': 'Active',
  879.                         'AdditionsFacilityStatus_Terminating': 'Terminating',
  880.                         'AdditionsFacilityStatus_Terminated': 'Terminated',
  881.                         'AdditionsFacilityStatus_Failed': 'Failed',
  882.                         'AdditionsFacilityStatus_Unknown': 'Unknown',
  883.                         'AdditionsRunLevelType_None': 'None',
  884.                         'AdditionsRunLevelType_System': 'System',
  885.                         'AdditionsRunLevelType_Userland': 'Userland',
  886.                         'AdditionsRunLevelType_Desktop': 'Desktop',
  887.                         'AdditionsUpdateFlag_None': 'None',
  888.                         'AdditionsUpdateFlag_WaitForUpdateStartOnly': 'WaitForUpdateStartOnly',
  889.                         'ExecuteProcessFlag_None': 'None',
  890.                         'ExecuteProcessFlag_WaitForProcessStartOnly': 'WaitForProcessStartOnly',
  891.                         'ExecuteProcessFlag_IgnoreOrphanedProcesses': 'IgnoreOrphanedProcesses',
  892.                         'ExecuteProcessFlag_Hidden': 'Hidden',
  893.                         'ExecuteProcessFlag_NoProfile': 'NoProfile',
  894.                         'ExecuteProcessStatus_Undefined': 'Undefined',
  895.                         'ExecuteProcessStatus_Started': 'Started',
  896.                         'ExecuteProcessStatus_TerminatedNormally': 'TerminatedNormally',
  897.                         'ExecuteProcessStatus_TerminatedSignal': 'TerminatedSignal',
  898.                         'ExecuteProcessStatus_TerminatedAbnormally': 'TerminatedAbnormally',
  899.                         'ExecuteProcessStatus_TimedOutKilled': 'TimedOutKilled',
  900.                         'ExecuteProcessStatus_TimedOutAbnormally': 'TimedOutAbnormally',
  901.                         'ExecuteProcessStatus_Down': 'Down',
  902.                         'ExecuteProcessStatus_Error': 'Error',
  903.                         'ProcessInputFlag_None': 'None',
  904.                         'ProcessInputFlag_EndOfFile': 'EndOfFile',
  905.                         'ProcessOutputFlag_None': 'None',
  906.                         'ProcessOutputFlag_StdErr': 'StdErr',
  907.                         'CopyFileFlag_None': 'None',
  908.                         'CopyFileFlag_Recursive': 'Recursive',
  909.                         'CopyFileFlag_Update': 'Update',
  910.                         'CopyFileFlag_FollowLinks': 'FollowLinks',
  911.                         'DirectoryCreateFlag_None': 'None',
  912.                         'DirectoryCreateFlag_Parents': 'Parents',
  913.                         'DirectoryOpenFlag_None': 'None',
  914.                         'GuestDirEntryType_Unknown': 'Unknown',
  915.                         'GuestDirEntryType_Directory': 'Directory',
  916.                         'GuestDirEntryType_File': 'File',
  917.                         'GuestDirEntryType_Symlink': 'Symlink',
  918.                         'MediumState_NotCreated': 'NotCreated',
  919.                         'MediumState_Created': 'Created',
  920.                         'MediumState_LockedRead': 'LockedRead',
  921.                         'MediumState_LockedWrite': 'LockedWrite',
  922.                         'MediumState_Inaccessible': 'Inaccessible',
  923.                         'MediumState_Creating': 'Creating',
  924.                         'MediumState_Deleting': 'Deleting',
  925.                         'MediumType_Normal': 'Normal',
  926.                         'MediumType_Immutable': 'Immutable',
  927.                         'MediumType_Writethrough': 'Writethrough',
  928.                         'MediumType_Shareable': 'Shareable',
  929.                         'MediumType_Readonly': 'Readonly',
  930.                         'MediumType_MultiAttach': 'MultiAttach',
  931.                         'MediumVariant_Standard': 'Standard',
  932.                         'MediumVariant_VmdkSplit2G': 'VmdkSplit2G',
  933.                         'MediumVariant_VmdkStreamOptimized': 'VmdkStreamOptimized',
  934.                         'MediumVariant_VmdkESX': 'VmdkESX',
  935.                         'MediumVariant_Fixed': 'Fixed',
  936.                         'MediumVariant_Diff': 'Diff',
  937.                         'DataType_Int32': 'Int32',
  938.                         'DataType_Int8': 'Int8',
  939.                         'DataType_String': 'String',
  940.                         'DataFlags_None': 'None',
  941.                         'DataFlags_Mandatory': 'Mandatory',
  942.                         'DataFlags_Expert': 'Expert',
  943.                         'DataFlags_Array': 'Array',
  944.                         'DataFlags_FlagMask': 'FlagMask',
  945.                         'MediumFormatCapabilities_Uuid': 'Uuid',
  946.                         'MediumFormatCapabilities_CreateFixed': 'CreateFixed',
  947.                         'MediumFormatCapabilities_CreateDynamic': 'CreateDynamic',
  948.                         'MediumFormatCapabilities_CreateSplit2G': 'CreateSplit2G',
  949.                         'MediumFormatCapabilities_Differencing': 'Differencing',
  950.                         'MediumFormatCapabilities_Asynchronous': 'Asynchronous',
  951.                         'MediumFormatCapabilities_File': 'File',
  952.                         'MediumFormatCapabilities_Properties': 'Properties',
  953.                         'MediumFormatCapabilities_TcpNetworking': 'TcpNetworking',
  954.                         'MediumFormatCapabilities_VFS': 'VFS',
  955.                         'MediumFormatCapabilities_CapabilityMask': 'CapabilityMask',
  956.                         'MouseButtonState_LeftButton': 'LeftButton',
  957.                         'MouseButtonState_RightButton': 'RightButton',
  958.                         'MouseButtonState_MiddleButton': 'MiddleButton',
  959.                         'MouseButtonState_WheelUp': 'WheelUp',
  960.                         'MouseButtonState_WheelDown': 'WheelDown',
  961.                         'MouseButtonState_XButton1': 'XButton1',
  962.                         'MouseButtonState_XButton2': 'XButton2',
  963.                         'MouseButtonState_MouseStateMask': 'MouseStateMask',
  964.                         'FramebufferPixelFormat_Opaque': 'Opaque',
  965.                         'FramebufferPixelFormat_FOURCC_RGB': 'FOURCC_RGB',
  966.                         'NetworkAttachmentType_Null': 'Null',
  967.                         'NetworkAttachmentType_NAT': 'NAT',
  968.                         'NetworkAttachmentType_Bridged': 'Bridged',
  969.                         'NetworkAttachmentType_Internal': 'Internal',
  970.                         'NetworkAttachmentType_HostOnly': 'HostOnly',
  971.                         'NetworkAttachmentType_Generic': 'Generic',
  972.                         'NetworkAdapterType_Null': 'Null',
  973.                         'NetworkAdapterType_Am79C970A': 'Am79C970A',
  974.                         'NetworkAdapterType_Am79C973': 'Am79C973',
  975.                         'NetworkAdapterType_I82540EM': 'I82540EM',
  976.                         'NetworkAdapterType_I82543GC': 'I82543GC',
  977.                         'NetworkAdapterType_I82545EM': 'I82545EM',
  978.                         'NetworkAdapterType_Virtio': 'Virtio',
  979.                         'NetworkAdapterPromiscModePolicy_Deny': 'Deny',
  980.                         'NetworkAdapterPromiscModePolicy_AllowNetwork': 'AllowNetwork',
  981.                         'NetworkAdapterPromiscModePolicy_AllowAll': 'AllowAll',
  982.                         'PortMode_Disconnected': 'Disconnected',
  983.                         'PortMode_HostPipe': 'HostPipe',
  984.                         'PortMode_HostDevice': 'HostDevice',
  985.                         'PortMode_RawFile': 'RawFile',
  986.                         'USBDeviceState_NotSupported': 'NotSupported',
  987.                         'USBDeviceState_Unavailable': 'Unavailable',
  988.                         'USBDeviceState_Busy': 'Busy',
  989.                         'USBDeviceState_Available': 'Available',
  990.                         'USBDeviceState_Held': 'Held',
  991.                         'USBDeviceState_Captured': 'Captured',
  992.                         'USBDeviceFilterAction_Null': 'Null',
  993.                         'USBDeviceFilterAction_Ignore': 'Ignore',
  994.                         'USBDeviceFilterAction_Hold': 'Hold',
  995.                         'AudioDriverType_Null': 'Null',
  996.                         'AudioDriverType_WinMM': 'WinMM',
  997.                         'AudioDriverType_OSS': 'OSS',
  998.                         'AudioDriverType_ALSA': 'ALSA',
  999.                         'AudioDriverType_DirectSound': 'DirectSound',
  1000.                         'AudioDriverType_CoreAudio': 'CoreAudio',
  1001.                         'AudioDriverType_MMPM': 'MMPM',
  1002.                         'AudioDriverType_Pulse': 'Pulse',
  1003.                         'AudioDriverType_SolAudio': 'SolAudio',
  1004.                         'AudioControllerType_AC97': 'AC97',
  1005.                         'AudioControllerType_SB16': 'SB16',
  1006.                         'AudioControllerType_HDA': 'HDA',
  1007.                         'AuthType_Null': 'Null',
  1008.                         'AuthType_External': 'External',
  1009.                         'AuthType_Guest': 'Guest',
  1010.                         'StorageBus_Null': 'Null',
  1011.                         'StorageBus_IDE': 'IDE',
  1012.                         'StorageBus_SATA': 'SATA',
  1013.                         'StorageBus_SCSI': 'SCSI',
  1014.                         'StorageBus_Floppy': 'Floppy',
  1015.                         'StorageBus_SAS': 'SAS',
  1016.                         'StorageControllerType_Null': 'Null',
  1017.                         'StorageControllerType_LsiLogic': 'LsiLogic',
  1018.                         'StorageControllerType_BusLogic': 'BusLogic',
  1019.                         'StorageControllerType_IntelAhci': 'IntelAhci',
  1020.                         'StorageControllerType_PIIX3': 'PIIX3',
  1021.                         'StorageControllerType_PIIX4': 'PIIX4',
  1022.                         'StorageControllerType_ICH6': 'ICH6',
  1023.                         'StorageControllerType_I82078': 'I82078',
  1024.                         'StorageControllerType_LsiLogicSas': 'LsiLogicSas',
  1025.                         'ChipsetType_Null': 'Null',
  1026.                         'ChipsetType_PIIX3': 'PIIX3',
  1027.                         'ChipsetType_ICH9': 'ICH9',
  1028.                         'NATAliasMode_AliasLog': 'AliasLog',
  1029.                         'NATAliasMode_AliasProxyOnly': 'AliasProxyOnly',
  1030.                         'NATAliasMode_AliasUseSamePorts': 'AliasUseSamePorts',
  1031.                         'NATProtocol_UDP': 'UDP',
  1032.                         'NATProtocol_TCP': 'TCP',
  1033.                         'BandwidthGroupType_Null': 'Null',
  1034.                         'BandwidthGroupType_Disk': 'Disk',
  1035.                         'BandwidthGroupType_Network': 'Network',
  1036.                         'VBoxEventType_Invalid': 'Invalid',
  1037.                         'VBoxEventType_Any': 'Any',
  1038.                         'VBoxEventType_Vetoable': 'Vetoable',
  1039.                         'VBoxEventType_MachineEvent': 'MachineEvent',
  1040.                         'VBoxEventType_SnapshotEvent': 'SnapshotEvent',
  1041.                         'VBoxEventType_InputEvent': 'InputEvent',
  1042.                         'VBoxEventType_LastWildcard': 'LastWildcard',
  1043.                         'VBoxEventType_OnMachineStateChanged': 'OnMachineStateChanged',
  1044.                         'VBoxEventType_OnMachineDataChanged': 'OnMachineDataChanged',
  1045.                         'VBoxEventType_OnExtraDataChanged': 'OnExtraDataChanged',
  1046.                         'VBoxEventType_OnExtraDataCanChange': 'OnExtraDataCanChange',
  1047.                         'VBoxEventType_OnMediumRegistered': 'OnMediumRegistered',
  1048.                         'VBoxEventType_OnMachineRegistered': 'OnMachineRegistered',
  1049.                         'VBoxEventType_OnSessionStateChanged': 'OnSessionStateChanged',
  1050.                         'VBoxEventType_OnSnapshotTaken': 'OnSnapshotTaken',
  1051.                         'VBoxEventType_OnSnapshotDeleted': 'OnSnapshotDeleted',
  1052.                         'VBoxEventType_OnSnapshotChanged': 'OnSnapshotChanged',
  1053.                         'VBoxEventType_OnGuestPropertyChanged': 'OnGuestPropertyChanged',
  1054.                         'VBoxEventType_OnMousePointerShapeChanged': 'OnMousePointerShapeChanged',
  1055.                         'VBoxEventType_OnMouseCapabilityChanged': 'OnMouseCapabilityChanged',
  1056.                         'VBoxEventType_OnKeyboardLedsChanged': 'OnKeyboardLedsChanged',
  1057.                         'VBoxEventType_OnStateChanged': 'OnStateChanged',
  1058.                         'VBoxEventType_OnAdditionsStateChanged': 'OnAdditionsStateChanged',
  1059.                         'VBoxEventType_OnNetworkAdapterChanged': 'OnNetworkAdapterChanged',
  1060.                         'VBoxEventType_OnSerialPortChanged': 'OnSerialPortChanged',
  1061.                         'VBoxEventType_OnParallelPortChanged': 'OnParallelPortChanged',
  1062.                         'VBoxEventType_OnStorageControllerChanged': 'OnStorageControllerChanged',
  1063.                         'VBoxEventType_OnMediumChanged': 'OnMediumChanged',
  1064.                         'VBoxEventType_OnVRDEServerChanged': 'OnVRDEServerChanged',
  1065.                         'VBoxEventType_OnUSBControllerChanged': 'OnUSBControllerChanged',
  1066.                         'VBoxEventType_OnUSBDeviceStateChanged': 'OnUSBDeviceStateChanged',
  1067.                         'VBoxEventType_OnSharedFolderChanged': 'OnSharedFolderChanged',
  1068.                         'VBoxEventType_OnRuntimeError': 'OnRuntimeError',
  1069.                         'VBoxEventType_OnCanShowWindow': 'OnCanShowWindow',
  1070.                         'VBoxEventType_OnShowWindow': 'OnShowWindow',
  1071.                         'VBoxEventType_OnCPUChanged': 'OnCPUChanged',
  1072.                         'VBoxEventType_OnVRDEServerInfoChanged': 'OnVRDEServerInfoChanged',
  1073.                         'VBoxEventType_OnEventSourceChanged': 'OnEventSourceChanged',
  1074.                         'VBoxEventType_OnCPUExecutionCapChanged': 'OnCPUExecutionCapChanged',
  1075.                         'VBoxEventType_OnGuestKeyboard': 'OnGuestKeyboard',
  1076.                         'VBoxEventType_OnGuestMouse': 'OnGuestMouse',
  1077.                         'VBoxEventType_OnNATRedirect': 'OnNATRedirect',
  1078.                         'VBoxEventType_OnHostPciDevicePlug': 'OnHostPciDevicePlug',
  1079.                         'VBoxEventType_OnVBoxSVCAvailabilityChanged': 'OnVBoxSVCAvailabilityChanged',
  1080.                         'VBoxEventType_OnBandwidthGroupChanged': 'OnBandwidthGroupChanged',
  1081.                         'VBoxEventType_OnGuestMonitorChanged': 'OnGuestMonitorChanged',
  1082.                         'VBoxEventType_OnStorageDeviceChanged': 'OnStorageDeviceChanged',
  1083.                         'VBoxEventType_Last': 'Last',
  1084.                         'GuestMonitorChangedEventType_Enabled': 'Enabled',
  1085.                         'GuestMonitorChangedEventType_Disabled': 'Disabled',
  1086.                         'GuestMonitorChangedEventType_NewOrigin': 'NewOrigin'}
  1087.  
  1088.    def __getattr__(self,attr):
  1089.       if self.isSym:
  1090.         v = self._ValuesFlatSym.get(attr)
  1091.       else:
  1092.         v = self._ValuesFlat.get(attr)
  1093.       if v is not None:
  1094.          return v
  1095.       else:
  1096.          raise AttributeError
  1097.  
  1098.    def all_values(self,enum_name):
  1099.       if self.isSym:
  1100.         vals = self._ValuesSym.get(enum_name)
  1101.       else:
  1102.         vals = self._Values.get(enum_name)
  1103.       if vals is not None:
  1104.          return vals
  1105.       else:
  1106.          return {}
  1107.  
  1108.