virtualbox-com 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,9 +9,18 @@ puts lib.virtualbox.api_version
9
9
  # Name of the first VM
10
10
  puts lib.virtualbox.machines[0].name
11
11
 
12
- # Groups of the VM named 'Windows'
12
+ # Groups of which belongs the VM named 'Windows'
13
13
  puts lib.virtualbox.find_machine('Windows').groups
14
14
 
15
+ # Open a session to change the group of VM named 'Windows'
16
+ ses = VirtualBox::COM.session
17
+ win = lib.virtualbox.find_machine('Windows')
18
+ win.lock_machine(ses, :write)
19
+ vm = ses.machine
20
+ vm.groups = ['/titi']
21
+ vm.save_settings
22
+ ses.unlock_machine
23
+
15
24
  # Register a passive listener
16
25
  begin
17
26
  s = VirtualBox::COM.virtualbox.event_source
@@ -1690,7 +1690,7 @@ static VALUE VirtualBoxErrorInfo__get_interface_i_d(VALUE self) {
1690
1690
  wstring_t v1;
1691
1691
  NS_CHECK(vtbl->get_interface_i_d(obj, &v1));
1692
1692
  res = rb_ary_new();
1693
- rb_ary_push(res, convert_wstring(v1));
1693
+ rb_ary_push(res, convert_uuid(v1));
1694
1694
  res = rb_ary_entry(res, 0);
1695
1695
  return res;
1696
1696
  }
@@ -1879,12 +1879,12 @@ static VALUE VirtualBox__create_machine(VALUE self, VALUE i0, VALUE i1, VALUE i2
1879
1879
  i0 = prepare_wstring(i0);
1880
1880
  i1 = prepare_wstring(i1);
1881
1881
  i2 = prepare_wstring(i2);
1882
- i3 = prepare_wstring(i3);
1882
+ i3 = prepare_uuid(i3);
1883
1883
  i4 = prepare_bool(i4);
1884
1884
  extract_wstring(i0, &v1);
1885
1885
  extract_wstring(i1, &v2);
1886
1886
  extract_wstring(i2, &v3);
1887
- extract_wstring(i3, &v4);
1887
+ extract_uuid(i3, &v4);
1888
1888
  extract_bool(i4, &v5);
1889
1889
  NS_CHECK(vtbl->create_machine(obj, v1, v2, v3, v4, v5, &v6));
1890
1890
  res = rb_ary_new();
@@ -2005,8 +2005,8 @@ static VALUE VirtualBox__get_guest_os_type(VALUE self, VALUE i0) {
2005
2005
  struct VirtualBox *vtbl = obj->vtbl;
2006
2006
  wstring_t v1;
2007
2007
  void * v2;
2008
- i0 = prepare_wstring(i0);
2009
- extract_wstring(i0, &v1);
2008
+ i0 = prepare_uuid(i0);
2009
+ extract_uuid(i0, &v1);
2010
2010
  NS_CHECK(vtbl->get_guest_os_type(obj, v1, &v2));
2011
2011
  res = rb_ary_new();
2012
2012
  rb_ary_push(res, convert_interface(v2, cGuestOSType));
@@ -2838,8 +2838,8 @@ static VALUE InternalMachineControl__capture_usb_device(VALUE self, VALUE i0) {
2838
2838
  struct obj *obj = DATA_PTR(self);
2839
2839
  struct InternalMachineControl *vtbl = obj->vtbl;
2840
2840
  wstring_t v1;
2841
- i0 = prepare_wstring(i0);
2842
- extract_wstring(i0, &v1);
2841
+ i0 = prepare_uuid(i0);
2842
+ extract_uuid(i0, &v1);
2843
2843
  NS_CHECK(vtbl->capture_usb_device(obj, v1));
2844
2844
  res = rb_ary_new();
2845
2845
  return res;
@@ -2850,9 +2850,9 @@ static VALUE InternalMachineControl__detach_usb_device(VALUE self, VALUE i0, VAL
2850
2850
  struct InternalMachineControl *vtbl = obj->vtbl;
2851
2851
  wstring_t v1;
2852
2852
  bool_t v2;
2853
- i0 = prepare_wstring(i0);
2853
+ i0 = prepare_uuid(i0);
2854
2854
  i1 = prepare_bool(i1);
2855
- extract_wstring(i0, &v1);
2855
+ extract_uuid(i0, &v1);
2856
2856
  extract_bool(i1, &v2);
2857
2857
  NS_CHECK(vtbl->detach_usb_device(obj, v1, v2));
2858
2858
  res = rb_ary_new();
@@ -2976,12 +2976,12 @@ static VALUE InternalMachineControl__delete_snapshot(VALUE self, VALUE i0, VALUE
2976
2976
  uint32_t v5;
2977
2977
  void * v6;
2978
2978
  i0 = prepare_interface(i0, cConsole);
2979
- i1 = prepare_wstring(i1);
2980
- i2 = prepare_wstring(i2);
2979
+ i1 = prepare_uuid(i1);
2980
+ i2 = prepare_uuid(i2);
2981
2981
  i3 = prepare_bool(i3);
2982
2982
  extract_interface(i0, &v1, cConsole);
2983
- extract_wstring(i1, &v2);
2984
- extract_wstring(i2, &v3);
2983
+ extract_uuid(i1, &v2);
2984
+ extract_uuid(i2, &v3);
2985
2985
  extract_bool(i3, &v4);
2986
2986
  NS_CHECK(vtbl->delete_snapshot(obj, v1, v2, v3, v4, &v5, &v6));
2987
2987
  res = rb_ary_new();
@@ -4552,7 +4552,7 @@ static VALUE Machine__get_id(VALUE self) {
4552
4552
  wstring_t v1;
4553
4553
  NS_CHECK(vtbl->get_id(obj, &v1));
4554
4554
  res = rb_ary_new();
4555
- rb_ary_push(res, convert_wstring(v1));
4555
+ rb_ary_push(res, convert_uuid(v1));
4556
4556
  res = rb_ary_entry(res, 0);
4557
4557
  return res;
4558
4558
  }
@@ -4607,7 +4607,7 @@ static VALUE Machine__get_hardware_uuid(VALUE self) {
4607
4607
  wstring_t v1;
4608
4608
  NS_CHECK(vtbl->get_hardware_uuid(obj, &v1));
4609
4609
  res = rb_ary_new();
4610
- rb_ary_push(res, convert_wstring(v1));
4610
+ rb_ary_push(res, convert_uuid(v1));
4611
4611
  res = rb_ary_entry(res, 0);
4612
4612
  return res;
4613
4613
  }
@@ -4616,8 +4616,8 @@ static VALUE Machine__set_hardware_uuid(VALUE self, VALUE i0) {
4616
4616
  struct obj *obj = DATA_PTR(self);
4617
4617
  struct Machine *vtbl = obj->vtbl;
4618
4618
  wstring_t v1;
4619
- i0 = prepare_wstring(i0);
4620
- extract_wstring(i0, &v1);
4619
+ i0 = prepare_uuid(i0);
4620
+ extract_uuid(i0, &v1);
4621
4621
  NS_CHECK(vtbl->set_hardware_uuid(obj, v1));
4622
4622
  res = rb_ary_new();
4623
4623
  return res;
@@ -5873,8 +5873,8 @@ static VALUE Console__attach_usb_device(VALUE self, VALUE i0) {
5873
5873
  struct obj *obj = DATA_PTR(self);
5874
5874
  struct Console *vtbl = obj->vtbl;
5875
5875
  wstring_t v1;
5876
- i0 = prepare_wstring(i0);
5877
- extract_wstring(i0, &v1);
5876
+ i0 = prepare_uuid(i0);
5877
+ extract_uuid(i0, &v1);
5878
5878
  NS_CHECK(vtbl->attach_usb_device(obj, v1));
5879
5879
  res = rb_ary_new();
5880
5880
  return res;
@@ -5885,8 +5885,8 @@ static VALUE Console__detach_usb_device(VALUE self, VALUE i0) {
5885
5885
  struct Console *vtbl = obj->vtbl;
5886
5886
  wstring_t v1;
5887
5887
  void * v2;
5888
- i0 = prepare_wstring(i0);
5889
- extract_wstring(i0, &v1);
5888
+ i0 = prepare_uuid(i0);
5889
+ extract_uuid(i0, &v1);
5890
5890
  NS_CHECK(vtbl->detach_usb_device(obj, v1, &v2));
5891
5891
  res = rb_ary_new();
5892
5892
  rb_ary_push(res, convert_interface(v2, cUSBDevice));
@@ -5913,8 +5913,8 @@ static VALUE Console__find_usb_device_by_id(VALUE self, VALUE i0) {
5913
5913
  struct Console *vtbl = obj->vtbl;
5914
5914
  wstring_t v1;
5915
5915
  void * v2;
5916
- i0 = prepare_wstring(i0);
5917
- extract_wstring(i0, &v1);
5916
+ i0 = prepare_uuid(i0);
5917
+ extract_uuid(i0, &v1);
5918
5918
  NS_CHECK(vtbl->find_usb_device_by_id(obj, v1, &v2));
5919
5919
  res = rb_ary_new();
5920
5920
  rb_ary_push(res, convert_interface(v2, cUSBDevice));
@@ -5975,8 +5975,8 @@ static VALUE Console__delete_snapshot(VALUE self, VALUE i0) {
5975
5975
  struct Console *vtbl = obj->vtbl;
5976
5976
  wstring_t v1;
5977
5977
  void * v2;
5978
- i0 = prepare_wstring(i0);
5979
- extract_wstring(i0, &v1);
5978
+ i0 = prepare_uuid(i0);
5979
+ extract_uuid(i0, &v1);
5980
5980
  NS_CHECK(vtbl->delete_snapshot(obj, v1, &v2));
5981
5981
  res = rb_ary_new();
5982
5982
  rb_ary_push(res, convert_interface(v2, cProgress));
@@ -5989,8 +5989,8 @@ static VALUE Console__delete_snapshot_and_all_children(VALUE self, VALUE i0) {
5989
5989
  struct Console *vtbl = obj->vtbl;
5990
5990
  wstring_t v1;
5991
5991
  void * v2;
5992
- i0 = prepare_wstring(i0);
5993
- extract_wstring(i0, &v1);
5992
+ i0 = prepare_uuid(i0);
5993
+ extract_uuid(i0, &v1);
5994
5994
  NS_CHECK(vtbl->delete_snapshot_and_all_children(obj, v1, &v2));
5995
5995
  res = rb_ary_new();
5996
5996
  rb_ary_push(res, convert_interface(v2, cProgress));
@@ -6004,10 +6004,10 @@ static VALUE Console__delete_snapshot_range(VALUE self, VALUE i0, VALUE i1) {
6004
6004
  wstring_t v1;
6005
6005
  wstring_t v2;
6006
6006
  void * v3;
6007
- i0 = prepare_wstring(i0);
6008
- i1 = prepare_wstring(i1);
6009
- extract_wstring(i0, &v1);
6010
- extract_wstring(i1, &v2);
6007
+ i0 = prepare_uuid(i0);
6008
+ i1 = prepare_uuid(i1);
6009
+ extract_uuid(i0, &v1);
6010
+ extract_uuid(i1, &v2);
6011
6011
  NS_CHECK(vtbl->delete_snapshot_range(obj, v1, v2, &v3));
6012
6012
  res = rb_ary_new();
6013
6013
  rb_ary_push(res, convert_interface(v3, cProgress));
@@ -6282,7 +6282,7 @@ static VALUE HostNetworkInterface__get_id(VALUE self) {
6282
6282
  wstring_t v1;
6283
6283
  NS_CHECK(vtbl->get_id(obj, &v1));
6284
6284
  res = rb_ary_new();
6285
- rb_ary_push(res, convert_wstring(v1));
6285
+ rb_ary_push(res, convert_uuid(v1));
6286
6286
  res = rb_ary_entry(res, 0);
6287
6287
  return res;
6288
6288
  }
@@ -6492,8 +6492,8 @@ static VALUE Host__remove_host_only_network_interface(VALUE self, VALUE i0) {
6492
6492
  struct Host *vtbl = obj->vtbl;
6493
6493
  wstring_t v1;
6494
6494
  void * v2;
6495
- i0 = prepare_wstring(i0);
6496
- extract_wstring(i0, &v1);
6495
+ i0 = prepare_uuid(i0);
6496
+ extract_uuid(i0, &v1);
6497
6497
  NS_CHECK(vtbl->remove_host_only_network_interface(obj, v1, &v2));
6498
6498
  res = rb_ary_new();
6499
6499
  rb_ary_push(res, convert_interface(v2, cProgress));
@@ -6587,8 +6587,8 @@ static VALUE Host__find_host_network_interface_by_id(VALUE self, VALUE i0) {
6587
6587
  struct Host *vtbl = obj->vtbl;
6588
6588
  wstring_t v1;
6589
6589
  void * v2;
6590
- i0 = prepare_wstring(i0);
6591
- extract_wstring(i0, &v1);
6590
+ i0 = prepare_uuid(i0);
6591
+ extract_uuid(i0, &v1);
6592
6592
  NS_CHECK(vtbl->find_host_network_interface_by_id(obj, v1, &v2));
6593
6593
  res = rb_ary_new();
6594
6594
  rb_ary_push(res, convert_interface(v2, cHostNetworkInterface));
@@ -6616,8 +6616,8 @@ static VALUE Host__find_usb_device_by_id(VALUE self, VALUE i0) {
6616
6616
  struct Host *vtbl = obj->vtbl;
6617
6617
  wstring_t v1;
6618
6618
  void * v2;
6619
- i0 = prepare_wstring(i0);
6620
- extract_wstring(i0, &v1);
6619
+ i0 = prepare_uuid(i0);
6620
+ extract_uuid(i0, &v1);
6621
6621
  NS_CHECK(vtbl->find_usb_device_by_id(obj, v1, &v2));
6622
6622
  res = rb_ary_new();
6623
6623
  rb_ary_push(res, convert_interface(v2, cHostUSBDevice));
@@ -8163,7 +8163,7 @@ static VALUE Progress__get_id(VALUE self) {
8163
8163
  wstring_t v1;
8164
8164
  NS_CHECK(vtbl->get_id(obj, &v1));
8165
8165
  res = rb_ary_new();
8166
- rb_ary_push(res, convert_wstring(v1));
8166
+ rb_ary_push(res, convert_uuid(v1));
8167
8167
  res = rb_ary_entry(res, 0);
8168
8168
  return res;
8169
8169
  }
@@ -8361,7 +8361,7 @@ static VALUE Snapshot__get_id(VALUE self) {
8361
8361
  wstring_t v1;
8362
8362
  NS_CHECK(vtbl->get_id(obj, &v1));
8363
8363
  res = rb_ary_new();
8364
- rb_ary_push(res, convert_wstring(v1));
8364
+ rb_ary_push(res, convert_uuid(v1));
8365
8365
  res = rb_ary_entry(res, 0);
8366
8366
  return res;
8367
8367
  }
@@ -8584,13 +8584,13 @@ static VALUE Medium__set_i_ds(VALUE self, VALUE i0, VALUE i1, VALUE i2, VALUE i3
8584
8584
  bool_t v3;
8585
8585
  wstring_t v4;
8586
8586
  i0 = prepare_bool(i0);
8587
- i1 = prepare_wstring(i1);
8587
+ i1 = prepare_uuid(i1);
8588
8588
  i2 = prepare_bool(i2);
8589
- i3 = prepare_wstring(i3);
8589
+ i3 = prepare_uuid(i3);
8590
8590
  extract_bool(i0, &v1);
8591
- extract_wstring(i1, &v2);
8591
+ extract_uuid(i1, &v2);
8592
8592
  extract_bool(i2, &v3);
8593
- extract_wstring(i3, &v4);
8593
+ extract_uuid(i3, &v4);
8594
8594
  NS_CHECK(vtbl->set_i_ds(obj, v1, v2, v3, v4));
8595
8595
  res = rb_ary_new();
8596
8596
  return res;
@@ -8613,11 +8613,11 @@ static VALUE Medium__get_snapshot_ids(VALUE self, VALUE i0) {
8613
8613
  wstring_t v1;
8614
8614
  uint32_t v2_size;
8615
8615
  void * v2;
8616
- i0 = prepare_wstring(i0);
8617
- extract_wstring(i0, &v1);
8616
+ i0 = prepare_uuid(i0);
8617
+ extract_uuid(i0, &v1);
8618
8618
  NS_CHECK(vtbl->get_snapshot_ids(obj, v1, &v2_size, &v2));
8619
8619
  res = rb_ary_new();
8620
- rb_ary_push(res, convert_array_wstring(v2_size, v2));
8620
+ rb_ary_push(res, convert_array_uuid(v2_size, v2));
8621
8621
  res = rb_ary_entry(res, 0);
8622
8622
  return res;
8623
8623
  }
@@ -8856,7 +8856,7 @@ static VALUE Medium__get_id(VALUE self) {
8856
8856
  wstring_t v1;
8857
8857
  NS_CHECK(vtbl->get_id(obj, &v1));
8858
8858
  res = rb_ary_new();
8859
- rb_ary_push(res, convert_wstring(v1));
8859
+ rb_ary_push(res, convert_uuid(v1));
8860
8860
  res = rb_ary_entry(res, 0);
8861
8861
  return res;
8862
8862
  }
@@ -9123,7 +9123,7 @@ static VALUE Medium__get_machine_ids(VALUE self) {
9123
9123
  void * v1;
9124
9124
  NS_CHECK(vtbl->get_machine_ids(obj, &v1_size, &v1));
9125
9125
  res = rb_ary_new();
9126
- rb_ary_push(res, convert_array_wstring(v1_size, v1));
9126
+ rb_ary_push(res, convert_array_uuid(v1_size, v1));
9127
9127
  res = rb_ary_entry(res, 0);
9128
9128
  return res;
9129
9129
  }
@@ -11177,7 +11177,7 @@ static VALUE USBDevice__get_id(VALUE self) {
11177
11177
  wstring_t v1;
11178
11178
  NS_CHECK(vtbl->get_id(obj, &v1));
11179
11179
  res = rb_ary_new();
11180
- rb_ary_push(res, convert_wstring(v1));
11180
+ rb_ary_push(res, convert_uuid(v1));
11181
11181
  res = rb_ary_entry(res, 0);
11182
11182
  return res;
11183
11183
  }
@@ -12119,9 +12119,9 @@ static VALUE InternalSessionControl__on_usb_device_detach(VALUE self, VALUE i0,
12119
12119
  struct InternalSessionControl *vtbl = obj->vtbl;
12120
12120
  wstring_t v1;
12121
12121
  void * v2;
12122
- i0 = prepare_wstring(i0);
12122
+ i0 = prepare_uuid(i0);
12123
12123
  i1 = prepare_interface(i1, cVirtualBoxErrorInfo);
12124
- extract_wstring(i0, &v1);
12124
+ extract_uuid(i0, &v1);
12125
12125
  extract_interface(i1, &v2, cVirtualBoxErrorInfo);
12126
12126
  NS_CHECK(vtbl->on_usb_device_detach(obj, v1, v2));
12127
12127
  res = rb_ary_new();
@@ -13659,7 +13659,7 @@ static VALUE MachineEvent__get_machine_id(VALUE self) {
13659
13659
  wstring_t v1;
13660
13660
  NS_CHECK(vtbl->get_machine_id(obj, &v1));
13661
13661
  res = rb_ary_new();
13662
- rb_ary_push(res, convert_wstring(v1));
13662
+ rb_ary_push(res, convert_uuid(v1));
13663
13663
  res = rb_ary_entry(res, 0);
13664
13664
  return res;
13665
13665
  }
@@ -13692,7 +13692,7 @@ static VALUE MediumRegisteredEvent__get_medium_id(VALUE self) {
13692
13692
  wstring_t v1;
13693
13693
  NS_CHECK(vtbl->get_medium_id(obj, &v1));
13694
13694
  res = rb_ary_new();
13695
- rb_ary_push(res, convert_wstring(v1));
13695
+ rb_ary_push(res, convert_uuid(v1));
13696
13696
  res = rb_ary_entry(res, 0);
13697
13697
  return res;
13698
13698
  }
@@ -13780,7 +13780,7 @@ static VALUE SnapshotEvent__get_snapshot_id(VALUE self) {
13780
13780
  wstring_t v1;
13781
13781
  NS_CHECK(vtbl->get_snapshot_id(obj, &v1));
13782
13782
  res = rb_ary_new();
13783
- rb_ary_push(res, convert_wstring(v1));
13783
+ rb_ary_push(res, convert_uuid(v1));
13784
13784
  res = rb_ary_entry(res, 0);
13785
13785
  return res;
13786
13786
  }
@@ -14200,7 +14200,7 @@ static VALUE ExtraDataChangedEvent__get_machine_id(VALUE self) {
14200
14200
  wstring_t v1;
14201
14201
  NS_CHECK(vtbl->get_machine_id(obj, &v1));
14202
14202
  res = rb_ary_new();
14203
- rb_ary_push(res, convert_wstring(v1));
14203
+ rb_ary_push(res, convert_uuid(v1));
14204
14204
  res = rb_ary_entry(res, 0);
14205
14205
  return res;
14206
14206
  }
@@ -14267,7 +14267,7 @@ static VALUE ExtraDataCanChangeEvent__get_machine_id(VALUE self) {
14267
14267
  wstring_t v1;
14268
14268
  NS_CHECK(vtbl->get_machine_id(obj, &v1));
14269
14269
  res = rb_ary_new();
14270
- rb_ary_push(res, convert_wstring(v1));
14270
+ rb_ary_push(res, convert_uuid(v1));
14271
14271
  res = rb_ary_entry(res, 0);
14272
14272
  return res;
14273
14273
  }
@@ -14563,14 +14563,14 @@ static void comclass_init(VALUE under) {
14563
14563
  VALUE c = cNSISupports
14564
14564
  = rb_define_class_under(under, "NSISupports", cAbstractInterface);
14565
14565
  no_instantiation(c);
14566
- rb_const_set(c, _IID, iid__new(&iid));
14566
+ rb_const_set(c, _IID, iid_new(&iid));
14567
14567
  }
14568
14568
  {
14569
14569
  iid_t iid = {0xf3a8d3b4, 0xc424, 0x4edc, {0x8b, 0xf6, 0x89, 0x74, 0xc9, 0x83, 0xba, 0x78}};
14570
14570
  VALUE c = cNSIException
14571
14571
  = rb_define_class_under(under, "NSIException", cNSISupports);
14572
14572
  no_instantiation(c);
14573
- rb_const_set(c, _IID, iid__new(&iid));
14573
+ rb_const_set(c, _IID, iid_new(&iid));
14574
14574
  rb_define_method(c, "message", NSIException__get_message, 0);
14575
14575
  rb_define_method(c, "result", NSIException__get_result, 0);
14576
14576
  rb_define_method(c, "name", NSIException__get_name, 0);
@@ -14587,7 +14587,7 @@ static void comclass_init(VALUE under) {
14587
14587
  VALUE c = cSettingsVersion
14588
14588
  = rb_define_class_under(under, "SettingsVersion", cAbstractEnum);
14589
14589
  no_instantiation(c);
14590
- rb_const_set(c, _IID, iid__new(&iid));
14590
+ rb_const_set(c, _IID, iid_new(&iid));
14591
14591
  VALUE h = rb_hash_new();
14592
14592
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14593
14593
  rb_funcall(h, _bracketseq, 2, SYM("v1_0"), ULL2NUM(1));
@@ -14612,7 +14612,7 @@ static void comclass_init(VALUE under) {
14612
14612
  VALUE c = cAccessMode
14613
14613
  = rb_define_class_under(under, "AccessMode", cAbstractEnum);
14614
14614
  no_instantiation(c);
14615
- rb_const_set(c, _IID, iid__new(&iid));
14615
+ rb_const_set(c, _IID, iid_new(&iid));
14616
14616
  VALUE h = rb_hash_new();
14617
14617
  rb_funcall(h, _bracketseq, 2, SYM("read_only"), ULL2NUM(1));
14618
14618
  rb_funcall(h, _bracketseq, 2, SYM("read_write"), ULL2NUM(2));
@@ -14623,7 +14623,7 @@ static void comclass_init(VALUE under) {
14623
14623
  VALUE c = cMachineState
14624
14624
  = rb_define_class_under(under, "MachineState", cAbstractEnum);
14625
14625
  no_instantiation(c);
14626
- rb_const_set(c, _IID, iid__new(&iid));
14626
+ rb_const_set(c, _IID, iid_new(&iid));
14627
14627
  VALUE h = rb_hash_new();
14628
14628
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14629
14629
  rb_funcall(h, _bracketseq, 2, SYM("powered_off"), ULL2NUM(1));
@@ -14658,7 +14658,7 @@ static void comclass_init(VALUE under) {
14658
14658
  VALUE c = cSessionState
14659
14659
  = rb_define_class_under(under, "SessionState", cAbstractEnum);
14660
14660
  no_instantiation(c);
14661
- rb_const_set(c, _IID, iid__new(&iid));
14661
+ rb_const_set(c, _IID, iid_new(&iid));
14662
14662
  VALUE h = rb_hash_new();
14663
14663
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14664
14664
  rb_funcall(h, _bracketseq, 2, SYM("unlocked"), ULL2NUM(1));
@@ -14672,7 +14672,7 @@ static void comclass_init(VALUE under) {
14672
14672
  VALUE c = cCPUPropertyType
14673
14673
  = rb_define_class_under(under, "CPUPropertyType", cAbstractEnum);
14674
14674
  no_instantiation(c);
14675
- rb_const_set(c, _IID, iid__new(&iid));
14675
+ rb_const_set(c, _IID, iid_new(&iid));
14676
14676
  VALUE h = rb_hash_new();
14677
14677
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14678
14678
  rb_funcall(h, _bracketseq, 2, SYM("pae"), ULL2NUM(1));
@@ -14684,7 +14684,7 @@ static void comclass_init(VALUE under) {
14684
14684
  VALUE c = cHWVirtExPropertyType
14685
14685
  = rb_define_class_under(under, "HWVirtExPropertyType", cAbstractEnum);
14686
14686
  no_instantiation(c);
14687
- rb_const_set(c, _IID, iid__new(&iid));
14687
+ rb_const_set(c, _IID, iid_new(&iid));
14688
14688
  VALUE h = rb_hash_new();
14689
14689
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14690
14690
  rb_funcall(h, _bracketseq, 2, SYM("enabled"), ULL2NUM(1));
@@ -14700,7 +14700,7 @@ static void comclass_init(VALUE under) {
14700
14700
  VALUE c = cFaultToleranceState
14701
14701
  = rb_define_class_under(under, "FaultToleranceState", cAbstractEnum);
14702
14702
  no_instantiation(c);
14703
- rb_const_set(c, _IID, iid__new(&iid));
14703
+ rb_const_set(c, _IID, iid_new(&iid));
14704
14704
  VALUE h = rb_hash_new();
14705
14705
  rb_funcall(h, _bracketseq, 2, SYM("inactive"), ULL2NUM(1));
14706
14706
  rb_funcall(h, _bracketseq, 2, SYM("master"), ULL2NUM(2));
@@ -14712,7 +14712,7 @@ static void comclass_init(VALUE under) {
14712
14712
  VALUE c = cLockType
14713
14713
  = rb_define_class_under(under, "LockType", cAbstractEnum);
14714
14714
  no_instantiation(c);
14715
- rb_const_set(c, _IID, iid__new(&iid));
14715
+ rb_const_set(c, _IID, iid_new(&iid));
14716
14716
  VALUE h = rb_hash_new();
14717
14717
  rb_funcall(h, _bracketseq, 2, SYM("write"), ULL2NUM(2));
14718
14718
  rb_funcall(h, _bracketseq, 2, SYM("shared"), ULL2NUM(1));
@@ -14723,7 +14723,7 @@ static void comclass_init(VALUE under) {
14723
14723
  VALUE c = cSessionType
14724
14724
  = rb_define_class_under(under, "SessionType", cAbstractEnum);
14725
14725
  no_instantiation(c);
14726
- rb_const_set(c, _IID, iid__new(&iid));
14726
+ rb_const_set(c, _IID, iid_new(&iid));
14727
14727
  VALUE h = rb_hash_new();
14728
14728
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14729
14729
  rb_funcall(h, _bracketseq, 2, SYM("write_lock"), ULL2NUM(1));
@@ -14736,7 +14736,7 @@ static void comclass_init(VALUE under) {
14736
14736
  VALUE c = cDeviceType
14737
14737
  = rb_define_class_under(under, "DeviceType", cAbstractEnum);
14738
14738
  no_instantiation(c);
14739
- rb_const_set(c, _IID, iid__new(&iid));
14739
+ rb_const_set(c, _IID, iid_new(&iid));
14740
14740
  VALUE h = rb_hash_new();
14741
14741
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14742
14742
  rb_funcall(h, _bracketseq, 2, SYM("floppy"), ULL2NUM(1));
@@ -14752,7 +14752,7 @@ static void comclass_init(VALUE under) {
14752
14752
  VALUE c = cDeviceActivity
14753
14753
  = rb_define_class_under(under, "DeviceActivity", cAbstractEnum);
14754
14754
  no_instantiation(c);
14755
- rb_const_set(c, _IID, iid__new(&iid));
14755
+ rb_const_set(c, _IID, iid_new(&iid));
14756
14756
  VALUE h = rb_hash_new();
14757
14757
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
14758
14758
  rb_funcall(h, _bracketseq, 2, SYM("idle"), ULL2NUM(1));
@@ -14765,7 +14765,7 @@ static void comclass_init(VALUE under) {
14765
14765
  VALUE c = cClipboardMode
14766
14766
  = rb_define_class_under(under, "ClipboardMode", cAbstractEnum);
14767
14767
  no_instantiation(c);
14768
- rb_const_set(c, _IID, iid__new(&iid));
14768
+ rb_const_set(c, _IID, iid_new(&iid));
14769
14769
  VALUE h = rb_hash_new();
14770
14770
  rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(0));
14771
14771
  rb_funcall(h, _bracketseq, 2, SYM("host_to_guest"), ULL2NUM(1));
@@ -14778,7 +14778,7 @@ static void comclass_init(VALUE under) {
14778
14778
  VALUE c = cScope
14779
14779
  = rb_define_class_under(under, "Scope", cAbstractEnum);
14780
14780
  no_instantiation(c);
14781
- rb_const_set(c, _IID, iid__new(&iid));
14781
+ rb_const_set(c, _IID, iid_new(&iid));
14782
14782
  VALUE h = rb_hash_new();
14783
14783
  rb_funcall(h, _bracketseq, 2, SYM("global"), ULL2NUM(0));
14784
14784
  rb_funcall(h, _bracketseq, 2, SYM("machine"), ULL2NUM(1));
@@ -14790,7 +14790,7 @@ static void comclass_init(VALUE under) {
14790
14790
  VALUE c = cBIOSBootMenuMode
14791
14791
  = rb_define_class_under(under, "BIOSBootMenuMode", cAbstractEnum);
14792
14792
  no_instantiation(c);
14793
- rb_const_set(c, _IID, iid__new(&iid));
14793
+ rb_const_set(c, _IID, iid_new(&iid));
14794
14794
  VALUE h = rb_hash_new();
14795
14795
  rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(0));
14796
14796
  rb_funcall(h, _bracketseq, 2, SYM("menu_only"), ULL2NUM(1));
@@ -14802,7 +14802,7 @@ static void comclass_init(VALUE under) {
14802
14802
  VALUE c = cProcessorFeature
14803
14803
  = rb_define_class_under(under, "ProcessorFeature", cAbstractEnum);
14804
14804
  no_instantiation(c);
14805
- rb_const_set(c, _IID, iid__new(&iid));
14805
+ rb_const_set(c, _IID, iid_new(&iid));
14806
14806
  VALUE h = rb_hash_new();
14807
14807
  rb_funcall(h, _bracketseq, 2, SYM("hw_virt_ex"), ULL2NUM(0));
14808
14808
  rb_funcall(h, _bracketseq, 2, SYM("pae"), ULL2NUM(1));
@@ -14815,7 +14815,7 @@ static void comclass_init(VALUE under) {
14815
14815
  VALUE c = cFirmwareType
14816
14816
  = rb_define_class_under(under, "FirmwareType", cAbstractEnum);
14817
14817
  no_instantiation(c);
14818
- rb_const_set(c, _IID, iid__new(&iid));
14818
+ rb_const_set(c, _IID, iid_new(&iid));
14819
14819
  VALUE h = rb_hash_new();
14820
14820
  rb_funcall(h, _bracketseq, 2, SYM("bios"), ULL2NUM(1));
14821
14821
  rb_funcall(h, _bracketseq, 2, SYM("efi"), ULL2NUM(2));
@@ -14829,7 +14829,7 @@ static void comclass_init(VALUE under) {
14829
14829
  VALUE c = cPointingHidType
14830
14830
  = rb_define_class_under(under, "PointingHidType", cAbstractEnum);
14831
14831
  no_instantiation(c);
14832
- rb_const_set(c, _IID, iid__new(&iid));
14832
+ rb_const_set(c, _IID, iid_new(&iid));
14833
14833
  VALUE h = rb_hash_new();
14834
14834
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(1));
14835
14835
  rb_funcall(h, _bracketseq, 2, SYM("ps2_mouse"), ULL2NUM(2));
@@ -14843,7 +14843,7 @@ static void comclass_init(VALUE under) {
14843
14843
  VALUE c = cKeyboardHidType
14844
14844
  = rb_define_class_under(under, "KeyboardHidType", cAbstractEnum);
14845
14845
  no_instantiation(c);
14846
- rb_const_set(c, _IID, iid__new(&iid));
14846
+ rb_const_set(c, _IID, iid_new(&iid));
14847
14847
  VALUE h = rb_hash_new();
14848
14848
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(1));
14849
14849
  rb_funcall(h, _bracketseq, 2, SYM("ps2_keyboard"), ULL2NUM(2));
@@ -14856,7 +14856,7 @@ static void comclass_init(VALUE under) {
14856
14856
  VALUE c = cVFSType
14857
14857
  = rb_define_class_under(under, "VFSType", cAbstractEnum);
14858
14858
  no_instantiation(c);
14859
- rb_const_set(c, _IID, iid__new(&iid));
14859
+ rb_const_set(c, _IID, iid_new(&iid));
14860
14860
  VALUE h = rb_hash_new();
14861
14861
  rb_funcall(h, _bracketseq, 2, SYM("file"), ULL2NUM(1));
14862
14862
  rb_funcall(h, _bracketseq, 2, SYM("cloud"), ULL2NUM(2));
@@ -14869,7 +14869,7 @@ static void comclass_init(VALUE under) {
14869
14869
  VALUE c = cVFSFileType
14870
14870
  = rb_define_class_under(under, "VFSFileType", cAbstractEnum);
14871
14871
  no_instantiation(c);
14872
- rb_const_set(c, _IID, iid__new(&iid));
14872
+ rb_const_set(c, _IID, iid_new(&iid));
14873
14873
  VALUE h = rb_hash_new();
14874
14874
  rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(1));
14875
14875
  rb_funcall(h, _bracketseq, 2, SYM("fifo"), ULL2NUM(2));
@@ -14887,7 +14887,7 @@ static void comclass_init(VALUE under) {
14887
14887
  VALUE c = cImportOptions
14888
14888
  = rb_define_class_under(under, "ImportOptions", cAbstractEnum);
14889
14889
  no_instantiation(c);
14890
- rb_const_set(c, _IID, iid__new(&iid));
14890
+ rb_const_set(c, _IID, iid_new(&iid));
14891
14891
  VALUE h = rb_hash_new();
14892
14892
  rb_funcall(h, _bracketseq, 2, SYM("keep_all_macs"), ULL2NUM(1));
14893
14893
  rb_funcall(h, _bracketseq, 2, SYM("keep_nat_macs"), ULL2NUM(2));
@@ -14898,7 +14898,7 @@ static void comclass_init(VALUE under) {
14898
14898
  VALUE c = cVirtualSystemDescriptionType
14899
14899
  = rb_define_class_under(under, "VirtualSystemDescriptionType", cAbstractEnum);
14900
14900
  no_instantiation(c);
14901
- rb_const_set(c, _IID, iid__new(&iid));
14901
+ rb_const_set(c, _IID, iid_new(&iid));
14902
14902
  VALUE h = rb_hash_new();
14903
14903
  rb_funcall(h, _bracketseq, 2, SYM("ignore"), ULL2NUM(1));
14904
14904
  rb_funcall(h, _bracketseq, 2, SYM("os"), ULL2NUM(2));
@@ -14931,7 +14931,7 @@ static void comclass_init(VALUE under) {
14931
14931
  VALUE c = cVirtualSystemDescriptionValueType
14932
14932
  = rb_define_class_under(under, "VirtualSystemDescriptionValueType", cAbstractEnum);
14933
14933
  no_instantiation(c);
14934
- rb_const_set(c, _IID, iid__new(&iid));
14934
+ rb_const_set(c, _IID, iid_new(&iid));
14935
14935
  VALUE h = rb_hash_new();
14936
14936
  rb_funcall(h, _bracketseq, 2, SYM("reference"), ULL2NUM(1));
14937
14937
  rb_funcall(h, _bracketseq, 2, SYM("original"), ULL2NUM(2));
@@ -14944,7 +14944,7 @@ static void comclass_init(VALUE under) {
14944
14944
  VALUE c = cCleanupMode
14945
14945
  = rb_define_class_under(under, "CleanupMode", cAbstractEnum);
14946
14946
  no_instantiation(c);
14947
- rb_const_set(c, _IID, iid__new(&iid));
14947
+ rb_const_set(c, _IID, iid_new(&iid));
14948
14948
  VALUE h = rb_hash_new();
14949
14949
  rb_funcall(h, _bracketseq, 2, SYM("unregister_only"), ULL2NUM(1));
14950
14950
  rb_funcall(h, _bracketseq, 2, SYM("detach_all_return_none"), ULL2NUM(2));
@@ -14957,7 +14957,7 @@ static void comclass_init(VALUE under) {
14957
14957
  VALUE c = cCloneMode
14958
14958
  = rb_define_class_under(under, "CloneMode", cAbstractEnum);
14959
14959
  no_instantiation(c);
14960
- rb_const_set(c, _IID, iid__new(&iid));
14960
+ rb_const_set(c, _IID, iid_new(&iid));
14961
14961
  VALUE h = rb_hash_new();
14962
14962
  rb_funcall(h, _bracketseq, 2, SYM("machine_state"), ULL2NUM(1));
14963
14963
  rb_funcall(h, _bracketseq, 2, SYM("machine_and_child_states"), ULL2NUM(2));
@@ -14969,7 +14969,7 @@ static void comclass_init(VALUE under) {
14969
14969
  VALUE c = cCloneOptions
14970
14970
  = rb_define_class_under(under, "CloneOptions", cAbstractEnum);
14971
14971
  no_instantiation(c);
14972
- rb_const_set(c, _IID, iid__new(&iid));
14972
+ rb_const_set(c, _IID, iid_new(&iid));
14973
14973
  VALUE h = rb_hash_new();
14974
14974
  rb_funcall(h, _bracketseq, 2, SYM("link"), ULL2NUM(1));
14975
14975
  rb_funcall(h, _bracketseq, 2, SYM("keep_all_macs"), ULL2NUM(2));
@@ -14982,7 +14982,7 @@ static void comclass_init(VALUE under) {
14982
14982
  VALUE c = cHostNetworkInterfaceMediumType
14983
14983
  = rb_define_class_under(under, "HostNetworkInterfaceMediumType", cAbstractEnum);
14984
14984
  no_instantiation(c);
14985
- rb_const_set(c, _IID, iid__new(&iid));
14985
+ rb_const_set(c, _IID, iid_new(&iid));
14986
14986
  VALUE h = rb_hash_new();
14987
14987
  rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(0));
14988
14988
  rb_funcall(h, _bracketseq, 2, SYM("ethernet"), ULL2NUM(1));
@@ -14995,7 +14995,7 @@ static void comclass_init(VALUE under) {
14995
14995
  VALUE c = cHostNetworkInterfaceStatus
14996
14996
  = rb_define_class_under(under, "HostNetworkInterfaceStatus", cAbstractEnum);
14997
14997
  no_instantiation(c);
14998
- rb_const_set(c, _IID, iid__new(&iid));
14998
+ rb_const_set(c, _IID, iid_new(&iid));
14999
14999
  VALUE h = rb_hash_new();
15000
15000
  rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(0));
15001
15001
  rb_funcall(h, _bracketseq, 2, SYM("up"), ULL2NUM(1));
@@ -15007,7 +15007,7 @@ static void comclass_init(VALUE under) {
15007
15007
  VALUE c = cHostNetworkInterfaceType
15008
15008
  = rb_define_class_under(under, "HostNetworkInterfaceType", cAbstractEnum);
15009
15009
  no_instantiation(c);
15010
- rb_const_set(c, _IID, iid__new(&iid));
15010
+ rb_const_set(c, _IID, iid_new(&iid));
15011
15011
  VALUE h = rb_hash_new();
15012
15012
  rb_funcall(h, _bracketseq, 2, SYM("bridged"), ULL2NUM(1));
15013
15013
  rb_funcall(h, _bracketseq, 2, SYM("host_only"), ULL2NUM(2));
@@ -15018,7 +15018,7 @@ static void comclass_init(VALUE under) {
15018
15018
  VALUE c = cAdditionsFacilityType
15019
15019
  = rb_define_class_under(under, "AdditionsFacilityType", cAbstractEnum);
15020
15020
  no_instantiation(c);
15021
- rb_const_set(c, _IID, iid__new(&iid));
15021
+ rb_const_set(c, _IID, iid_new(&iid));
15022
15022
  VALUE h = rb_hash_new();
15023
15023
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15024
15024
  rb_funcall(h, _bracketseq, 2, SYM("vbox_guest_driver"), ULL2NUM(20));
@@ -15035,7 +15035,7 @@ static void comclass_init(VALUE under) {
15035
15035
  VALUE c = cAdditionsFacilityClass
15036
15036
  = rb_define_class_under(under, "AdditionsFacilityClass", cAbstractEnum);
15037
15037
  no_instantiation(c);
15038
- rb_const_set(c, _IID, iid__new(&iid));
15038
+ rb_const_set(c, _IID, iid_new(&iid));
15039
15039
  VALUE h = rb_hash_new();
15040
15040
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15041
15041
  rb_funcall(h, _bracketseq, 2, SYM("driver"), ULL2NUM(10));
@@ -15051,7 +15051,7 @@ static void comclass_init(VALUE under) {
15051
15051
  VALUE c = cAdditionsFacilityStatus
15052
15052
  = rb_define_class_under(under, "AdditionsFacilityStatus", cAbstractEnum);
15053
15053
  no_instantiation(c);
15054
- rb_const_set(c, _IID, iid__new(&iid));
15054
+ rb_const_set(c, _IID, iid_new(&iid));
15055
15055
  VALUE h = rb_hash_new();
15056
15056
  rb_funcall(h, _bracketseq, 2, SYM("inactive"), ULL2NUM(0));
15057
15057
  rb_funcall(h, _bracketseq, 2, SYM("paused"), ULL2NUM(1));
@@ -15069,7 +15069,7 @@ static void comclass_init(VALUE under) {
15069
15069
  VALUE c = cAdditionsRunLevelType
15070
15070
  = rb_define_class_under(under, "AdditionsRunLevelType", cAbstractEnum);
15071
15071
  no_instantiation(c);
15072
- rb_const_set(c, _IID, iid__new(&iid));
15072
+ rb_const_set(c, _IID, iid_new(&iid));
15073
15073
  VALUE h = rb_hash_new();
15074
15074
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15075
15075
  rb_funcall(h, _bracketseq, 2, SYM("system"), ULL2NUM(1));
@@ -15082,7 +15082,7 @@ static void comclass_init(VALUE under) {
15082
15082
  VALUE c = cAdditionsUpdateFlag
15083
15083
  = rb_define_class_under(under, "AdditionsUpdateFlag", cAbstractEnum);
15084
15084
  no_instantiation(c);
15085
- rb_const_set(c, _IID, iid__new(&iid));
15085
+ rb_const_set(c, _IID, iid_new(&iid));
15086
15086
  VALUE h = rb_hash_new();
15087
15087
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15088
15088
  rb_funcall(h, _bracketseq, 2, SYM("wait_for_update_start_only"), ULL2NUM(1));
@@ -15093,7 +15093,7 @@ static void comclass_init(VALUE under) {
15093
15093
  VALUE c = cExecuteProcessFlag
15094
15094
  = rb_define_class_under(under, "ExecuteProcessFlag", cAbstractEnum);
15095
15095
  no_instantiation(c);
15096
- rb_const_set(c, _IID, iid__new(&iid));
15096
+ rb_const_set(c, _IID, iid_new(&iid));
15097
15097
  VALUE h = rb_hash_new();
15098
15098
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15099
15099
  rb_funcall(h, _bracketseq, 2, SYM("wait_for_process_start_only"), ULL2NUM(1));
@@ -15109,7 +15109,7 @@ static void comclass_init(VALUE under) {
15109
15109
  VALUE c = cExecuteProcessStatus
15110
15110
  = rb_define_class_under(under, "ExecuteProcessStatus", cAbstractEnum);
15111
15111
  no_instantiation(c);
15112
- rb_const_set(c, _IID, iid__new(&iid));
15112
+ rb_const_set(c, _IID, iid_new(&iid));
15113
15113
  VALUE h = rb_hash_new();
15114
15114
  rb_funcall(h, _bracketseq, 2, SYM("undefined"), ULL2NUM(0));
15115
15115
  rb_funcall(h, _bracketseq, 2, SYM("started"), ULL2NUM(1));
@@ -15127,7 +15127,7 @@ static void comclass_init(VALUE under) {
15127
15127
  VALUE c = cProcessInputFlag
15128
15128
  = rb_define_class_under(under, "ProcessInputFlag", cAbstractEnum);
15129
15129
  no_instantiation(c);
15130
- rb_const_set(c, _IID, iid__new(&iid));
15130
+ rb_const_set(c, _IID, iid_new(&iid));
15131
15131
  VALUE h = rb_hash_new();
15132
15132
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15133
15133
  rb_funcall(h, _bracketseq, 2, SYM("end_of_file"), ULL2NUM(1));
@@ -15138,7 +15138,7 @@ static void comclass_init(VALUE under) {
15138
15138
  VALUE c = cProcessOutputFlag
15139
15139
  = rb_define_class_under(under, "ProcessOutputFlag", cAbstractEnum);
15140
15140
  no_instantiation(c);
15141
- rb_const_set(c, _IID, iid__new(&iid));
15141
+ rb_const_set(c, _IID, iid_new(&iid));
15142
15142
  VALUE h = rb_hash_new();
15143
15143
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15144
15144
  rb_funcall(h, _bracketseq, 2, SYM("std_err"), ULL2NUM(1));
@@ -15149,7 +15149,7 @@ static void comclass_init(VALUE under) {
15149
15149
  VALUE c = cCopyFileFlag
15150
15150
  = rb_define_class_under(under, "CopyFileFlag", cAbstractEnum);
15151
15151
  no_instantiation(c);
15152
- rb_const_set(c, _IID, iid__new(&iid));
15152
+ rb_const_set(c, _IID, iid_new(&iid));
15153
15153
  VALUE h = rb_hash_new();
15154
15154
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15155
15155
  rb_funcall(h, _bracketseq, 2, SYM("recursive"), ULL2NUM(1));
@@ -15162,7 +15162,7 @@ static void comclass_init(VALUE under) {
15162
15162
  VALUE c = cDirectoryCreateFlag
15163
15163
  = rb_define_class_under(under, "DirectoryCreateFlag", cAbstractEnum);
15164
15164
  no_instantiation(c);
15165
- rb_const_set(c, _IID, iid__new(&iid));
15165
+ rb_const_set(c, _IID, iid_new(&iid));
15166
15166
  VALUE h = rb_hash_new();
15167
15167
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15168
15168
  rb_funcall(h, _bracketseq, 2, SYM("parents"), ULL2NUM(1));
@@ -15173,7 +15173,7 @@ static void comclass_init(VALUE under) {
15173
15173
  VALUE c = cDirectoryOpenFlag
15174
15174
  = rb_define_class_under(under, "DirectoryOpenFlag", cAbstractEnum);
15175
15175
  no_instantiation(c);
15176
- rb_const_set(c, _IID, iid__new(&iid));
15176
+ rb_const_set(c, _IID, iid_new(&iid));
15177
15177
  VALUE h = rb_hash_new();
15178
15178
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15179
15179
  rb_funcall(c, _map, 1, h);
@@ -15183,7 +15183,7 @@ static void comclass_init(VALUE under) {
15183
15183
  VALUE c = cGuestDirEntryType
15184
15184
  = rb_define_class_under(under, "GuestDirEntryType", cAbstractEnum);
15185
15185
  no_instantiation(c);
15186
- rb_const_set(c, _IID, iid__new(&iid));
15186
+ rb_const_set(c, _IID, iid_new(&iid));
15187
15187
  VALUE h = rb_hash_new();
15188
15188
  rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(0));
15189
15189
  rb_funcall(h, _bracketseq, 2, SYM("directory"), ULL2NUM(4));
@@ -15196,7 +15196,7 @@ static void comclass_init(VALUE under) {
15196
15196
  VALUE c = cMediumState
15197
15197
  = rb_define_class_under(under, "MediumState", cAbstractEnum);
15198
15198
  no_instantiation(c);
15199
- rb_const_set(c, _IID, iid__new(&iid));
15199
+ rb_const_set(c, _IID, iid_new(&iid));
15200
15200
  VALUE h = rb_hash_new();
15201
15201
  rb_funcall(h, _bracketseq, 2, SYM("not_created"), ULL2NUM(0));
15202
15202
  rb_funcall(h, _bracketseq, 2, SYM("created"), ULL2NUM(1));
@@ -15212,7 +15212,7 @@ static void comclass_init(VALUE under) {
15212
15212
  VALUE c = cMediumType
15213
15213
  = rb_define_class_under(under, "MediumType", cAbstractEnum);
15214
15214
  no_instantiation(c);
15215
- rb_const_set(c, _IID, iid__new(&iid));
15215
+ rb_const_set(c, _IID, iid_new(&iid));
15216
15216
  VALUE h = rb_hash_new();
15217
15217
  rb_funcall(h, _bracketseq, 2, SYM("normal"), ULL2NUM(0));
15218
15218
  rb_funcall(h, _bracketseq, 2, SYM("immutable"), ULL2NUM(1));
@@ -15227,7 +15227,7 @@ static void comclass_init(VALUE under) {
15227
15227
  VALUE c = cMediumVariant
15228
15228
  = rb_define_class_under(under, "MediumVariant", cAbstractEnum);
15229
15229
  no_instantiation(c);
15230
- rb_const_set(c, _IID, iid__new(&iid));
15230
+ rb_const_set(c, _IID, iid_new(&iid));
15231
15231
  VALUE h = rb_hash_new();
15232
15232
  rb_funcall(h, _bracketseq, 2, SYM("standard"), ULL2NUM(0));
15233
15233
  rb_funcall(h, _bracketseq, 2, SYM("vmdk_split2g"), ULL2NUM(1));
@@ -15243,7 +15243,7 @@ static void comclass_init(VALUE under) {
15243
15243
  VALUE c = cDataType
15244
15244
  = rb_define_class_under(under, "DataType", cAbstractEnum);
15245
15245
  no_instantiation(c);
15246
- rb_const_set(c, _IID, iid__new(&iid));
15246
+ rb_const_set(c, _IID, iid_new(&iid));
15247
15247
  VALUE h = rb_hash_new();
15248
15248
  rb_funcall(h, _bracketseq, 2, SYM("int32"), ULL2NUM(0));
15249
15249
  rb_funcall(h, _bracketseq, 2, SYM("int8"), ULL2NUM(1));
@@ -15255,7 +15255,7 @@ static void comclass_init(VALUE under) {
15255
15255
  VALUE c = cDataFlags
15256
15256
  = rb_define_class_under(under, "DataFlags", cAbstractEnum);
15257
15257
  no_instantiation(c);
15258
- rb_const_set(c, _IID, iid__new(&iid));
15258
+ rb_const_set(c, _IID, iid_new(&iid));
15259
15259
  VALUE h = rb_hash_new();
15260
15260
  rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
15261
15261
  rb_funcall(h, _bracketseq, 2, SYM("mandatory"), ULL2NUM(1));
@@ -15269,7 +15269,7 @@ static void comclass_init(VALUE under) {
15269
15269
  VALUE c = cMediumFormatCapabilities
15270
15270
  = rb_define_class_under(under, "MediumFormatCapabilities", cAbstractEnum);
15271
15271
  no_instantiation(c);
15272
- rb_const_set(c, _IID, iid__new(&iid));
15272
+ rb_const_set(c, _IID, iid_new(&iid));
15273
15273
  VALUE h = rb_hash_new();
15274
15274
  rb_funcall(h, _bracketseq, 2, SYM("uuid"), ULL2NUM(1));
15275
15275
  rb_funcall(h, _bracketseq, 2, SYM("create_fixed"), ULL2NUM(2));
@@ -15289,7 +15289,7 @@ static void comclass_init(VALUE under) {
15289
15289
  VALUE c = cMouseButtonState
15290
15290
  = rb_define_class_under(under, "MouseButtonState", cAbstractEnum);
15291
15291
  no_instantiation(c);
15292
- rb_const_set(c, _IID, iid__new(&iid));
15292
+ rb_const_set(c, _IID, iid_new(&iid));
15293
15293
  VALUE h = rb_hash_new();
15294
15294
  rb_funcall(h, _bracketseq, 2, SYM("left_button"), ULL2NUM(1));
15295
15295
  rb_funcall(h, _bracketseq, 2, SYM("right_button"), ULL2NUM(2));
@@ -15306,7 +15306,7 @@ static void comclass_init(VALUE under) {
15306
15306
  VALUE c = cFramebufferPixelFormat
15307
15307
  = rb_define_class_under(under, "FramebufferPixelFormat", cAbstractEnum);
15308
15308
  no_instantiation(c);
15309
- rb_const_set(c, _IID, iid__new(&iid));
15309
+ rb_const_set(c, _IID, iid_new(&iid));
15310
15310
  VALUE h = rb_hash_new();
15311
15311
  rb_funcall(h, _bracketseq, 2, SYM("opaque"), ULL2NUM(0));
15312
15312
  rb_funcall(h, _bracketseq, 2, SYM("fourcc_rgb"), ULL2NUM(843204434));
@@ -15317,7 +15317,7 @@ static void comclass_init(VALUE under) {
15317
15317
  VALUE c = cNetworkAttachmentType
15318
15318
  = rb_define_class_under(under, "NetworkAttachmentType", cAbstractEnum);
15319
15319
  no_instantiation(c);
15320
- rb_const_set(c, _IID, iid__new(&iid));
15320
+ rb_const_set(c, _IID, iid_new(&iid));
15321
15321
  VALUE h = rb_hash_new();
15322
15322
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15323
15323
  rb_funcall(h, _bracketseq, 2, SYM("nat"), ULL2NUM(1));
@@ -15332,7 +15332,7 @@ static void comclass_init(VALUE under) {
15332
15332
  VALUE c = cNetworkAdapterType
15333
15333
  = rb_define_class_under(under, "NetworkAdapterType", cAbstractEnum);
15334
15334
  no_instantiation(c);
15335
- rb_const_set(c, _IID, iid__new(&iid));
15335
+ rb_const_set(c, _IID, iid_new(&iid));
15336
15336
  VALUE h = rb_hash_new();
15337
15337
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15338
15338
  rb_funcall(h, _bracketseq, 2, SYM("am79c970a"), ULL2NUM(1));
@@ -15348,7 +15348,7 @@ static void comclass_init(VALUE under) {
15348
15348
  VALUE c = cNetworkAdapterPromiscModePolicy
15349
15349
  = rb_define_class_under(under, "NetworkAdapterPromiscModePolicy", cAbstractEnum);
15350
15350
  no_instantiation(c);
15351
- rb_const_set(c, _IID, iid__new(&iid));
15351
+ rb_const_set(c, _IID, iid_new(&iid));
15352
15352
  VALUE h = rb_hash_new();
15353
15353
  rb_funcall(h, _bracketseq, 2, SYM("deny"), ULL2NUM(1));
15354
15354
  rb_funcall(h, _bracketseq, 2, SYM("allow_network"), ULL2NUM(2));
@@ -15360,7 +15360,7 @@ static void comclass_init(VALUE under) {
15360
15360
  VALUE c = cPortMode
15361
15361
  = rb_define_class_under(under, "PortMode", cAbstractEnum);
15362
15362
  no_instantiation(c);
15363
- rb_const_set(c, _IID, iid__new(&iid));
15363
+ rb_const_set(c, _IID, iid_new(&iid));
15364
15364
  VALUE h = rb_hash_new();
15365
15365
  rb_funcall(h, _bracketseq, 2, SYM("disconnected"), ULL2NUM(0));
15366
15366
  rb_funcall(h, _bracketseq, 2, SYM("host_pipe"), ULL2NUM(1));
@@ -15373,7 +15373,7 @@ static void comclass_init(VALUE under) {
15373
15373
  VALUE c = cUSBDeviceState
15374
15374
  = rb_define_class_under(under, "USBDeviceState", cAbstractEnum);
15375
15375
  no_instantiation(c);
15376
- rb_const_set(c, _IID, iid__new(&iid));
15376
+ rb_const_set(c, _IID, iid_new(&iid));
15377
15377
  VALUE h = rb_hash_new();
15378
15378
  rb_funcall(h, _bracketseq, 2, SYM("not_supported"), ULL2NUM(0));
15379
15379
  rb_funcall(h, _bracketseq, 2, SYM("unavailable"), ULL2NUM(1));
@@ -15388,7 +15388,7 @@ static void comclass_init(VALUE under) {
15388
15388
  VALUE c = cUSBDeviceFilterAction
15389
15389
  = rb_define_class_under(under, "USBDeviceFilterAction", cAbstractEnum);
15390
15390
  no_instantiation(c);
15391
- rb_const_set(c, _IID, iid__new(&iid));
15391
+ rb_const_set(c, _IID, iid_new(&iid));
15392
15392
  VALUE h = rb_hash_new();
15393
15393
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15394
15394
  rb_funcall(h, _bracketseq, 2, SYM("ignore"), ULL2NUM(1));
@@ -15400,7 +15400,7 @@ static void comclass_init(VALUE under) {
15400
15400
  VALUE c = cAudioDriverType
15401
15401
  = rb_define_class_under(under, "AudioDriverType", cAbstractEnum);
15402
15402
  no_instantiation(c);
15403
- rb_const_set(c, _IID, iid__new(&iid));
15403
+ rb_const_set(c, _IID, iid_new(&iid));
15404
15404
  VALUE h = rb_hash_new();
15405
15405
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15406
15406
  rb_funcall(h, _bracketseq, 2, SYM("winmm"), ULL2NUM(1));
@@ -15418,7 +15418,7 @@ static void comclass_init(VALUE under) {
15418
15418
  VALUE c = cAudioControllerType
15419
15419
  = rb_define_class_under(under, "AudioControllerType", cAbstractEnum);
15420
15420
  no_instantiation(c);
15421
- rb_const_set(c, _IID, iid__new(&iid));
15421
+ rb_const_set(c, _IID, iid_new(&iid));
15422
15422
  VALUE h = rb_hash_new();
15423
15423
  rb_funcall(h, _bracketseq, 2, SYM("ac97"), ULL2NUM(0));
15424
15424
  rb_funcall(h, _bracketseq, 2, SYM("sb16"), ULL2NUM(1));
@@ -15430,7 +15430,7 @@ static void comclass_init(VALUE under) {
15430
15430
  VALUE c = cAuthType
15431
15431
  = rb_define_class_under(under, "AuthType", cAbstractEnum);
15432
15432
  no_instantiation(c);
15433
- rb_const_set(c, _IID, iid__new(&iid));
15433
+ rb_const_set(c, _IID, iid_new(&iid));
15434
15434
  VALUE h = rb_hash_new();
15435
15435
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15436
15436
  rb_funcall(h, _bracketseq, 2, SYM("external"), ULL2NUM(1));
@@ -15442,7 +15442,7 @@ static void comclass_init(VALUE under) {
15442
15442
  VALUE c = cStorageBus
15443
15443
  = rb_define_class_under(under, "StorageBus", cAbstractEnum);
15444
15444
  no_instantiation(c);
15445
- rb_const_set(c, _IID, iid__new(&iid));
15445
+ rb_const_set(c, _IID, iid_new(&iid));
15446
15446
  VALUE h = rb_hash_new();
15447
15447
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15448
15448
  rb_funcall(h, _bracketseq, 2, SYM("ide"), ULL2NUM(1));
@@ -15457,7 +15457,7 @@ static void comclass_init(VALUE under) {
15457
15457
  VALUE c = cStorageControllerType
15458
15458
  = rb_define_class_under(under, "StorageControllerType", cAbstractEnum);
15459
15459
  no_instantiation(c);
15460
- rb_const_set(c, _IID, iid__new(&iid));
15460
+ rb_const_set(c, _IID, iid_new(&iid));
15461
15461
  VALUE h = rb_hash_new();
15462
15462
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15463
15463
  rb_funcall(h, _bracketseq, 2, SYM("lsi_logic"), ULL2NUM(1));
@@ -15475,7 +15475,7 @@ static void comclass_init(VALUE under) {
15475
15475
  VALUE c = cChipsetType
15476
15476
  = rb_define_class_under(under, "ChipsetType", cAbstractEnum);
15477
15477
  no_instantiation(c);
15478
- rb_const_set(c, _IID, iid__new(&iid));
15478
+ rb_const_set(c, _IID, iid_new(&iid));
15479
15479
  VALUE h = rb_hash_new();
15480
15480
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15481
15481
  rb_funcall(h, _bracketseq, 2, SYM("piix3"), ULL2NUM(1));
@@ -15487,7 +15487,7 @@ static void comclass_init(VALUE under) {
15487
15487
  VALUE c = cNATAliasMode
15488
15488
  = rb_define_class_under(under, "NATAliasMode", cAbstractEnum);
15489
15489
  no_instantiation(c);
15490
- rb_const_set(c, _IID, iid__new(&iid));
15490
+ rb_const_set(c, _IID, iid_new(&iid));
15491
15491
  VALUE h = rb_hash_new();
15492
15492
  rb_funcall(h, _bracketseq, 2, SYM("alias_log"), ULL2NUM(1));
15493
15493
  rb_funcall(h, _bracketseq, 2, SYM("alias_proxy_only"), ULL2NUM(2));
@@ -15499,7 +15499,7 @@ static void comclass_init(VALUE under) {
15499
15499
  VALUE c = cNATProtocol
15500
15500
  = rb_define_class_under(under, "NATProtocol", cAbstractEnum);
15501
15501
  no_instantiation(c);
15502
- rb_const_set(c, _IID, iid__new(&iid));
15502
+ rb_const_set(c, _IID, iid_new(&iid));
15503
15503
  VALUE h = rb_hash_new();
15504
15504
  rb_funcall(h, _bracketseq, 2, SYM("udp"), ULL2NUM(0));
15505
15505
  rb_funcall(h, _bracketseq, 2, SYM("tcp"), ULL2NUM(1));
@@ -15510,7 +15510,7 @@ static void comclass_init(VALUE under) {
15510
15510
  VALUE c = cBandwidthGroupType
15511
15511
  = rb_define_class_under(under, "BandwidthGroupType", cAbstractEnum);
15512
15512
  no_instantiation(c);
15513
- rb_const_set(c, _IID, iid__new(&iid));
15513
+ rb_const_set(c, _IID, iid_new(&iid));
15514
15514
  VALUE h = rb_hash_new();
15515
15515
  rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
15516
15516
  rb_funcall(h, _bracketseq, 2, SYM("disk"), ULL2NUM(1));
@@ -15522,7 +15522,7 @@ static void comclass_init(VALUE under) {
15522
15522
  VALUE c = cVBoxEventType
15523
15523
  = rb_define_class_under(under, "VBoxEventType", cAbstractEnum);
15524
15524
  no_instantiation(c);
15525
- rb_const_set(c, _IID, iid__new(&iid));
15525
+ rb_const_set(c, _IID, iid_new(&iid));
15526
15526
  VALUE h = rb_hash_new();
15527
15527
  rb_funcall(h, _bracketseq, 2, SYM("invalid"), ULL2NUM(0));
15528
15528
  rb_funcall(h, _bracketseq, 2, SYM("any"), ULL2NUM(1));
@@ -15579,7 +15579,7 @@ static void comclass_init(VALUE under) {
15579
15579
  VALUE c = cGuestMonitorChangedEventType
15580
15580
  = rb_define_class_under(under, "GuestMonitorChangedEventType", cAbstractEnum);
15581
15581
  no_instantiation(c);
15582
- rb_const_set(c, _IID, iid__new(&iid));
15582
+ rb_const_set(c, _IID, iid_new(&iid));
15583
15583
  VALUE h = rb_hash_new();
15584
15584
  rb_funcall(h, _bracketseq, 2, SYM("enabled"), ULL2NUM(0));
15585
15585
  rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(1));
@@ -15591,7 +15591,7 @@ static void comclass_init(VALUE under) {
15591
15591
  VALUE c = cVirtualBoxErrorInfo
15592
15592
  = rb_define_class_under(under, "VirtualBoxErrorInfo", cNSIException);
15593
15593
  no_instantiation(c);
15594
- rb_const_set(c, _IID, iid__new(&iid));
15594
+ rb_const_set(c, _IID, iid_new(&iid));
15595
15595
  rb_define_method(c, "result_code", VirtualBoxErrorInfo__get_result_code, 0);
15596
15596
  rb_define_method(c, "interface_i_d", VirtualBoxErrorInfo__get_interface_i_d, 0);
15597
15597
  rb_define_method(c, "component", VirtualBoxErrorInfo__get_component, 0);
@@ -15603,7 +15603,7 @@ static void comclass_init(VALUE under) {
15603
15603
  VALUE c = cDHCPServer
15604
15604
  = rb_define_class_under(under, "DHCPServer", cNSISupports);
15605
15605
  no_instantiation(c);
15606
- rb_const_set(c, _IID, iid__new(&iid));
15606
+ rb_const_set(c, _IID, iid_new(&iid));
15607
15607
  rb_define_method(c, "enabled", DHCPServer__get_enabled, 0);
15608
15608
  rb_define_method(c, "enabled=", DHCPServer__set_enabled, 1);
15609
15609
  rb_define_method(c, "ip_address", DHCPServer__get_ip_address, 0);
@@ -15620,7 +15620,7 @@ static void comclass_init(VALUE under) {
15620
15620
  VALUE c = cVirtualBox
15621
15621
  = rb_define_class_under(under, "VirtualBox", cNSISupports);
15622
15622
  no_instantiation(c);
15623
- rb_const_set(c, _IID, iid__new(&iid));
15623
+ rb_const_set(c, _IID, iid_new(&iid));
15624
15624
  rb_define_method(c, "version", VirtualBox__get_version, 0);
15625
15625
  rb_define_method(c, "revision", VirtualBox__get_revision, 0);
15626
15626
  rb_define_method(c, "package_type", VirtualBox__get_package_type, 0);
@@ -15667,7 +15667,7 @@ static void comclass_init(VALUE under) {
15667
15667
  VALUE c = cVFSExplorer
15668
15668
  = rb_define_class_under(under, "VFSExplorer", cNSISupports);
15669
15669
  no_instantiation(c);
15670
- rb_const_set(c, _IID, iid__new(&iid));
15670
+ rb_const_set(c, _IID, iid_new(&iid));
15671
15671
  rb_define_method(c, "path", VFSExplorer__get_path, 0);
15672
15672
  rb_define_method(c, "type", VFSExplorer__get_type, 0);
15673
15673
  rb_define_method(c, "update", VFSExplorer__update, 0);
@@ -15682,7 +15682,7 @@ static void comclass_init(VALUE under) {
15682
15682
  VALUE c = cAppliance
15683
15683
  = rb_define_class_under(under, "Appliance", cNSISupports);
15684
15684
  no_instantiation(c);
15685
- rb_const_set(c, _IID, iid__new(&iid));
15685
+ rb_const_set(c, _IID, iid_new(&iid));
15686
15686
  rb_define_method(c, "path", Appliance__get_path, 0);
15687
15687
  rb_define_method(c, "disks", Appliance__get_disks, 0);
15688
15688
  rb_define_method(c, "virtual_system_descriptions", Appliance__get_virtual_system_descriptions, 0);
@@ -15699,7 +15699,7 @@ static void comclass_init(VALUE under) {
15699
15699
  VALUE c = cVirtualSystemDescription
15700
15700
  = rb_define_class_under(under, "VirtualSystemDescription", cNSISupports);
15701
15701
  no_instantiation(c);
15702
- rb_const_set(c, _IID, iid__new(&iid));
15702
+ rb_const_set(c, _IID, iid_new(&iid));
15703
15703
  rb_define_method(c, "count", VirtualSystemDescription__get_count, 0);
15704
15704
  rb_define_method(c, "get_description", VirtualSystemDescription__get_description, 0);
15705
15705
  rb_define_method(c, "get_description_by_type", VirtualSystemDescription__get_description_by_type, 1);
@@ -15712,7 +15712,7 @@ static void comclass_init(VALUE under) {
15712
15712
  VALUE c = cInternalMachineControl
15713
15713
  = rb_define_class_under(under, "InternalMachineControl", cNSISupports);
15714
15714
  no_instantiation(c);
15715
- rb_const_set(c, _IID, iid__new(&iid));
15715
+ rb_const_set(c, _IID, iid_new(&iid));
15716
15716
  rb_define_method(c, "set_remove_saved_state_file", InternalMachineControl__set_remove_saved_state_file, 1);
15717
15717
  rb_define_method(c, "update_state", InternalMachineControl__update_state, 1);
15718
15718
  rb_define_method(c, "get_ipcid", InternalMachineControl__get_ipcid, 0);
@@ -15746,7 +15746,7 @@ static void comclass_init(VALUE under) {
15746
15746
  VALUE c = cBIOSSettings
15747
15747
  = rb_define_class_under(under, "BIOSSettings", cNSISupports);
15748
15748
  no_instantiation(c);
15749
- rb_const_set(c, _IID, iid__new(&iid));
15749
+ rb_const_set(c, _IID, iid_new(&iid));
15750
15750
  rb_define_method(c, "logo_fade_in", BIOSSettings__get_logo_fade_in, 0);
15751
15751
  rb_define_method(c, "logo_fade_in=", BIOSSettings__set_logo_fade_in, 1);
15752
15752
  rb_define_method(c, "logo_fade_out", BIOSSettings__get_logo_fade_out, 0);
@@ -15771,7 +15771,7 @@ static void comclass_init(VALUE under) {
15771
15771
  VALUE c = cPciAddress
15772
15772
  = rb_define_class_under(under, "PciAddress", cNSISupports);
15773
15773
  no_instantiation(c);
15774
- rb_const_set(c, _IID, iid__new(&iid));
15774
+ rb_const_set(c, _IID, iid_new(&iid));
15775
15775
  rb_define_method(c, "bus", PciAddress__get_bus, 0);
15776
15776
  rb_define_method(c, "bus=", PciAddress__set_bus, 1);
15777
15777
  rb_define_method(c, "device", PciAddress__get_device, 0);
@@ -15786,7 +15786,7 @@ static void comclass_init(VALUE under) {
15786
15786
  VALUE c = cPciDeviceAttachment
15787
15787
  = rb_define_class_under(under, "PciDeviceAttachment", cNSISupports);
15788
15788
  no_instantiation(c);
15789
- rb_const_set(c, _IID, iid__new(&iid));
15789
+ rb_const_set(c, _IID, iid_new(&iid));
15790
15790
  rb_define_method(c, "name", PciDeviceAttachment__get_name, 0);
15791
15791
  rb_define_method(c, "is_physical_device", PciDeviceAttachment__get_is_physical_device, 0);
15792
15792
  rb_define_method(c, "host_address", PciDeviceAttachment__get_host_address, 0);
@@ -15797,7 +15797,7 @@ static void comclass_init(VALUE under) {
15797
15797
  VALUE c = cMachine
15798
15798
  = rb_define_class_under(under, "Machine", cNSISupports);
15799
15799
  no_instantiation(c);
15800
- rb_const_set(c, _IID, iid__new(&iid));
15800
+ rb_const_set(c, _IID, iid_new(&iid));
15801
15801
  rb_define_method(c, "parent", Machine__get_parent, 0);
15802
15802
  rb_define_method(c, "accessible", Machine__get_accessible, 0);
15803
15803
  rb_define_method(c, "access_error", Machine__get_access_error, 0);
@@ -15966,7 +15966,7 @@ static void comclass_init(VALUE under) {
15966
15966
  VALUE c = cVRDEServerInfo
15967
15967
  = rb_define_class_under(under, "VRDEServerInfo", cNSISupports);
15968
15968
  no_instantiation(c);
15969
- rb_const_set(c, _IID, iid__new(&iid));
15969
+ rb_const_set(c, _IID, iid_new(&iid));
15970
15970
  rb_define_method(c, "active", VRDEServerInfo__get_active, 0);
15971
15971
  rb_define_method(c, "port", VRDEServerInfo__get_port, 0);
15972
15972
  rb_define_method(c, "number_of_clients", VRDEServerInfo__get_number_of_clients, 0);
@@ -15988,7 +15988,7 @@ static void comclass_init(VALUE under) {
15988
15988
  VALUE c = cConsole
15989
15989
  = rb_define_class_under(under, "Console", cNSISupports);
15990
15990
  no_instantiation(c);
15991
- rb_const_set(c, _IID, iid__new(&iid));
15991
+ rb_const_set(c, _IID, iid_new(&iid));
15992
15992
  rb_define_method(c, "machine", Console__get_machine, 0);
15993
15993
  rb_define_method(c, "state", Console__get_state, 0);
15994
15994
  rb_define_method(c, "guest", Console__get_guest, 0);
@@ -16036,7 +16036,7 @@ static void comclass_init(VALUE under) {
16036
16036
  VALUE c = cHostNetworkInterface
16037
16037
  = rb_define_class_under(under, "HostNetworkInterface", cNSISupports);
16038
16038
  no_instantiation(c);
16039
- rb_const_set(c, _IID, iid__new(&iid));
16039
+ rb_const_set(c, _IID, iid_new(&iid));
16040
16040
  rb_define_method(c, "name", HostNetworkInterface__get_name, 0);
16041
16041
  rb_define_method(c, "id", HostNetworkInterface__get_id, 0);
16042
16042
  rb_define_method(c, "network_name", HostNetworkInterface__get_network_name, 0);
@@ -16060,7 +16060,7 @@ static void comclass_init(VALUE under) {
16060
16060
  VALUE c = cHost
16061
16061
  = rb_define_class_under(under, "Host", cNSISupports);
16062
16062
  no_instantiation(c);
16063
- rb_const_set(c, _IID, iid__new(&iid));
16063
+ rb_const_set(c, _IID, iid_new(&iid));
16064
16064
  rb_define_method(c, "dvd_drives", Host__get_dvd_drives, 0);
16065
16065
  rb_define_method(c, "floppy_drives", Host__get_floppy_drives, 0);
16066
16066
  rb_define_method(c, "usb_devices", Host__get_usb_devices, 0);
@@ -16098,7 +16098,7 @@ static void comclass_init(VALUE under) {
16098
16098
  VALUE c = cSystemProperties
16099
16099
  = rb_define_class_under(under, "SystemProperties", cNSISupports);
16100
16100
  no_instantiation(c);
16101
- rb_const_set(c, _IID, iid__new(&iid));
16101
+ rb_const_set(c, _IID, iid_new(&iid));
16102
16102
  rb_define_method(c, "min_guest_ram", SystemProperties__get_min_guest_ram, 0);
16103
16103
  rb_define_method(c, "max_guest_ram", SystemProperties__get_max_guest_ram, 0);
16104
16104
  rb_define_method(c, "min_guest_vram", SystemProperties__get_min_guest_vram, 0);
@@ -16146,7 +16146,7 @@ static void comclass_init(VALUE under) {
16146
16146
  VALUE c = cGuestOSType
16147
16147
  = rb_define_class_under(under, "GuestOSType", cNSISupports);
16148
16148
  no_instantiation(c);
16149
- rb_const_set(c, _IID, iid__new(&iid));
16149
+ rb_const_set(c, _IID, iid_new(&iid));
16150
16150
  rb_define_method(c, "family_id", GuestOSType__get_family_id, 0);
16151
16151
  rb_define_method(c, "family_description", GuestOSType__get_family_description, 0);
16152
16152
  rb_define_method(c, "id", GuestOSType__get_id, 0);
@@ -16176,7 +16176,7 @@ static void comclass_init(VALUE under) {
16176
16176
  VALUE c = cAdditionsFacility
16177
16177
  = rb_define_class_under(under, "AdditionsFacility", cNSISupports);
16178
16178
  no_instantiation(c);
16179
- rb_const_set(c, _IID, iid__new(&iid));
16179
+ rb_const_set(c, _IID, iid_new(&iid));
16180
16180
  rb_define_method(c, "class_type", AdditionsFacility__get_class_type, 0);
16181
16181
  rb_define_method(c, "last_updated", AdditionsFacility__get_last_updated, 0);
16182
16182
  rb_define_method(c, "name", AdditionsFacility__get_name, 0);
@@ -16188,7 +16188,7 @@ static void comclass_init(VALUE under) {
16188
16188
  VALUE c = cGuestDirEntry
16189
16189
  = rb_define_class_under(under, "GuestDirEntry", cNSISupports);
16190
16190
  no_instantiation(c);
16191
- rb_const_set(c, _IID, iid__new(&iid));
16191
+ rb_const_set(c, _IID, iid_new(&iid));
16192
16192
  rb_define_method(c, "node_id", GuestDirEntry__get_node_id, 0);
16193
16193
  rb_define_method(c, "name", GuestDirEntry__get_name, 0);
16194
16194
  rb_define_method(c, "type", GuestDirEntry__get_type, 0);
@@ -16198,7 +16198,7 @@ static void comclass_init(VALUE under) {
16198
16198
  VALUE c = cGuest
16199
16199
  = rb_define_class_under(under, "Guest", cNSISupports);
16200
16200
  no_instantiation(c);
16201
- rb_const_set(c, _IID, iid__new(&iid));
16201
+ rb_const_set(c, _IID, iid_new(&iid));
16202
16202
  rb_define_method(c, "os_type_id", Guest__get_os_type_id, 0);
16203
16203
  rb_define_method(c, "additions_run_level", Guest__get_additions_run_level, 0);
16204
16204
  rb_define_method(c, "additions_version", Guest__get_additions_version, 0);
@@ -16230,7 +16230,7 @@ static void comclass_init(VALUE under) {
16230
16230
  VALUE c = cProgress
16231
16231
  = rb_define_class_under(under, "Progress", cNSISupports);
16232
16232
  no_instantiation(c);
16233
- rb_const_set(c, _IID, iid__new(&iid));
16233
+ rb_const_set(c, _IID, iid_new(&iid));
16234
16234
  rb_define_method(c, "id", Progress__get_id, 0);
16235
16235
  rb_define_method(c, "description", Progress__get_description, 0);
16236
16236
  rb_define_method(c, "initiator", Progress__get_initiator, 0);
@@ -16260,7 +16260,7 @@ static void comclass_init(VALUE under) {
16260
16260
  VALUE c = cSnapshot
16261
16261
  = rb_define_class_under(under, "Snapshot", cNSISupports);
16262
16262
  no_instantiation(c);
16263
- rb_const_set(c, _IID, iid__new(&iid));
16263
+ rb_const_set(c, _IID, iid_new(&iid));
16264
16264
  rb_define_method(c, "id", Snapshot__get_id, 0);
16265
16265
  rb_define_method(c, "name", Snapshot__get_name, 0);
16266
16266
  rb_define_method(c, "name=", Snapshot__set_name, 1);
@@ -16278,7 +16278,7 @@ static void comclass_init(VALUE under) {
16278
16278
  VALUE c = cMediumAttachment
16279
16279
  = rb_define_class_under(under, "MediumAttachment", cNSISupports);
16280
16280
  no_instantiation(c);
16281
- rb_const_set(c, _IID, iid__new(&iid));
16281
+ rb_const_set(c, _IID, iid_new(&iid));
16282
16282
  rb_define_method(c, "medium", MediumAttachment__get_medium, 0);
16283
16283
  rb_define_method(c, "controller", MediumAttachment__get_controller, 0);
16284
16284
  rb_define_method(c, "port", MediumAttachment__get_port, 0);
@@ -16295,7 +16295,7 @@ static void comclass_init(VALUE under) {
16295
16295
  VALUE c = cMedium
16296
16296
  = rb_define_class_under(under, "Medium", cNSISupports);
16297
16297
  no_instantiation(c);
16298
- rb_const_set(c, _IID, iid__new(&iid));
16298
+ rb_const_set(c, _IID, iid_new(&iid));
16299
16299
  rb_define_method(c, "id", Medium__get_id, 0);
16300
16300
  rb_define_method(c, "description", Medium__get_description, 0);
16301
16301
  rb_define_method(c, "description=", Medium__set_description, 1);
@@ -16347,7 +16347,7 @@ static void comclass_init(VALUE under) {
16347
16347
  VALUE c = cMediumFormat
16348
16348
  = rb_define_class_under(under, "MediumFormat", cNSISupports);
16349
16349
  no_instantiation(c);
16350
- rb_const_set(c, _IID, iid__new(&iid));
16350
+ rb_const_set(c, _IID, iid_new(&iid));
16351
16351
  rb_define_method(c, "id", MediumFormat__get_id, 0);
16352
16352
  rb_define_method(c, "name", MediumFormat__get_name, 0);
16353
16353
  rb_define_method(c, "capabilities", MediumFormat__get_capabilities, 0);
@@ -16359,7 +16359,7 @@ static void comclass_init(VALUE under) {
16359
16359
  VALUE c = cKeyboard
16360
16360
  = rb_define_class_under(under, "Keyboard", cNSISupports);
16361
16361
  no_instantiation(c);
16362
- rb_const_set(c, _IID, iid__new(&iid));
16362
+ rb_const_set(c, _IID, iid_new(&iid));
16363
16363
  rb_define_method(c, "event_source", Keyboard__get_event_source, 0);
16364
16364
  rb_define_method(c, "put_scancode", Keyboard__put_scancode, 1);
16365
16365
  rb_define_method(c, "put_scancodes", Keyboard__put_scancodes, 1);
@@ -16370,7 +16370,7 @@ static void comclass_init(VALUE under) {
16370
16370
  VALUE c = cMouse
16371
16371
  = rb_define_class_under(under, "Mouse", cNSISupports);
16372
16372
  no_instantiation(c);
16373
- rb_const_set(c, _IID, iid__new(&iid));
16373
+ rb_const_set(c, _IID, iid_new(&iid));
16374
16374
  rb_define_method(c, "absolute_supported", Mouse__get_absolute_supported, 0);
16375
16375
  rb_define_method(c, "relative_supported", Mouse__get_relative_supported, 0);
16376
16376
  rb_define_method(c, "needs_host_cursor", Mouse__get_needs_host_cursor, 0);
@@ -16383,7 +16383,7 @@ static void comclass_init(VALUE under) {
16383
16383
  VALUE c = cFramebuffer
16384
16384
  = rb_define_class_under(under, "Framebuffer", cNSISupports);
16385
16385
  no_instantiation(c);
16386
- rb_const_set(c, _IID, iid__new(&iid));
16386
+ rb_const_set(c, _IID, iid_new(&iid));
16387
16387
  rb_define_method(c, "address", Framebuffer__get_address, 0);
16388
16388
  rb_define_method(c, "width", Framebuffer__get_width, 0);
16389
16389
  rb_define_method(c, "height", Framebuffer__get_height, 0);
@@ -16408,7 +16408,7 @@ static void comclass_init(VALUE under) {
16408
16408
  VALUE c = cFramebufferOverlay
16409
16409
  = rb_define_class_under(under, "FramebufferOverlay", cFramebuffer);
16410
16410
  no_instantiation(c);
16411
- rb_const_set(c, _IID, iid__new(&iid));
16411
+ rb_const_set(c, _IID, iid_new(&iid));
16412
16412
  rb_define_method(c, "x", FramebufferOverlay__get_x, 0);
16413
16413
  rb_define_method(c, "y", FramebufferOverlay__get_y, 0);
16414
16414
  rb_define_method(c, "visible", FramebufferOverlay__get_visible, 0);
@@ -16420,7 +16420,7 @@ static void comclass_init(VALUE under) {
16420
16420
  VALUE c = cDisplay
16421
16421
  = rb_define_class_under(under, "Display", cNSISupports);
16422
16422
  no_instantiation(c);
16423
- rb_const_set(c, _IID, iid__new(&iid));
16423
+ rb_const_set(c, _IID, iid_new(&iid));
16424
16424
  rb_define_method(c, "get_screen_resolution", Display__get_screen_resolution, 1);
16425
16425
  rb_define_method(c, "set_framebuffer", Display__set_framebuffer, 2);
16426
16426
  rb_define_method(c, "get_framebuffer", Display__get_framebuffer, 1);
@@ -16439,7 +16439,7 @@ static void comclass_init(VALUE under) {
16439
16439
  VALUE c = cNetworkAdapter
16440
16440
  = rb_define_class_under(under, "NetworkAdapter", cNSISupports);
16441
16441
  no_instantiation(c);
16442
- rb_const_set(c, _IID, iid__new(&iid));
16442
+ rb_const_set(c, _IID, iid_new(&iid));
16443
16443
  rb_define_method(c, "adapter_type", NetworkAdapter__get_adapter_type, 0);
16444
16444
  rb_define_method(c, "adapter_type=", NetworkAdapter__set_adapter_type, 1);
16445
16445
  rb_define_method(c, "slot", NetworkAdapter__get_slot, 0);
@@ -16483,7 +16483,7 @@ static void comclass_init(VALUE under) {
16483
16483
  VALUE c = cSerialPort
16484
16484
  = rb_define_class_under(under, "SerialPort", cNSISupports);
16485
16485
  no_instantiation(c);
16486
- rb_const_set(c, _IID, iid__new(&iid));
16486
+ rb_const_set(c, _IID, iid_new(&iid));
16487
16487
  rb_define_method(c, "slot", SerialPort__get_slot, 0);
16488
16488
  rb_define_method(c, "enabled", SerialPort__get_enabled, 0);
16489
16489
  rb_define_method(c, "enabled=", SerialPort__set_enabled, 1);
@@ -16503,7 +16503,7 @@ static void comclass_init(VALUE under) {
16503
16503
  VALUE c = cParallelPort
16504
16504
  = rb_define_class_under(under, "ParallelPort", cNSISupports);
16505
16505
  no_instantiation(c);
16506
- rb_const_set(c, _IID, iid__new(&iid));
16506
+ rb_const_set(c, _IID, iid_new(&iid));
16507
16507
  rb_define_method(c, "slot", ParallelPort__get_slot, 0);
16508
16508
  rb_define_method(c, "enabled", ParallelPort__get_enabled, 0);
16509
16509
  rb_define_method(c, "enabled=", ParallelPort__set_enabled, 1);
@@ -16519,7 +16519,7 @@ static void comclass_init(VALUE under) {
16519
16519
  VALUE c = cMachineDebugger
16520
16520
  = rb_define_class_under(under, "MachineDebugger", cNSISupports);
16521
16521
  no_instantiation(c);
16522
- rb_const_set(c, _IID, iid__new(&iid));
16522
+ rb_const_set(c, _IID, iid_new(&iid));
16523
16523
  rb_define_method(c, "singlestep", MachineDebugger__get_singlestep, 0);
16524
16524
  rb_define_method(c, "singlestep=", MachineDebugger__set_singlestep, 1);
16525
16525
  rb_define_method(c, "recompile_user", MachineDebugger__get_recompile_user, 0);
@@ -16570,7 +16570,7 @@ static void comclass_init(VALUE under) {
16570
16570
  VALUE c = cUSBController
16571
16571
  = rb_define_class_under(under, "USBController", cNSISupports);
16572
16572
  no_instantiation(c);
16573
- rb_const_set(c, _IID, iid__new(&iid));
16573
+ rb_const_set(c, _IID, iid_new(&iid));
16574
16574
  rb_define_method(c, "enabled", USBController__get_enabled, 0);
16575
16575
  rb_define_method(c, "enabled=", USBController__set_enabled, 1);
16576
16576
  rb_define_method(c, "enabled_ehci", USBController__get_enabled_ehci, 0);
@@ -16587,7 +16587,7 @@ static void comclass_init(VALUE under) {
16587
16587
  VALUE c = cUSBDevice
16588
16588
  = rb_define_class_under(under, "USBDevice", cNSISupports);
16589
16589
  no_instantiation(c);
16590
- rb_const_set(c, _IID, iid__new(&iid));
16590
+ rb_const_set(c, _IID, iid_new(&iid));
16591
16591
  rb_define_method(c, "id", USBDevice__get_id, 0);
16592
16592
  rb_define_method(c, "vendor_id", USBDevice__get_vendor_id, 0);
16593
16593
  rb_define_method(c, "product_id", USBDevice__get_product_id, 0);
@@ -16606,7 +16606,7 @@ static void comclass_init(VALUE under) {
16606
16606
  VALUE c = cUSBDeviceFilter
16607
16607
  = rb_define_class_under(under, "USBDeviceFilter", cNSISupports);
16608
16608
  no_instantiation(c);
16609
- rb_const_set(c, _IID, iid__new(&iid));
16609
+ rb_const_set(c, _IID, iid_new(&iid));
16610
16610
  rb_define_method(c, "name", USBDeviceFilter__get_name, 0);
16611
16611
  rb_define_method(c, "name=", USBDeviceFilter__set_name, 1);
16612
16612
  rb_define_method(c, "active", USBDeviceFilter__get_active, 0);
@@ -16635,7 +16635,7 @@ static void comclass_init(VALUE under) {
16635
16635
  VALUE c = cHostUSBDevice
16636
16636
  = rb_define_class_under(under, "HostUSBDevice", cUSBDevice);
16637
16637
  no_instantiation(c);
16638
- rb_const_set(c, _IID, iid__new(&iid));
16638
+ rb_const_set(c, _IID, iid_new(&iid));
16639
16639
  rb_define_method(c, "state", HostUSBDevice__get_state, 0);
16640
16640
  }
16641
16641
  {
@@ -16643,7 +16643,7 @@ static void comclass_init(VALUE under) {
16643
16643
  VALUE c = cHostUSBDeviceFilter
16644
16644
  = rb_define_class_under(under, "HostUSBDeviceFilter", cUSBDeviceFilter);
16645
16645
  no_instantiation(c);
16646
- rb_const_set(c, _IID, iid__new(&iid));
16646
+ rb_const_set(c, _IID, iid_new(&iid));
16647
16647
  rb_define_method(c, "action", HostUSBDeviceFilter__get_action, 0);
16648
16648
  rb_define_method(c, "action=", HostUSBDeviceFilter__set_action, 1);
16649
16649
  }
@@ -16652,7 +16652,7 @@ static void comclass_init(VALUE under) {
16652
16652
  VALUE c = cAudioAdapter
16653
16653
  = rb_define_class_under(under, "AudioAdapter", cNSISupports);
16654
16654
  no_instantiation(c);
16655
- rb_const_set(c, _IID, iid__new(&iid));
16655
+ rb_const_set(c, _IID, iid_new(&iid));
16656
16656
  rb_define_method(c, "enabled", AudioAdapter__get_enabled, 0);
16657
16657
  rb_define_method(c, "enabled=", AudioAdapter__set_enabled, 1);
16658
16658
  rb_define_method(c, "audio_controller", AudioAdapter__get_audio_controller, 0);
@@ -16665,7 +16665,7 @@ static void comclass_init(VALUE under) {
16665
16665
  VALUE c = cVRDEServer
16666
16666
  = rb_define_class_under(under, "VRDEServer", cNSISupports);
16667
16667
  no_instantiation(c);
16668
- rb_const_set(c, _IID, iid__new(&iid));
16668
+ rb_const_set(c, _IID, iid_new(&iid));
16669
16669
  rb_define_method(c, "enabled", VRDEServer__get_enabled, 0);
16670
16670
  rb_define_method(c, "enabled=", VRDEServer__set_enabled, 1);
16671
16671
  rb_define_method(c, "auth_type", VRDEServer__get_auth_type, 0);
@@ -16689,7 +16689,7 @@ static void comclass_init(VALUE under) {
16689
16689
  VALUE c = cSharedFolder
16690
16690
  = rb_define_class_under(under, "SharedFolder", cNSISupports);
16691
16691
  no_instantiation(c);
16692
- rb_const_set(c, _IID, iid__new(&iid));
16692
+ rb_const_set(c, _IID, iid_new(&iid));
16693
16693
  rb_define_method(c, "name", SharedFolder__get_name, 0);
16694
16694
  rb_define_method(c, "host_path", SharedFolder__get_host_path, 0);
16695
16695
  rb_define_method(c, "accessible", SharedFolder__get_accessible, 0);
@@ -16702,7 +16702,7 @@ static void comclass_init(VALUE under) {
16702
16702
  VALUE c = cInternalSessionControl
16703
16703
  = rb_define_class_under(under, "InternalSessionControl", cNSISupports);
16704
16704
  no_instantiation(c);
16705
- rb_const_set(c, _IID, iid__new(&iid));
16705
+ rb_const_set(c, _IID, iid_new(&iid));
16706
16706
  rb_define_method(c, "get_pid", InternalSessionControl__get_pid, 0);
16707
16707
  rb_define_method(c, "get_remote_console", InternalSessionControl__get_remote_console, 0);
16708
16708
  rb_define_method(c, "assign_machine", InternalSessionControl__assign_machine, 1);
@@ -16734,7 +16734,7 @@ static void comclass_init(VALUE under) {
16734
16734
  VALUE c = cSession
16735
16735
  = rb_define_class_under(under, "Session", cNSISupports);
16736
16736
  no_instantiation(c);
16737
- rb_const_set(c, _IID, iid__new(&iid));
16737
+ rb_const_set(c, _IID, iid_new(&iid));
16738
16738
  rb_define_method(c, "state", Session__get_state, 0);
16739
16739
  rb_define_method(c, "type", Session__get_type, 0);
16740
16740
  rb_define_method(c, "machine", Session__get_machine, 0);
@@ -16746,7 +16746,7 @@ static void comclass_init(VALUE under) {
16746
16746
  VALUE c = cStorageController
16747
16747
  = rb_define_class_under(under, "StorageController", cNSISupports);
16748
16748
  no_instantiation(c);
16749
- rb_const_set(c, _IID, iid__new(&iid));
16749
+ rb_const_set(c, _IID, iid_new(&iid));
16750
16750
  rb_define_method(c, "name", StorageController__get_name, 0);
16751
16751
  rb_define_method(c, "max_devices_per_port_count", StorageController__get_max_devices_per_port_count, 0);
16752
16752
  rb_define_method(c, "min_port_count", StorageController__get_min_port_count, 0);
@@ -16769,7 +16769,7 @@ static void comclass_init(VALUE under) {
16769
16769
  VALUE c = cPerformanceMetric
16770
16770
  = rb_define_class_under(under, "PerformanceMetric", cNSISupports);
16771
16771
  no_instantiation(c);
16772
- rb_const_set(c, _IID, iid__new(&iid));
16772
+ rb_const_set(c, _IID, iid_new(&iid));
16773
16773
  rb_define_method(c, "metric_name", PerformanceMetric__get_metric_name, 0);
16774
16774
  rb_define_method(c, "object", PerformanceMetric__get_object, 0);
16775
16775
  rb_define_method(c, "description", PerformanceMetric__get_description, 0);
@@ -16784,7 +16784,7 @@ static void comclass_init(VALUE under) {
16784
16784
  VALUE c = cPerformanceCollector
16785
16785
  = rb_define_class_under(under, "PerformanceCollector", cNSISupports);
16786
16786
  no_instantiation(c);
16787
- rb_const_set(c, _IID, iid__new(&iid));
16787
+ rb_const_set(c, _IID, iid_new(&iid));
16788
16788
  rb_define_method(c, "metric_names", PerformanceCollector__get_metric_names, 0);
16789
16789
  rb_define_method(c, "get_metrics", PerformanceCollector__get_metrics, 2);
16790
16790
  rb_define_method(c, "setup_metrics", PerformanceCollector__setup_metrics, 4);
@@ -16797,7 +16797,7 @@ static void comclass_init(VALUE under) {
16797
16797
  VALUE c = cNATEngine
16798
16798
  = rb_define_class_under(under, "NATEngine", cNSISupports);
16799
16799
  no_instantiation(c);
16800
- rb_const_set(c, _IID, iid__new(&iid));
16800
+ rb_const_set(c, _IID, iid_new(&iid));
16801
16801
  rb_define_method(c, "network", NATEngine__get_network, 0);
16802
16802
  rb_define_method(c, "network=", NATEngine__set_network, 1);
16803
16803
  rb_define_method(c, "host_ip", NATEngine__get_host_ip, 0);
@@ -16827,7 +16827,7 @@ static void comclass_init(VALUE under) {
16827
16827
  VALUE c = cExtPackPlugIn
16828
16828
  = rb_define_class_under(under, "ExtPackPlugIn", cNSISupports);
16829
16829
  no_instantiation(c);
16830
- rb_const_set(c, _IID, iid__new(&iid));
16830
+ rb_const_set(c, _IID, iid_new(&iid));
16831
16831
  rb_define_method(c, "name", ExtPackPlugIn__get_name, 0);
16832
16832
  rb_define_method(c, "description", ExtPackPlugIn__get_description, 0);
16833
16833
  rb_define_method(c, "frontend", ExtPackPlugIn__get_frontend, 0);
@@ -16838,7 +16838,7 @@ static void comclass_init(VALUE under) {
16838
16838
  VALUE c = cExtPackBase
16839
16839
  = rb_define_class_under(under, "ExtPackBase", cNSISupports);
16840
16840
  no_instantiation(c);
16841
- rb_const_set(c, _IID, iid__new(&iid));
16841
+ rb_const_set(c, _IID, iid_new(&iid));
16842
16842
  rb_define_method(c, "name", ExtPackBase__get_name, 0);
16843
16843
  rb_define_method(c, "description", ExtPackBase__get_description, 0);
16844
16844
  rb_define_method(c, "version", ExtPackBase__get_version, 0);
@@ -16856,7 +16856,7 @@ static void comclass_init(VALUE under) {
16856
16856
  VALUE c = cExtPack
16857
16857
  = rb_define_class_under(under, "ExtPack", cExtPackBase);
16858
16858
  no_instantiation(c);
16859
- rb_const_set(c, _IID, iid__new(&iid));
16859
+ rb_const_set(c, _IID, iid_new(&iid));
16860
16860
  rb_define_method(c, "query_object", ExtPack__query_object, 1);
16861
16861
  }
16862
16862
  {
@@ -16864,7 +16864,7 @@ static void comclass_init(VALUE under) {
16864
16864
  VALUE c = cExtPackFile
16865
16865
  = rb_define_class_under(under, "ExtPackFile", cExtPackBase);
16866
16866
  no_instantiation(c);
16867
- rb_const_set(c, _IID, iid__new(&iid));
16867
+ rb_const_set(c, _IID, iid_new(&iid));
16868
16868
  rb_define_method(c, "file_path", ExtPackFile__get_file_path, 0);
16869
16869
  rb_define_method(c, "install", ExtPackFile__install, 2);
16870
16870
  }
@@ -16873,7 +16873,7 @@ static void comclass_init(VALUE under) {
16873
16873
  VALUE c = cExtPackManager
16874
16874
  = rb_define_class_under(under, "ExtPackManager", cNSISupports);
16875
16875
  no_instantiation(c);
16876
- rb_const_set(c, _IID, iid__new(&iid));
16876
+ rb_const_set(c, _IID, iid_new(&iid));
16877
16877
  rb_define_method(c, "installed_ext_packs", ExtPackManager__get_installed_ext_packs, 0);
16878
16878
  rb_define_method(c, "find", ExtPackManager__find, 1);
16879
16879
  rb_define_method(c, "open_ext_pack_file", ExtPackManager__open_ext_pack_file, 1);
@@ -16887,7 +16887,7 @@ static void comclass_init(VALUE under) {
16887
16887
  VALUE c = cBandwidthGroup
16888
16888
  = rb_define_class_under(under, "BandwidthGroup", cNSISupports);
16889
16889
  no_instantiation(c);
16890
- rb_const_set(c, _IID, iid__new(&iid));
16890
+ rb_const_set(c, _IID, iid_new(&iid));
16891
16891
  rb_define_method(c, "name", BandwidthGroup__get_name, 0);
16892
16892
  rb_define_method(c, "type", BandwidthGroup__get_type, 0);
16893
16893
  rb_define_method(c, "reference", BandwidthGroup__get_reference, 0);
@@ -16899,7 +16899,7 @@ static void comclass_init(VALUE under) {
16899
16899
  VALUE c = cBandwidthControl
16900
16900
  = rb_define_class_under(under, "BandwidthControl", cNSISupports);
16901
16901
  no_instantiation(c);
16902
- rb_const_set(c, _IID, iid__new(&iid));
16902
+ rb_const_set(c, _IID, iid_new(&iid));
16903
16903
  rb_define_method(c, "num_groups", BandwidthControl__get_num_groups, 0);
16904
16904
  rb_define_method(c, "create_bandwidth_group", BandwidthControl__create_bandwidth_group, 3);
16905
16905
  rb_define_method(c, "delete_bandwidth_group", BandwidthControl__delete_bandwidth_group, 1);
@@ -16911,7 +16911,7 @@ static void comclass_init(VALUE under) {
16911
16911
  VALUE c = cVirtualBoxClient
16912
16912
  = rb_define_class_under(under, "VirtualBoxClient", cNSISupports);
16913
16913
  no_instantiation(c);
16914
- rb_const_set(c, _IID, iid__new(&iid));
16914
+ rb_const_set(c, _IID, iid_new(&iid));
16915
16915
  rb_define_method(c, "virtual_box", VirtualBoxClient__get_virtual_box, 0);
16916
16916
  rb_define_method(c, "session", VirtualBoxClient__get_session, 0);
16917
16917
  rb_define_method(c, "event_source", VirtualBoxClient__get_event_source, 0);
@@ -16921,7 +16921,7 @@ static void comclass_init(VALUE under) {
16921
16921
  VALUE c = cEventSource
16922
16922
  = rb_define_class_under(under, "EventSource", cNSISupports);
16923
16923
  no_instantiation(c);
16924
- rb_const_set(c, _IID, iid__new(&iid));
16924
+ rb_const_set(c, _IID, iid_new(&iid));
16925
16925
  rb_define_method(c, "create_listener", EventSource__create_listener, 0);
16926
16926
  rb_define_method(c, "create_aggregator", EventSource__create_aggregator, 1);
16927
16927
  rb_define_method(c, "register_listener", EventSource__register_listener, 3);
@@ -16935,7 +16935,7 @@ static void comclass_init(VALUE under) {
16935
16935
  VALUE c = cEventListener
16936
16936
  = rb_define_class_under(under, "EventListener", cNSISupports);
16937
16937
  no_instantiation(c);
16938
- rb_const_set(c, _IID, iid__new(&iid));
16938
+ rb_const_set(c, _IID, iid_new(&iid));
16939
16939
  rb_define_method(c, "handle_event", EventListener__handle_event, 1);
16940
16940
  }
16941
16941
  {
@@ -16943,7 +16943,7 @@ static void comclass_init(VALUE under) {
16943
16943
  VALUE c = cEvent
16944
16944
  = rb_define_class_under(under, "Event", cNSISupports);
16945
16945
  no_instantiation(c);
16946
- rb_const_set(c, _IID, iid__new(&iid));
16946
+ rb_const_set(c, _IID, iid_new(&iid));
16947
16947
  rb_define_method(c, "type", Event__get_type, 0);
16948
16948
  rb_define_method(c, "source", Event__get_source, 0);
16949
16949
  rb_define_method(c, "waitable", Event__get_waitable, 0);
@@ -16955,7 +16955,7 @@ static void comclass_init(VALUE under) {
16955
16955
  VALUE c = cReusableEvent
16956
16956
  = rb_define_class_under(under, "ReusableEvent", cEvent);
16957
16957
  no_instantiation(c);
16958
- rb_const_set(c, _IID, iid__new(&iid));
16958
+ rb_const_set(c, _IID, iid_new(&iid));
16959
16959
  rb_define_method(c, "generation", ReusableEvent__get_generation, 0);
16960
16960
  rb_define_method(c, "reuse", ReusableEvent__reuse, 0);
16961
16961
  }
@@ -16964,7 +16964,7 @@ static void comclass_init(VALUE under) {
16964
16964
  VALUE c = cMachineEvent
16965
16965
  = rb_define_class_under(under, "MachineEvent", cEvent);
16966
16966
  no_instantiation(c);
16967
- rb_const_set(c, _IID, iid__new(&iid));
16967
+ rb_const_set(c, _IID, iid_new(&iid));
16968
16968
  rb_define_method(c, "machine_id", MachineEvent__get_machine_id, 0);
16969
16969
  }
16970
16970
  {
@@ -16972,7 +16972,7 @@ static void comclass_init(VALUE under) {
16972
16972
  VALUE c = cMachineStateChangedEvent
16973
16973
  = rb_define_class_under(under, "MachineStateChangedEvent", cMachineEvent);
16974
16974
  no_instantiation(c);
16975
- rb_const_set(c, _IID, iid__new(&iid));
16975
+ rb_const_set(c, _IID, iid_new(&iid));
16976
16976
  rb_define_method(c, "state", MachineStateChangedEvent__get_state, 0);
16977
16977
  }
16978
16978
  {
@@ -16980,7 +16980,7 @@ static void comclass_init(VALUE under) {
16980
16980
  VALUE c = cMachineDataChangedEvent
16981
16981
  = rb_define_class_under(under, "MachineDataChangedEvent", cMachineEvent);
16982
16982
  no_instantiation(c);
16983
- rb_const_set(c, _IID, iid__new(&iid));
16983
+ rb_const_set(c, _IID, iid_new(&iid));
16984
16984
  rb_define_method(c, "temporary", MachineDataChangedEvent__get_temporary, 0);
16985
16985
  }
16986
16986
  {
@@ -16988,7 +16988,7 @@ static void comclass_init(VALUE under) {
16988
16988
  VALUE c = cMediumRegisteredEvent
16989
16989
  = rb_define_class_under(under, "MediumRegisteredEvent", cEvent);
16990
16990
  no_instantiation(c);
16991
- rb_const_set(c, _IID, iid__new(&iid));
16991
+ rb_const_set(c, _IID, iid_new(&iid));
16992
16992
  rb_define_method(c, "medium_id", MediumRegisteredEvent__get_medium_id, 0);
16993
16993
  rb_define_method(c, "medium_type", MediumRegisteredEvent__get_medium_type, 0);
16994
16994
  rb_define_method(c, "registered", MediumRegisteredEvent__get_registered, 0);
@@ -16998,7 +16998,7 @@ static void comclass_init(VALUE under) {
16998
16998
  VALUE c = cMachineRegisteredEvent
16999
16999
  = rb_define_class_under(under, "MachineRegisteredEvent", cMachineEvent);
17000
17000
  no_instantiation(c);
17001
- rb_const_set(c, _IID, iid__new(&iid));
17001
+ rb_const_set(c, _IID, iid_new(&iid));
17002
17002
  rb_define_method(c, "registered", MachineRegisteredEvent__get_registered, 0);
17003
17003
  }
17004
17004
  {
@@ -17006,7 +17006,7 @@ static void comclass_init(VALUE under) {
17006
17006
  VALUE c = cSessionStateChangedEvent
17007
17007
  = rb_define_class_under(under, "SessionStateChangedEvent", cMachineEvent);
17008
17008
  no_instantiation(c);
17009
- rb_const_set(c, _IID, iid__new(&iid));
17009
+ rb_const_set(c, _IID, iid_new(&iid));
17010
17010
  rb_define_method(c, "state", SessionStateChangedEvent__get_state, 0);
17011
17011
  }
17012
17012
  {
@@ -17014,7 +17014,7 @@ static void comclass_init(VALUE under) {
17014
17014
  VALUE c = cGuestPropertyChangedEvent
17015
17015
  = rb_define_class_under(under, "GuestPropertyChangedEvent", cMachineEvent);
17016
17016
  no_instantiation(c);
17017
- rb_const_set(c, _IID, iid__new(&iid));
17017
+ rb_const_set(c, _IID, iid_new(&iid));
17018
17018
  rb_define_method(c, "name", GuestPropertyChangedEvent__get_name, 0);
17019
17019
  rb_define_method(c, "value", GuestPropertyChangedEvent__get_value, 0);
17020
17020
  rb_define_method(c, "flags", GuestPropertyChangedEvent__get_flags, 0);
@@ -17024,7 +17024,7 @@ static void comclass_init(VALUE under) {
17024
17024
  VALUE c = cSnapshotEvent
17025
17025
  = rb_define_class_under(under, "SnapshotEvent", cMachineEvent);
17026
17026
  no_instantiation(c);
17027
- rb_const_set(c, _IID, iid__new(&iid));
17027
+ rb_const_set(c, _IID, iid_new(&iid));
17028
17028
  rb_define_method(c, "snapshot_id", SnapshotEvent__get_snapshot_id, 0);
17029
17029
  }
17030
17030
  {
@@ -17032,28 +17032,28 @@ static void comclass_init(VALUE under) {
17032
17032
  VALUE c = cSnapshotTakenEvent
17033
17033
  = rb_define_class_under(under, "SnapshotTakenEvent", cSnapshotEvent);
17034
17034
  no_instantiation(c);
17035
- rb_const_set(c, _IID, iid__new(&iid));
17035
+ rb_const_set(c, _IID, iid_new(&iid));
17036
17036
  }
17037
17037
  {
17038
17038
  iid_t iid = {0xc48f3401, 0x4a9e, 0x43f4, {0xb7, 0xa7, 0x54, 0xbd, 0x28, 0x5e, 0x22, 0xf4}};
17039
17039
  VALUE c = cSnapshotDeletedEvent
17040
17040
  = rb_define_class_under(under, "SnapshotDeletedEvent", cSnapshotEvent);
17041
17041
  no_instantiation(c);
17042
- rb_const_set(c, _IID, iid__new(&iid));
17042
+ rb_const_set(c, _IID, iid_new(&iid));
17043
17043
  }
17044
17044
  {
17045
17045
  iid_t iid = {0x07541941, 0x8079, 0x447a, {0xa3, 0x3e, 0x47, 0xa6, 0x9c, 0x79, 0x80, 0xdb}};
17046
17046
  VALUE c = cSnapshotChangedEvent
17047
17047
  = rb_define_class_under(under, "SnapshotChangedEvent", cSnapshotEvent);
17048
17048
  no_instantiation(c);
17049
- rb_const_set(c, _IID, iid__new(&iid));
17049
+ rb_const_set(c, _IID, iid_new(&iid));
17050
17050
  }
17051
17051
  {
17052
17052
  iid_t iid = {0xa6dcf6e8, 0x416b, 0x4181, {0x8c, 0x4a, 0x45, 0xec, 0x95, 0x17, 0x7a, 0xef}};
17053
17053
  VALUE c = cMousePointerShapeChangedEvent
17054
17054
  = rb_define_class_under(under, "MousePointerShapeChangedEvent", cEvent);
17055
17055
  no_instantiation(c);
17056
- rb_const_set(c, _IID, iid__new(&iid));
17056
+ rb_const_set(c, _IID, iid_new(&iid));
17057
17057
  rb_define_method(c, "visible", MousePointerShapeChangedEvent__get_visible, 0);
17058
17058
  rb_define_method(c, "alpha", MousePointerShapeChangedEvent__get_alpha, 0);
17059
17059
  rb_define_method(c, "xhot", MousePointerShapeChangedEvent__get_xhot, 0);
@@ -17067,7 +17067,7 @@ static void comclass_init(VALUE under) {
17067
17067
  VALUE c = cMouseCapabilityChangedEvent
17068
17068
  = rb_define_class_under(under, "MouseCapabilityChangedEvent", cEvent);
17069
17069
  no_instantiation(c);
17070
- rb_const_set(c, _IID, iid__new(&iid));
17070
+ rb_const_set(c, _IID, iid_new(&iid));
17071
17071
  rb_define_method(c, "supports_absolute", MouseCapabilityChangedEvent__get_supports_absolute, 0);
17072
17072
  rb_define_method(c, "supports_relative", MouseCapabilityChangedEvent__get_supports_relative, 0);
17073
17073
  rb_define_method(c, "needs_host_cursor", MouseCapabilityChangedEvent__get_needs_host_cursor, 0);
@@ -17077,7 +17077,7 @@ static void comclass_init(VALUE under) {
17077
17077
  VALUE c = cKeyboardLedsChangedEvent
17078
17078
  = rb_define_class_under(under, "KeyboardLedsChangedEvent", cEvent);
17079
17079
  no_instantiation(c);
17080
- rb_const_set(c, _IID, iid__new(&iid));
17080
+ rb_const_set(c, _IID, iid_new(&iid));
17081
17081
  rb_define_method(c, "num_lock", KeyboardLedsChangedEvent__get_num_lock, 0);
17082
17082
  rb_define_method(c, "caps_lock", KeyboardLedsChangedEvent__get_caps_lock, 0);
17083
17083
  rb_define_method(c, "scroll_lock", KeyboardLedsChangedEvent__get_scroll_lock, 0);
@@ -17087,7 +17087,7 @@ static void comclass_init(VALUE under) {
17087
17087
  VALUE c = cStateChangedEvent
17088
17088
  = rb_define_class_under(under, "StateChangedEvent", cEvent);
17089
17089
  no_instantiation(c);
17090
- rb_const_set(c, _IID, iid__new(&iid));
17090
+ rb_const_set(c, _IID, iid_new(&iid));
17091
17091
  rb_define_method(c, "state", StateChangedEvent__get_state, 0);
17092
17092
  }
17093
17093
  {
@@ -17095,14 +17095,14 @@ static void comclass_init(VALUE under) {
17095
17095
  VALUE c = cAdditionsStateChangedEvent
17096
17096
  = rb_define_class_under(under, "AdditionsStateChangedEvent", cEvent);
17097
17097
  no_instantiation(c);
17098
- rb_const_set(c, _IID, iid__new(&iid));
17098
+ rb_const_set(c, _IID, iid_new(&iid));
17099
17099
  }
17100
17100
  {
17101
17101
  iid_t iid = {0x08889892, 0x1EC6, 0x4883, {0x80, 0x1D, 0x77, 0xF5, 0x6C, 0xFD, 0x01, 0x03}};
17102
17102
  VALUE c = cNetworkAdapterChangedEvent
17103
17103
  = rb_define_class_under(under, "NetworkAdapterChangedEvent", cEvent);
17104
17104
  no_instantiation(c);
17105
- rb_const_set(c, _IID, iid__new(&iid));
17105
+ rb_const_set(c, _IID, iid_new(&iid));
17106
17106
  rb_define_method(c, "network_adapter", NetworkAdapterChangedEvent__get_network_adapter, 0);
17107
17107
  }
17108
17108
  {
@@ -17110,7 +17110,7 @@ static void comclass_init(VALUE under) {
17110
17110
  VALUE c = cSerialPortChangedEvent
17111
17111
  = rb_define_class_under(under, "SerialPortChangedEvent", cEvent);
17112
17112
  no_instantiation(c);
17113
- rb_const_set(c, _IID, iid__new(&iid));
17113
+ rb_const_set(c, _IID, iid_new(&iid));
17114
17114
  rb_define_method(c, "serial_port", SerialPortChangedEvent__get_serial_port, 0);
17115
17115
  }
17116
17116
  {
@@ -17118,7 +17118,7 @@ static void comclass_init(VALUE under) {
17118
17118
  VALUE c = cParallelPortChangedEvent
17119
17119
  = rb_define_class_under(under, "ParallelPortChangedEvent", cEvent);
17120
17120
  no_instantiation(c);
17121
- rb_const_set(c, _IID, iid__new(&iid));
17121
+ rb_const_set(c, _IID, iid_new(&iid));
17122
17122
  rb_define_method(c, "parallel_port", ParallelPortChangedEvent__get_parallel_port, 0);
17123
17123
  }
17124
17124
  {
@@ -17126,14 +17126,14 @@ static void comclass_init(VALUE under) {
17126
17126
  VALUE c = cStorageControllerChangedEvent
17127
17127
  = rb_define_class_under(under, "StorageControllerChangedEvent", cEvent);
17128
17128
  no_instantiation(c);
17129
- rb_const_set(c, _IID, iid__new(&iid));
17129
+ rb_const_set(c, _IID, iid_new(&iid));
17130
17130
  }
17131
17131
  {
17132
17132
  iid_t iid = {0x0FE2DA40, 0x5637, 0x472A, {0x97, 0x36, 0x72, 0x01, 0x9E, 0xAB, 0xD7, 0xDE}};
17133
17133
  VALUE c = cMediumChangedEvent
17134
17134
  = rb_define_class_under(under, "MediumChangedEvent", cEvent);
17135
17135
  no_instantiation(c);
17136
- rb_const_set(c, _IID, iid__new(&iid));
17136
+ rb_const_set(c, _IID, iid_new(&iid));
17137
17137
  rb_define_method(c, "medium_attachment", MediumChangedEvent__get_medium_attachment, 0);
17138
17138
  }
17139
17139
  {
@@ -17141,7 +17141,7 @@ static void comclass_init(VALUE under) {
17141
17141
  VALUE c = cCPUChangedEvent
17142
17142
  = rb_define_class_under(under, "CPUChangedEvent", cEvent);
17143
17143
  no_instantiation(c);
17144
- rb_const_set(c, _IID, iid__new(&iid));
17144
+ rb_const_set(c, _IID, iid_new(&iid));
17145
17145
  rb_define_method(c, "cpu", CPUChangedEvent__get_cpu, 0);
17146
17146
  rb_define_method(c, "add", CPUChangedEvent__get_add, 0);
17147
17147
  }
@@ -17150,7 +17150,7 @@ static void comclass_init(VALUE under) {
17150
17150
  VALUE c = cCPUExecutionCapChangedEvent
17151
17151
  = rb_define_class_under(under, "CPUExecutionCapChangedEvent", cEvent);
17152
17152
  no_instantiation(c);
17153
- rb_const_set(c, _IID, iid__new(&iid));
17153
+ rb_const_set(c, _IID, iid_new(&iid));
17154
17154
  rb_define_method(c, "execution_cap", CPUExecutionCapChangedEvent__get_execution_cap, 0);
17155
17155
  }
17156
17156
  {
@@ -17158,7 +17158,7 @@ static void comclass_init(VALUE under) {
17158
17158
  VALUE c = cGuestKeyboardEvent
17159
17159
  = rb_define_class_under(under, "GuestKeyboardEvent", cEvent);
17160
17160
  no_instantiation(c);
17161
- rb_const_set(c, _IID, iid__new(&iid));
17161
+ rb_const_set(c, _IID, iid_new(&iid));
17162
17162
  rb_define_method(c, "scancodes", GuestKeyboardEvent__get_scancodes, 0);
17163
17163
  }
17164
17164
  {
@@ -17166,7 +17166,7 @@ static void comclass_init(VALUE under) {
17166
17166
  VALUE c = cGuestMouseEvent
17167
17167
  = rb_define_class_under(under, "GuestMouseEvent", cReusableEvent);
17168
17168
  no_instantiation(c);
17169
- rb_const_set(c, _IID, iid__new(&iid));
17169
+ rb_const_set(c, _IID, iid_new(&iid));
17170
17170
  rb_define_method(c, "absolute", GuestMouseEvent__get_absolute, 0);
17171
17171
  rb_define_method(c, "x", GuestMouseEvent__get_x, 0);
17172
17172
  rb_define_method(c, "y", GuestMouseEvent__get_y, 0);
@@ -17179,28 +17179,28 @@ static void comclass_init(VALUE under) {
17179
17179
  VALUE c = cVRDEServerChangedEvent
17180
17180
  = rb_define_class_under(under, "VRDEServerChangedEvent", cEvent);
17181
17181
  no_instantiation(c);
17182
- rb_const_set(c, _IID, iid__new(&iid));
17182
+ rb_const_set(c, _IID, iid_new(&iid));
17183
17183
  }
17184
17184
  {
17185
17185
  iid_t iid = {0xdd6a1080, 0xe1b7, 0x4339, {0xa5, 0x49, 0xf0, 0x87, 0x81, 0x15, 0x59, 0x6e}};
17186
17186
  VALUE c = cVRDEServerInfoChangedEvent
17187
17187
  = rb_define_class_under(under, "VRDEServerInfoChangedEvent", cEvent);
17188
17188
  no_instantiation(c);
17189
- rb_const_set(c, _IID, iid__new(&iid));
17189
+ rb_const_set(c, _IID, iid_new(&iid));
17190
17190
  }
17191
17191
  {
17192
17192
  iid_t iid = {0x93BADC0C, 0x61D9, 0x4940, {0xA0, 0x84, 0xE6, 0xBB, 0x29, 0xAF, 0x3D, 0x83}};
17193
17193
  VALUE c = cUSBControllerChangedEvent
17194
17194
  = rb_define_class_under(under, "USBControllerChangedEvent", cEvent);
17195
17195
  no_instantiation(c);
17196
- rb_const_set(c, _IID, iid__new(&iid));
17196
+ rb_const_set(c, _IID, iid_new(&iid));
17197
17197
  }
17198
17198
  {
17199
17199
  iid_t iid = {0x806da61b, 0x6679, 0x422a, {0xb6, 0x29, 0x51, 0xb0, 0x6b, 0x0c, 0x6d, 0x93}};
17200
17200
  VALUE c = cUSBDeviceStateChangedEvent
17201
17201
  = rb_define_class_under(under, "USBDeviceStateChangedEvent", cEvent);
17202
17202
  no_instantiation(c);
17203
- rb_const_set(c, _IID, iid__new(&iid));
17203
+ rb_const_set(c, _IID, iid_new(&iid));
17204
17204
  rb_define_method(c, "device", USBDeviceStateChangedEvent__get_device, 0);
17205
17205
  rb_define_method(c, "attached", USBDeviceStateChangedEvent__get_attached, 0);
17206
17206
  rb_define_method(c, "error", USBDeviceStateChangedEvent__get_error, 0);
@@ -17210,7 +17210,7 @@ static void comclass_init(VALUE under) {
17210
17210
  VALUE c = cSharedFolderChangedEvent
17211
17211
  = rb_define_class_under(under, "SharedFolderChangedEvent", cEvent);
17212
17212
  no_instantiation(c);
17213
- rb_const_set(c, _IID, iid__new(&iid));
17213
+ rb_const_set(c, _IID, iid_new(&iid));
17214
17214
  rb_define_method(c, "scope", SharedFolderChangedEvent__get_scope, 0);
17215
17215
  }
17216
17216
  {
@@ -17218,7 +17218,7 @@ static void comclass_init(VALUE under) {
17218
17218
  VALUE c = cRuntimeErrorEvent
17219
17219
  = rb_define_class_under(under, "RuntimeErrorEvent", cEvent);
17220
17220
  no_instantiation(c);
17221
- rb_const_set(c, _IID, iid__new(&iid));
17221
+ rb_const_set(c, _IID, iid_new(&iid));
17222
17222
  rb_define_method(c, "fatal", RuntimeErrorEvent__get_fatal, 0);
17223
17223
  rb_define_method(c, "id", RuntimeErrorEvent__get_id, 0);
17224
17224
  rb_define_method(c, "message", RuntimeErrorEvent__get_message, 0);
@@ -17228,7 +17228,7 @@ static void comclass_init(VALUE under) {
17228
17228
  VALUE c = cEventSourceChangedEvent
17229
17229
  = rb_define_class_under(under, "EventSourceChangedEvent", cEvent);
17230
17230
  no_instantiation(c);
17231
- rb_const_set(c, _IID, iid__new(&iid));
17231
+ rb_const_set(c, _IID, iid_new(&iid));
17232
17232
  rb_define_method(c, "listener", EventSourceChangedEvent__get_listener, 0);
17233
17233
  rb_define_method(c, "add", EventSourceChangedEvent__get_add, 0);
17234
17234
  }
@@ -17237,7 +17237,7 @@ static void comclass_init(VALUE under) {
17237
17237
  VALUE c = cExtraDataChangedEvent
17238
17238
  = rb_define_class_under(under, "ExtraDataChangedEvent", cEvent);
17239
17239
  no_instantiation(c);
17240
- rb_const_set(c, _IID, iid__new(&iid));
17240
+ rb_const_set(c, _IID, iid_new(&iid));
17241
17241
  rb_define_method(c, "machine_id", ExtraDataChangedEvent__get_machine_id, 0);
17242
17242
  rb_define_method(c, "key", ExtraDataChangedEvent__get_key, 0);
17243
17243
  rb_define_method(c, "value", ExtraDataChangedEvent__get_value, 0);
@@ -17247,7 +17247,7 @@ static void comclass_init(VALUE under) {
17247
17247
  VALUE c = cVetoEvent
17248
17248
  = rb_define_class_under(under, "VetoEvent", cEvent);
17249
17249
  no_instantiation(c);
17250
- rb_const_set(c, _IID, iid__new(&iid));
17250
+ rb_const_set(c, _IID, iid_new(&iid));
17251
17251
  rb_define_method(c, "add_veto", VetoEvent__add_veto, 1);
17252
17252
  rb_define_method(c, "is_vetoed", VetoEvent__is_vetoed, 0);
17253
17253
  rb_define_method(c, "get_vetos", VetoEvent__get_vetos, 0);
@@ -17257,7 +17257,7 @@ static void comclass_init(VALUE under) {
17257
17257
  VALUE c = cExtraDataCanChangeEvent
17258
17258
  = rb_define_class_under(under, "ExtraDataCanChangeEvent", cVetoEvent);
17259
17259
  no_instantiation(c);
17260
- rb_const_set(c, _IID, iid__new(&iid));
17260
+ rb_const_set(c, _IID, iid_new(&iid));
17261
17261
  rb_define_method(c, "machine_id", ExtraDataCanChangeEvent__get_machine_id, 0);
17262
17262
  rb_define_method(c, "key", ExtraDataCanChangeEvent__get_key, 0);
17263
17263
  rb_define_method(c, "value", ExtraDataCanChangeEvent__get_value, 0);
@@ -17267,14 +17267,14 @@ static void comclass_init(VALUE under) {
17267
17267
  VALUE c = cCanShowWindowEvent
17268
17268
  = rb_define_class_under(under, "CanShowWindowEvent", cVetoEvent);
17269
17269
  no_instantiation(c);
17270
- rb_const_set(c, _IID, iid__new(&iid));
17270
+ rb_const_set(c, _IID, iid_new(&iid));
17271
17271
  }
17272
17272
  {
17273
17273
  iid_t iid = {0xB0A0904D, 0x2F05, 0x4D28, {0x85, 0x5F, 0x48, 0x8F, 0x96, 0xBA, 0xD2, 0xB2}};
17274
17274
  VALUE c = cShowWindowEvent
17275
17275
  = rb_define_class_under(under, "ShowWindowEvent", cEvent);
17276
17276
  no_instantiation(c);
17277
- rb_const_set(c, _IID, iid__new(&iid));
17277
+ rb_const_set(c, _IID, iid_new(&iid));
17278
17278
  rb_define_method(c, "win_id", ShowWindowEvent__get_win_id, 0);
17279
17279
  rb_define_method(c, "win_id=", ShowWindowEvent__set_win_id, 1);
17280
17280
  }
@@ -17283,7 +17283,7 @@ static void comclass_init(VALUE under) {
17283
17283
  VALUE c = cNATRedirectEvent
17284
17284
  = rb_define_class_under(under, "NATRedirectEvent", cMachineEvent);
17285
17285
  no_instantiation(c);
17286
- rb_const_set(c, _IID, iid__new(&iid));
17286
+ rb_const_set(c, _IID, iid_new(&iid));
17287
17287
  rb_define_method(c, "slot", NATRedirectEvent__get_slot, 0);
17288
17288
  rb_define_method(c, "remove", NATRedirectEvent__get_remove, 0);
17289
17289
  rb_define_method(c, "name", NATRedirectEvent__get_name, 0);
@@ -17298,7 +17298,7 @@ static void comclass_init(VALUE under) {
17298
17298
  VALUE c = cHostPciDevicePlugEvent
17299
17299
  = rb_define_class_under(under, "HostPciDevicePlugEvent", cMachineEvent);
17300
17300
  no_instantiation(c);
17301
- rb_const_set(c, _IID, iid__new(&iid));
17301
+ rb_const_set(c, _IID, iid_new(&iid));
17302
17302
  rb_define_method(c, "plugged", HostPciDevicePlugEvent__get_plugged, 0);
17303
17303
  rb_define_method(c, "success", HostPciDevicePlugEvent__get_success, 0);
17304
17304
  rb_define_method(c, "attachment", HostPciDevicePlugEvent__get_attachment, 0);
@@ -17309,7 +17309,7 @@ static void comclass_init(VALUE under) {
17309
17309
  VALUE c = cVBoxSVCAvailabilityChangedEvent
17310
17310
  = rb_define_class_under(under, "VBoxSVCAvailabilityChangedEvent", cEvent);
17311
17311
  no_instantiation(c);
17312
- rb_const_set(c, _IID, iid__new(&iid));
17312
+ rb_const_set(c, _IID, iid_new(&iid));
17313
17313
  rb_define_method(c, "available", VBoxSVCAvailabilityChangedEvent__get_available, 0);
17314
17314
  }
17315
17315
  {
@@ -17317,7 +17317,7 @@ static void comclass_init(VALUE under) {
17317
17317
  VALUE c = cBandwidthGroupChangedEvent
17318
17318
  = rb_define_class_under(under, "BandwidthGroupChangedEvent", cEvent);
17319
17319
  no_instantiation(c);
17320
- rb_const_set(c, _IID, iid__new(&iid));
17320
+ rb_const_set(c, _IID, iid_new(&iid));
17321
17321
  rb_define_method(c, "bandwidth_group", BandwidthGroupChangedEvent__get_bandwidth_group, 0);
17322
17322
  }
17323
17323
  {
@@ -17325,7 +17325,7 @@ static void comclass_init(VALUE under) {
17325
17325
  VALUE c = cGuestMonitorChangedEvent
17326
17326
  = rb_define_class_under(under, "GuestMonitorChangedEvent", cEvent);
17327
17327
  no_instantiation(c);
17328
- rb_const_set(c, _IID, iid__new(&iid));
17328
+ rb_const_set(c, _IID, iid_new(&iid));
17329
17329
  rb_define_method(c, "change_type", GuestMonitorChangedEvent__get_change_type, 0);
17330
17330
  rb_define_method(c, "screen_id", GuestMonitorChangedEvent__get_screen_id, 0);
17331
17331
  rb_define_method(c, "origin_x", GuestMonitorChangedEvent__get_origin_x, 0);
@@ -17338,7 +17338,7 @@ static void comclass_init(VALUE under) {
17338
17338
  VALUE c = cStorageDeviceChangedEvent
17339
17339
  = rb_define_class_under(under, "StorageDeviceChangedEvent", cEvent);
17340
17340
  no_instantiation(c);
17341
- rb_const_set(c, _IID, iid__new(&iid));
17341
+ rb_const_set(c, _IID, iid_new(&iid));
17342
17342
  rb_define_method(c, "storage_device", StorageDeviceChangedEvent__get_storage_device, 0);
17343
17343
  rb_define_method(c, "removed", StorageDeviceChangedEvent__get_removed, 0);
17344
17344
  }