virtualbox-com 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module XPCOMC
14
14
  callback :pfnComUninitialize, [], :void
15
15
  callback :pfnComUnallocMem, [:pointer], :void
16
16
  callback :pfnUtf16Free, [:pointer], :void
17
- callback :pfnUtf8Free, [:string ], :void
17
+ callback :pfnUtf8Free, [:pointer], :void
18
18
  callback :pfnUtf16ToUtf8, [:pointer, :pointer], :int
19
19
  callback :pfnUtf8ToUtf16, [:string, :pointer], :int
20
20
  callback :pfnGetEventQueue, [:pointer], :void
@@ -33,6 +33,20 @@ module XPCOMC
33
33
  :pfnGetEventQueue, :pfnGetEventQueue,
34
34
  :uEndVersion, :uint
35
35
 
36
+
37
+ def free(pointer)
38
+ return if pointer.nil? || pointer.null?
39
+ self[:pfnComUnallocMem].call(pointer)
40
+ end
41
+
42
+ def binary_to_string(pointer, size)
43
+ return nil if pointer.null?
44
+ return '' if size == 0
45
+ pointer.read_bytes(size)
46
+ ensure
47
+ self[:pfnComUnallocMem].call(pointer) if !pointer.null?
48
+ end
49
+
36
50
  def string_to_utf16(string)
37
51
  return nil if string.nil?
38
52
  ptr = ::FFI::MemoryPointer.new(:pointer)
@@ -44,8 +58,10 @@ module XPCOMC
44
58
  return nil if pointer.null?
45
59
  result_pointer = ::FFI::MemoryPointer.new(:pointer)
46
60
  self[:pfnUtf16ToUtf8].call(pointer, result_pointer)
47
- self[:pfnUtf16Free].call(pointer)
48
61
  result_pointer.read_pointer().read_string()
62
+ ensure
63
+ self[:pfnUtf16Free].call(pointer ) if !pointer.null?
64
+ self[:pfnUtf8Free ].call(result_pointer) if !result_pointer.null?
49
65
  end
50
66
  end
51
67
  end
data/scripts/xidl-conv.rb CHANGED
@@ -18,11 +18,12 @@ EOT
18
18
 
19
19
  io << "module VirtualBox\n"
20
20
  io << "module COM\n"
21
+ io << "\n"
22
+ io << "MODEL_VERSION = \"4.2\"\n"
23
+ io << "\n"
21
24
  io << "module Model\n"
22
25
  io << "\n"
23
26
 
24
- io << "VERSION = \"4.2\"\n"
25
- io << "\n"
26
27
 
27
28
  io << <<-EOT
28
29
  class NSISupports < AbstractInterface
@@ -43,7 +44,7 @@ def cnv_type(name, array=nil, ptr=nil)
43
44
  return ':pointer' if ptr
44
45
  t = case name
45
46
  when 'boolean' then 'BOOL'
46
- when 'octet' then 'UINT8'
47
+ when 'octet' then 'OCTET'
47
48
  when 'short' then 'INT16'
48
49
  when 'unsigned short' then 'UINT16'
49
50
  when 'long' then 'INT32'
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
6
6
  s.name = "virtualbox-com"
7
7
  s.version = VirtualBox::COM::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
- s.authors = ["Mitchell Hashimoto"]
10
- s.email = ["mitchell.hashimoto@gmail.com"]
9
+ s.authors = ["Stephane D'Alu", "Mitchell Hashimoto"]
10
+ s.email = ["stephane.dalu@gmail.com", "mitchell.hashimoto@gmail.com"]
11
11
  s.homepage = "http://github.com/sdalu/virtualbox-com"
12
12
  s.summary = "Low level VirtualBox interraction using pure ruby"
13
13
  s.description = "Low level VirtualBox interraction using pure ruby"
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtualbox-com
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
+ - Stephane D'Alu
8
9
  - Mitchell Hashimoto
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-06-10 00:00:00.000000000 Z
13
+ date: 2013-06-14 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: ffi
@@ -61,6 +62,7 @@ dependencies:
61
62
  version: '0'
62
63
  description: Low level VirtualBox interraction using pure ruby
63
64
  email:
65
+ - stephane.dalu@gmail.com
64
66
  - mitchell.hashimoto@gmail.com
65
67
  executables: []
66
68
  extensions: []
@@ -69,8 +71,8 @@ files:
69
71
  - .gitignore
70
72
  - Gemfile
71
73
  - LICENSE
74
+ - README.md
72
75
  - Rakefile
73
- - Readme.md
74
76
  - examples/simple.rb
75
77
  - lib/virtualbox-com.rb
76
78
  - lib/virtualbox/com.rb
@@ -79,7 +81,6 @@ files:
79
81
  - lib/virtualbox/com/abstract_model.rb
80
82
  - lib/virtualbox/com/exceptions.rb
81
83
  - lib/virtualbox/com/iid.rb
82
- - lib/virtualbox/com/model/4.2-gen.rb
83
84
  - lib/virtualbox/com/model/4.2.rb
84
85
  - lib/virtualbox/com/util.rb
85
86
  - lib/virtualbox/com/version.rb
@@ -107,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
108
  version: '0'
108
109
  segments:
109
110
  - 0
110
- hash: 435323636523311339
111
+ hash: -3325507091138855696
111
112
  required_rubygems_version: !ruby/object:Gem::Requirement
112
113
  none: false
113
114
  requirements:
data/Readme.md DELETED
@@ -1,59 +0,0 @@
1
- # VirtualBox-Com Ruby Gem
2
-
3
- This is a simplified version of the unmaintained virtualbox gem
4
- by [Mitchell Hashimoto](https://github.com/mitchellh)
5
-
6
- The VirtualBox::COM ruby gem is a library which allows anyone to control
7
- VirtualBox from ruby code! Create, destroy, start, stop, suspend, and
8
- resume virtual machines. Also list virtual machines, list hard
9
- drives, network devices, etc.
10
-
11
- ## Installation and Requirements
12
-
13
- First you need to install [VirtualBox](http://www.virtualbox.org/)
14
- which is available for Windows, Linux, and OS X. After installation,
15
- install the gem:
16
-
17
- sudo gem install virtualbox-com
18
-
19
- The gem uses the native COM interface with VirtualBox provides to
20
- communicate with VirtualBox. The gem uses Ruby-FFI to talk to a
21
- dynamic library. No configuration should be necessary.
22
-
23
- ## Basic Usage
24
-
25
- require 'virtualbox-com'
26
-
27
- lib = VirtualBox::COM
28
-
29
- puts lib.virtualbox.machines[0].name
30
- puts lib.virtualbox.find_machine('Windows').groups
31
-
32
- ## Known Issues or Uncompleted Features
33
-
34
- All the classes are generated from the VirtualBox.xidl
35
-
36
- ## Reporting Bugs or Feature Requests
37
-
38
- Please use the [issue tracker](https://github.com/sdalu/virtualbox-com/issues).
39
-
40
- ## Contributing
41
-
42
- If you'd like to contribute to VirtualBox, the first step to developing is to
43
- clone this repo, get [bundler](http://github.com/carlhuda/bundler) if you
44
- don't have it already, and do the following:
45
-
46
- bundle install --relock
47
- rake
48
-
49
- This will run the test suite, which should come back all green! Then
50
- you're good to go!
51
-
52
- ## Special Thanks
53
-
54
- These folks went above and beyond with contributions to the virtualbox gem, and
55
- for that, I have to say "thanks!"
56
-
57
- * [Mitchell Hashimoto](https://github.com/mitchellh)
58
- * [Kieran Pilkington](https://github.com/KieranP)
59
- * [Aleksey Palazhchenko](https://github.com/AlekSi)
@@ -1,2720 +0,0 @@
1
- #
2
- # This file has been automatically generated from the VirtualBox.xidl
3
- #
4
-
5
- module VirtualBox
6
- module COM
7
- module Model
8
-
9
- VERSION = "4.2"
10
-
11
- class NSISupports < AbstractInterface
12
- iid "00000000-0000-0000-c000-000000000046"
13
- function :QueryInterface, :pointer, [ :pointer ], :hide => true
14
- function :AddRef, nil, [], :hide => true
15
- function :Release, nil, [], :hide => true
16
- end
17
-
18
- class SettingsVersion < AbstractEnum
19
- iid "52bd6f5f-1adb-4493-975d-581a9c4b803f"
20
- map({
21
- :null => 0,
22
- :v1_0 => 1,
23
- :v1_1 => 2,
24
- :v1_2 => 3,
25
- :v1_3pre => 4,
26
- :v1_3 => 5,
27
- :v1_4 => 6,
28
- :v1_5 => 7,
29
- :v1_6 => 8,
30
- :v1_7 => 9,
31
- :v1_8 => 10,
32
- :v1_9 => 11,
33
- :v1_10 => 12,
34
- :v1_11 => 13,
35
- :v1_12 => 14,
36
- :v1_13 => 15,
37
- :future => 99999,
38
- })
39
- setup
40
- end
41
-
42
- class AccessMode < AbstractEnum
43
- iid "1da0007c-ddf7-4be8-bcac-d84a1558785f"
44
- map({
45
- :read_only => 1,
46
- :read_write => 2,
47
- })
48
- setup
49
- end
50
-
51
- class MachineState < AbstractEnum
52
- iid "ec6c6a9e-113d-4ff4-b44f-0b69f21c97fe"
53
- map({
54
- :null => 0,
55
- :powered_off => 1,
56
- :saved => 2,
57
- :teleported => 3,
58
- :aborted => 4,
59
- :running => 5,
60
- :paused => 6,
61
- :stuck => 7,
62
- :teleporting => 8,
63
- :live_snapshotting => 9,
64
- :starting => 10,
65
- :stopping => 11,
66
- :saving => 12,
67
- :restoring => 13,
68
- :teleporting_paused_vm => 14,
69
- :teleporting_in => 15,
70
- :fault_tolerant_syncing => 16,
71
- :deleting_snapshot_online => 17,
72
- :deleting_snapshot_paused => 18,
73
- :restoring_snapshot => 19,
74
- :deleting_snapshot => 20,
75
- :setting_up => 21,
76
- :first_online => 5,
77
- :last_online => 18,
78
- :first_transient => 8,
79
- :last_transient => 21,
80
- })
81
- setup
82
- end
83
-
84
- class SessionState < AbstractEnum
85
- iid "cf2700c0-ea4b-47ae-9725-7810114b94d8"
86
- map({
87
- :null => 0,
88
- :unlocked => 1,
89
- :locked => 2,
90
- :spawning => 3,
91
- :unlocking => 4,
92
- })
93
- setup
94
- end
95
-
96
- class CPUPropertyType < AbstractEnum
97
- iid "24d356a6-2f45-4abd-b977-1cbe9c4701f5"
98
- map({
99
- :null => 0,
100
- :pae => 1,
101
- :synthetic => 2,
102
- })
103
- setup
104
- end
105
-
106
- class HWVirtExPropertyType < AbstractEnum
107
- iid "ce81dfdd-d2b8-4a90-bbea-40ee8b7ffcee"
108
- map({
109
- :null => 0,
110
- :enabled => 1,
111
- :exclusive => 2,
112
- :vpid => 3,
113
- :nested_paging => 4,
114
- :large_pages => 5,
115
- :force => 6,
116
- })
117
- setup
118
- end
119
-
120
- class FaultToleranceState < AbstractEnum
121
- iid "5124f7ec-6b67-493c-9dee-ee45a44114e1"
122
- map({
123
- :inactive => 1,
124
- :master => 2,
125
- :standby => 3,
126
- })
127
- setup
128
- end
129
-
130
- class LockType < AbstractEnum
131
- iid "168a6a8e-12fd-4878-a1f9-38a750a56089"
132
- map({
133
- :write => 2,
134
- :shared => 1,
135
- :vm => 3,
136
- })
137
- setup
138
- end
139
-
140
- class SessionType < AbstractEnum
141
- iid "A13C02CB-0C2C-421E-8317-AC0E8AAA153A"
142
- map({
143
- :null => 0,
144
- :write_lock => 1,
145
- :remote => 2,
146
- :shared => 3,
147
- })
148
- setup
149
- end
150
-
151
- class DeviceType < AbstractEnum
152
- iid "6d9420f7-0b56-4636-99f9-7346f1b01e57"
153
- map({
154
- :null => 0,
155
- :floppy => 1,
156
- :dvd => 2,
157
- :hard_disk => 3,
158
- :network => 4,
159
- :usb => 5,
160
- :shared_folder => 6,
161
- })
162
- setup
163
- end
164
-
165
- class DeviceActivity < AbstractEnum
166
- iid "6FC8AEAA-130A-4eb5-8954-3F921422D707"
167
- map({
168
- :null => 0,
169
- :idle => 1,
170
- :reading => 2,
171
- :writing => 3,
172
- })
173
- setup
174
- end
175
-
176
- class ClipboardMode < AbstractEnum
177
- iid "33364716-4008-4701-8f14-be0fa3d62950"
178
- map({
179
- :disabled => 0,
180
- :host_to_guest => 1,
181
- :guest_to_host => 2,
182
- :bidirectional => 3,
183
- })
184
- setup
185
- end
186
-
187
- class DragAndDropMode < AbstractEnum
188
- iid "b618ea0e-b6fb-4f8d-97f7-5e237e49b547"
189
- map({
190
- :disabled => 0,
191
- :host_to_guest => 1,
192
- :guest_to_host => 2,
193
- :bidirectional => 3,
194
- })
195
- setup
196
- end
197
-
198
- class Scope < AbstractEnum
199
- iid "7c91096e-499e-4eca-9f9b-9001438d7855"
200
- map({
201
- :global => 0,
202
- :machine => 1,
203
- :session => 2,
204
- })
205
- setup
206
- end
207
-
208
- class BIOSBootMenuMode < AbstractEnum
209
- iid "ae4fb9f7-29d2-45b4-b2c7-d579603135d5"
210
- map({
211
- :disabled => 0,
212
- :menu_only => 1,
213
- :message_and_menu => 2,
214
- })
215
- setup
216
- end
217
-
218
- class ProcessorFeature < AbstractEnum
219
- iid "64c38e6b-8bcf-45ad-ac03-9b406287c5bf"
220
- map({
221
- :hw_virt_ex => 0,
222
- :pae => 1,
223
- :long_mode => 2,
224
- :nested_paging => 3,
225
- })
226
- setup
227
- end
228
-
229
- class FirmwareType < AbstractEnum
230
- iid "b903f264-c230-483e-ac74-2b37ce60d371"
231
- map({
232
- :bios => 1,
233
- :efi => 2,
234
- :efi32 => 3,
235
- :efi64 => 4,
236
- :efidual => 5,
237
- })
238
- setup
239
- end
240
-
241
- class PointingHIDType < AbstractEnum
242
- iid "e44b2f7b-72ba-44fb-9e53-2186014f0d17"
243
- map({
244
- :none => 1,
245
- :ps2_mouse => 2,
246
- :usb_mouse => 3,
247
- :usb_tablet => 4,
248
- :combo_mouse => 5,
249
- })
250
- setup
251
- end
252
-
253
- class KeyboardHIDType < AbstractEnum
254
- iid "383e43d7-5c7c-4ec8-9cb8-eda1bccd6699"
255
- map({
256
- :none => 1,
257
- :ps2_keyboard => 2,
258
- :usb_keyboard => 3,
259
- :combo_keyboard => 4,
260
- })
261
- setup
262
- end
263
-
264
- class VFSType < AbstractEnum
265
- iid "813999ba-b949-48a8-9230-aadc6285e2f2"
266
- map({
267
- :file => 1,
268
- :cloud => 2,
269
- :s3 => 3,
270
- :web_dav => 4,
271
- })
272
- setup
273
- end
274
-
275
- class VFSFileType < AbstractEnum
276
- iid "714333cd-44e2-415f-a245-d378fa9b1242"
277
- map({
278
- :unknown => 1,
279
- :fifo => 2,
280
- :dev_char => 3,
281
- :directory => 4,
282
- :dev_block => 5,
283
- :file => 6,
284
- :sym_link => 7,
285
- :socket => 8,
286
- :white_out => 9,
287
- })
288
- setup
289
- end
290
-
291
- class ImportOptions < AbstractEnum
292
- iid "0a981523-3b20-4004-8ee3-dfd322202ace"
293
- map({
294
- :keep_all_macs => 1,
295
- :keep_nat_macs => 2,
296
- })
297
- setup
298
- end
299
-
300
- class VirtualSystemDescriptionType < AbstractEnum
301
- iid "303c0900-a746-4612-8c67-79003e91f459"
302
- map({
303
- :ignore => 1,
304
- :os => 2,
305
- :name => 3,
306
- :product => 4,
307
- :vendor => 5,
308
- :version => 6,
309
- :product_url => 7,
310
- :vendor_url => 8,
311
- :description => 9,
312
- :license => 10,
313
- :miscellaneous => 11,
314
- :cpu => 12,
315
- :memory => 13,
316
- :hard_disk_controller_ide => 14,
317
- :hard_disk_controller_sata => 15,
318
- :hard_disk_controller_scsi => 16,
319
- :hard_disk_controller_sas => 17,
320
- :hard_disk_image => 18,
321
- :floppy => 19,
322
- :cdrom => 20,
323
- :network_adapter => 21,
324
- :usb_controller => 22,
325
- :sound_card => 23,
326
- :settings_file => 24,
327
- })
328
- setup
329
- end
330
-
331
- class VirtualSystemDescriptionValueType < AbstractEnum
332
- iid "56d9403f-3425-4118-9919-36f2a9b8c77c"
333
- map({
334
- :reference => 1,
335
- :original => 2,
336
- :auto => 3,
337
- :extra_config => 4,
338
- })
339
- setup
340
- end
341
-
342
- class CleanupMode < AbstractEnum
343
- iid "67897c50-7cca-47a9-83f6-ce8fd8eb5441"
344
- map({
345
- :unregister_only => 1,
346
- :detach_all_return_none => 2,
347
- :detach_all_return_hard_disks_only => 3,
348
- :full => 4,
349
- })
350
- setup
351
- end
352
-
353
- class CloneMode < AbstractEnum
354
- iid "A7A159FE-5096-4B8D-8C3C-D033CB0B35A8"
355
- map({
356
- :machine_state => 1,
357
- :machine_and_child_states => 2,
358
- :all_states => 3,
359
- })
360
- setup
361
- end
362
-
363
- class CloneOptions < AbstractEnum
364
- iid "22243f8e-96ab-497c-8cf0-f40a566c630b"
365
- map({
366
- :link => 1,
367
- :keep_all_macs => 2,
368
- :keep_nat_macs => 3,
369
- :keep_disk_names => 4,
370
- })
371
- setup
372
- end
373
-
374
- class AutostopType < AbstractEnum
375
- iid "6bb96740-cf34-470d-aab2-2cd48ea2e10e"
376
- map({
377
- :disabled => 1,
378
- :save_state => 2,
379
- :power_off => 3,
380
- :acpi_shutdown => 4,
381
- })
382
- setup
383
- end
384
-
385
- class HostNetworkInterfaceMediumType < AbstractEnum
386
- iid "1aa54aaf-2497-45a2-bfb1-8eb225e93d5b"
387
- map({
388
- :unknown => 0,
389
- :ethernet => 1,
390
- :ppp => 2,
391
- :slip => 3,
392
- })
393
- setup
394
- end
395
-
396
- class HostNetworkInterfaceStatus < AbstractEnum
397
- iid "CC474A69-2710-434B-8D99-C38E5D5A6F41"
398
- map({
399
- :unknown => 0,
400
- :up => 1,
401
- :down => 2,
402
- })
403
- setup
404
- end
405
-
406
- class HostNetworkInterfaceType < AbstractEnum
407
- iid "67431b00-9946-48a2-bc02-b25c5919f4f3"
408
- map({
409
- :bridged => 1,
410
- :host_only => 2,
411
- })
412
- setup
413
- end
414
-
415
- class AdditionsFacilityType < AbstractEnum
416
- iid "98f7f957-89fb-49b6-a3b1-31e3285eb1d8"
417
- map({
418
- :none => 0,
419
- :vbox_guest_driver => 20,
420
- :auto_logon => 90,
421
- :vbox_service => 100,
422
- :vbox_tray_client => 101,
423
- :seamless => 1000,
424
- :graphics => 1100,
425
- :all => 2147483646,
426
- })
427
- setup
428
- end
429
-
430
- class AdditionsFacilityClass < AbstractEnum
431
- iid "446451b2-c88d-4e5d-84c9-91bc7f533f5f"
432
- map({
433
- :none => 0,
434
- :driver => 10,
435
- :service => 30,
436
- :program => 50,
437
- :feature => 100,
438
- :third_party => 999,
439
- :all => 2147483646,
440
- })
441
- setup
442
- end
443
-
444
- class AdditionsFacilityStatus < AbstractEnum
445
- iid "ce06f9e1-394e-4fe9-9368-5a88c567dbde"
446
- map({
447
- :inactive => 0,
448
- :paused => 1,
449
- :pre_init => 20,
450
- :init => 30,
451
- :active => 50,
452
- :terminating => 100,
453
- :terminated => 101,
454
- :failed => 800,
455
- :unknown => 999,
456
- })
457
- setup
458
- end
459
-
460
- class AdditionsRunLevelType < AbstractEnum
461
- iid "a25417ee-a9dd-4f5b-b0dc-377860087754"
462
- map({
463
- :none => 0,
464
- :system => 1,
465
- :userland => 2,
466
- :desktop => 3,
467
- })
468
- setup
469
- end
470
-
471
- class AdditionsUpdateFlag < AbstractEnum
472
- iid "726a818d-18d6-4389-94e8-3e9e6826171a"
473
- map({
474
- :none => 0,
475
- :wait_for_update_start_only => 1,
476
- })
477
- setup
478
- end
479
-
480
- class FileSeekType < AbstractEnum
481
- iid "1b73f4f3-3515-4073-a506-76878d9e2541"
482
- map({
483
- :set => 0,
484
- :current => 1,
485
- })
486
- setup
487
- end
488
-
489
- class ProcessInputFlag < AbstractEnum
490
- iid "5d38c1dd-2604-4ddf-92e5-0c0cdd3bdbd5"
491
- map({
492
- :none => 0,
493
- :end_of_file => 1,
494
- })
495
- setup
496
- end
497
-
498
- class ProcessOutputFlag < AbstractEnum
499
- iid "9979e85a-52bb-40b7-870c-57115e27e0f1"
500
- map({
501
- :none => 0,
502
- :std_err => 1,
503
- })
504
- setup
505
- end
506
-
507
- class ProcessWaitForFlag < AbstractEnum
508
- iid "23b550c7-78e1-437e-98f0-65fd9757bcd2"
509
- map({
510
- :none => 0,
511
- :start => 1,
512
- :terminate => 2,
513
- :std_in => 4,
514
- :std_out => 8,
515
- :std_err => 16,
516
- })
517
- setup
518
- end
519
-
520
- class ProcessWaitResult < AbstractEnum
521
- iid "40719cbe-f192-4fe9-a231-6697b3c8e2b4"
522
- map({
523
- :none => 0,
524
- :start => 1,
525
- :terminate => 2,
526
- :status => 3,
527
- :error => 4,
528
- :timeout => 5,
529
- :std_in => 6,
530
- :std_out => 7,
531
- :std_err => 8,
532
- :wait_flag_not_supported => 9,
533
- })
534
- setup
535
- end
536
-
537
- class CopyFileFlag < AbstractEnum
538
- iid "23f79fdf-738a-493d-b80b-42d607c9b916"
539
- map({
540
- :none => 0,
541
- :recursive => 1,
542
- :update => 2,
543
- :follow_links => 4,
544
- })
545
- setup
546
- end
547
-
548
- class DirectoryCreateFlag < AbstractEnum
549
- iid "bd721b0e-ced5-4f79-b368-249897c32a36"
550
- map({
551
- :none => 0,
552
- :parents => 1,
553
- })
554
- setup
555
- end
556
-
557
- class DirectoryRemoveRecFlag < AbstractEnum
558
- iid "455aabf0-7692-48f6-9061-f21579b65769"
559
- map({
560
- :none => 0,
561
- :content_and_dir => 1,
562
- :content_only => 2,
563
- })
564
- setup
565
- end
566
-
567
- class PathRenameFlag < AbstractEnum
568
- iid "f3baa09f-c758-453d-b91c-c7787d76351d"
569
- map({
570
- :none => 0,
571
- :no_replace => 1,
572
- :replace => 2,
573
- :no_symlinks => 4,
574
- })
575
- setup
576
- end
577
-
578
- class ProcessCreateFlag < AbstractEnum
579
- iid "35192799-bfde-405d-9bea-c735ab9998e4"
580
- map({
581
- :none => 0,
582
- :wait_for_process_start_only => 1,
583
- :ignore_orphaned_processes => 2,
584
- :hidden => 4,
585
- :no_profile => 8,
586
- :wait_for_std_out => 16,
587
- :wait_for_std_err => 32,
588
- :expand_arguments => 64,
589
- })
590
- setup
591
- end
592
-
593
- class ProcessPriority < AbstractEnum
594
- iid "ee8cac50-e232-49fe-806b-d1214d9c2e49"
595
- map({
596
- :invalid => 0,
597
- :default => 1,
598
- })
599
- setup
600
- end
601
-
602
- class SymlinkType < AbstractEnum
603
- iid "37794668-f8f1-4714-98a5-6f8fa2ed0118"
604
- map({
605
- :unknown => 0,
606
- :directory => 1,
607
- :file => 2,
608
- })
609
- setup
610
- end
611
-
612
- class SymlinkReadFlag < AbstractEnum
613
- iid "b7fe2b9d-790e-4b25-8adf-1ca33026931f"
614
- map({
615
- :none => 0,
616
- :no_symlinks => 1,
617
- })
618
- setup
619
- end
620
-
621
- class ProcessStatus < AbstractEnum
622
- iid "4d52368f-5b48-4bfe-b486-acf89139b52f"
623
- map({
624
- :undefined => 0,
625
- :starting => 10,
626
- :started => 100,
627
- :paused => 110,
628
- :terminating => 480,
629
- :terminated_normally => 500,
630
- :terminated_signal => 510,
631
- :terminated_abnormally => 511,
632
- :timed_out_killed => 512,
633
- :timed_out_abnormally => 513,
634
- :down => 600,
635
- :error => 800,
636
- })
637
- setup
638
- end
639
-
640
- class FsObjType < AbstractEnum
641
- iid "a1ed437c-b3c3-4ca2-b19c-4239d658d5e8"
642
- map({
643
- :undefined => 0,
644
- :fifo => 1,
645
- :dev_char => 10,
646
- :dev_block => 11,
647
- :directory => 50,
648
- :file => 80,
649
- :symlink => 100,
650
- :socket => 200,
651
- :whiteout => 400,
652
- })
653
- setup
654
- end
655
-
656
- class DragAndDropAction < AbstractEnum
657
- iid "47f3b162-c107-4fcd-bfa7-54b8135c441e"
658
- map({
659
- :ignore => 0,
660
- :copy => 1,
661
- :move => 2,
662
- :link => 3,
663
- })
664
- setup
665
- end
666
-
667
- class DirectoryOpenFlag < AbstractEnum
668
- iid "5138837a-8fd2-4194-a1b0-08f7bc3949d0"
669
- map({
670
- :none => 0,
671
- :no_symlinks => 1,
672
- })
673
- setup
674
- end
675
-
676
- class MediumState < AbstractEnum
677
- iid "ef41e980-e012-43cd-9dea-479d4ef14d13"
678
- map({
679
- :not_created => 0,
680
- :created => 1,
681
- :locked_read => 2,
682
- :locked_write => 3,
683
- :inaccessible => 4,
684
- :creating => 5,
685
- :deleting => 6,
686
- })
687
- setup
688
- end
689
-
690
- class MediumType < AbstractEnum
691
- iid "fe663fb5-c244-4e1b-9d81-c628b417dd04"
692
- map({
693
- :normal => 0,
694
- :immutable => 1,
695
- :writethrough => 2,
696
- :shareable => 3,
697
- :readonly => 4,
698
- :multi_attach => 5,
699
- })
700
- setup
701
- end
702
-
703
- class MediumVariant < AbstractEnum
704
- iid "80685b6b-e42f-497d-8271-e77bf3c61ada"
705
- map({
706
- :standard => 0,
707
- :vmdk_split2g => 0x01,
708
- :vmdk_raw_disk => 0x02,
709
- :vmdk_stream_optimized => 0x04,
710
- :vmdk_esx => 0x08,
711
- :fixed => 0x10000,
712
- :diff => 0x20000,
713
- :no_create_dir => 0x40000000,
714
- })
715
- setup
716
- end
717
-
718
- class DataType < AbstractEnum
719
- iid "d90ea51e-a3f1-4a01-beb1-c1723c0d3ba7"
720
- map({
721
- :int32 => 0,
722
- :int8 => 1,
723
- :string => 2,
724
- })
725
- setup
726
- end
727
-
728
- class DataFlags < AbstractEnum
729
- iid "86884dcf-1d6b-4f1b-b4bf-f5aa44959d60"
730
- map({
731
- :none => 0x00,
732
- :mandatory => 0x01,
733
- :expert => 0x02,
734
- :array => 0x04,
735
- :flag_mask => 0x07,
736
- })
737
- setup
738
- end
739
-
740
- class MediumFormatCapabilities < AbstractEnum
741
- iid "7342ba79-7ce0-4d94-8f86-5ed5a185d9bd"
742
- map({
743
- :uuid => 0x01,
744
- :create_fixed => 0x02,
745
- :create_dynamic => 0x04,
746
- :create_split2g => 0x08,
747
- :differencing => 0x10,
748
- :asynchronous => 0x20,
749
- :file => 0x40,
750
- :properties => 0x80,
751
- :tcp_networking => 0x100,
752
- :vfs => 0x200,
753
- :capability_mask => 0x3FF,
754
- })
755
- setup
756
- end
757
-
758
- class MouseButtonState < AbstractEnum
759
- iid "9ee094b8-b28a-4d56-a166-973cb588d7f8"
760
- map({
761
- :left_button => 0x01,
762
- :right_button => 0x02,
763
- :middle_button => 0x04,
764
- :wheel_up => 0x08,
765
- :wheel_down => 0x10,
766
- :x_button1 => 0x20,
767
- :x_button2 => 0x40,
768
- :mouse_state_mask => 0x7F,
769
- })
770
- setup
771
- end
772
-
773
- class FramebufferPixelFormat < AbstractEnum
774
- iid "7acfd5ed-29e3-45e3-8136-73c9224f3d2d"
775
- map({
776
- :opaque => 0,
777
- :fourcc_rgb => 0x32424752,
778
- })
779
- setup
780
- end
781
-
782
- class NetworkAttachmentType < AbstractEnum
783
- iid "2ac4bc71-6b82-417a-acd1-f7426d2570d6"
784
- map({
785
- :null => 0,
786
- :nat => 1,
787
- :bridged => 2,
788
- :internal => 3,
789
- :host_only => 4,
790
- :generic => 5,
791
- })
792
- setup
793
- end
794
-
795
- class NetworkAdapterType < AbstractEnum
796
- iid "3c2281e4-d952-4e87-8c7d-24379cb6a81c"
797
- map({
798
- :null => 0,
799
- :am79c970a => 1,
800
- :am79c973 => 2,
801
- :i82540em => 3,
802
- :i82543gc => 4,
803
- :i82545em => 5,
804
- :virtio => 6,
805
- })
806
- setup
807
- end
808
-
809
- class NetworkAdapterPromiscModePolicy < AbstractEnum
810
- iid "c963768a-376f-4c85-8d84-d8ced4b7269e"
811
- map({
812
- :deny => 1,
813
- :allow_network => 2,
814
- :allow_all => 3,
815
- })
816
- setup
817
- end
818
-
819
- class PortMode < AbstractEnum
820
- iid "533b5fe3-0185-4197-86a7-17e37dd39d76"
821
- map({
822
- :disconnected => 0,
823
- :host_pipe => 1,
824
- :host_device => 2,
825
- :raw_file => 3,
826
- })
827
- setup
828
- end
829
-
830
- class USBDeviceState < AbstractEnum
831
- iid "b99a2e65-67fb-4882-82fd-f3e5e8193ab4"
832
- map({
833
- :not_supported => 0,
834
- :unavailable => 1,
835
- :busy => 2,
836
- :available => 3,
837
- :held => 4,
838
- :captured => 5,
839
- })
840
- setup
841
- end
842
-
843
- class USBDeviceFilterAction < AbstractEnum
844
- iid "cbc30a49-2f4e-43b5-9da6-121320475933"
845
- map({
846
- :null => 0,
847
- :ignore => 1,
848
- :hold => 2,
849
- })
850
- setup
851
- end
852
-
853
- class AudioDriverType < AbstractEnum
854
- iid "4bcc3d73-c2fe-40db-b72f-0c2ca9d68496"
855
- map({
856
- :null => 0,
857
- :winmm => 1,
858
- :oss => 2,
859
- :alsa => 3,
860
- :direct_sound => 4,
861
- :core_audio => 5,
862
- :mmpm => 6,
863
- :pulse => 7,
864
- :sol_audio => 8,
865
- })
866
- setup
867
- end
868
-
869
- class AudioControllerType < AbstractEnum
870
- iid "7afd395c-42c3-444e-8788-3ce80292f36c"
871
- map({
872
- :ac97 => 0,
873
- :sb16 => 1,
874
- :hda => 2,
875
- })
876
- setup
877
- end
878
-
879
- class AuthType < AbstractEnum
880
- iid "7eef6ef6-98c2-4dc2-ab35-10d2b292028d"
881
- map({
882
- :null => 0,
883
- :external => 1,
884
- :guest => 2,
885
- })
886
- setup
887
- end
888
-
889
- class StorageBus < AbstractEnum
890
- iid "eee67ab3-668d-4ef5-91e0-7025fe4a0d7a"
891
- map({
892
- :null => 0,
893
- :ide => 1,
894
- :sata => 2,
895
- :scsi => 3,
896
- :floppy => 4,
897
- :sas => 5,
898
- })
899
- setup
900
- end
901
-
902
- class StorageControllerType < AbstractEnum
903
- iid "8a412b8a-f43e-4456-bd37-b474f0879a58"
904
- map({
905
- :null => 0,
906
- :lsi_logic => 1,
907
- :bus_logic => 2,
908
- :intel_ahci => 3,
909
- :piix3 => 4,
910
- :piix4 => 5,
911
- :ich6 => 6,
912
- :i82078 => 7,
913
- :lsi_logic_sas => 8,
914
- })
915
- setup
916
- end
917
-
918
- class ChipsetType < AbstractEnum
919
- iid "8b4096a8-a7c3-4d3b-bbb1-05a0a51ec394"
920
- map({
921
- :null => 0,
922
- :piix3 => 1,
923
- :ich9 => 2,
924
- })
925
- setup
926
- end
927
-
928
- class NATAliasMode < AbstractEnum
929
- iid "67772168-50d9-11df-9669-7fb714ee4fa1"
930
- map({
931
- :alias_log => 0x1,
932
- :alias_proxy_only => 0x02,
933
- :alias_use_same_ports => 0x04,
934
- })
935
- setup
936
- end
937
-
938
- class NATProtocol < AbstractEnum
939
- iid "e90164be-eb03-11de-94af-fff9b1c1b19f"
940
- map({
941
- :udp => 0,
942
- :tcp => 1,
943
- })
944
- setup
945
- end
946
-
947
- class BandwidthGroupType < AbstractEnum
948
- iid "1d92b67d-dc69-4be9-ad4c-93a01e1e0c8e"
949
- map({
950
- :null => 0,
951
- :disk => 1,
952
- :network => 2,
953
- })
954
- setup
955
- end
956
-
957
- class VBoxEventType < AbstractEnum
958
- iid "0d67e79e-b7b1-4919-aab3-b36866075515"
959
- map({
960
- :invalid => 0,
961
- :any => 1,
962
- :vetoable => 2,
963
- :machine_event => 3,
964
- :snapshot_event => 4,
965
- :input_event => 5,
966
- :last_wildcard => 31,
967
- :on_machine_state_changed => 32,
968
- :on_machine_data_changed => 33,
969
- :on_extra_data_changed => 34,
970
- :on_extra_data_can_change => 35,
971
- :on_medium_registered => 36,
972
- :on_machine_registered => 37,
973
- :on_session_state_changed => 38,
974
- :on_snapshot_taken => 39,
975
- :on_snapshot_deleted => 40,
976
- :on_snapshot_changed => 41,
977
- :on_guest_property_changed => 42,
978
- :on_mouse_pointer_shape_changed => 43,
979
- :on_mouse_capability_changed => 44,
980
- :on_keyboard_leds_changed => 45,
981
- :on_state_changed => 46,
982
- :on_additions_state_changed => 47,
983
- :on_network_adapter_changed => 48,
984
- :on_serial_port_changed => 49,
985
- :on_parallel_port_changed => 50,
986
- :on_storage_controller_changed => 51,
987
- :on_medium_changed => 52,
988
- :on_vrde_server_changed => 53,
989
- :on_usb_controller_changed => 54,
990
- :on_usb_device_state_changed => 55,
991
- :on_shared_folder_changed => 56,
992
- :on_runtime_error => 57,
993
- :on_can_show_window => 58,
994
- :on_show_window => 59,
995
- :on_cpu_changed => 60,
996
- :on_vrde_server_info_changed => 61,
997
- :on_event_source_changed => 62,
998
- :on_cpu_execution_cap_changed => 63,
999
- :on_guest_keyboard => 64,
1000
- :on_guest_mouse => 65,
1001
- :on_nat_redirect => 66,
1002
- :on_host_pci_device_plug => 67,
1003
- :on_vbox_svc_availability_changed => 68,
1004
- :on_bandwidth_group_changed => 69,
1005
- :on_guest_monitor_changed => 70,
1006
- :on_storage_device_changed => 71,
1007
- :on_clipboard_mode_changed => 72,
1008
- :on_drag_and_drop_mode_changed => 73,
1009
- :last => 74,
1010
- })
1011
- setup
1012
- end
1013
-
1014
- class GuestMonitorChangedEventType < AbstractEnum
1015
- iid "ef172985-7e36-4297-95be-e46396968d66"
1016
- map({
1017
- :enabled => 0,
1018
- :disabled => 1,
1019
- :new_origin => 2,
1020
- })
1021
- setup
1022
- end
1023
-
1024
- class VirtualBoxErrorInfo < AbstractInterface
1025
- iid "f91e6e91-49e1-4fd2-b21e-269003350d06"
1026
- property :result_code, INT32, :readonly => true
1027
- property :interface_i_d, WSTRING, :readonly => true
1028
- property :component, WSTRING, :readonly => true
1029
- property :text, WSTRING, :readonly => true
1030
- property :next, :VirtualBoxErrorInfo, :readonly => true
1031
- setup
1032
- end
1033
-
1034
- class DHCPServer < AbstractInterface
1035
- iid "6cfe387c-74fb-4ca7-bff6-973bec8af7a3"
1036
- extends :NSISupports
1037
- property :enabled, BOOL
1038
- property :ip_address, WSTRING, :readonly => true
1039
- property :network_mask, WSTRING, :readonly => true
1040
- property :network_name, WSTRING, :readonly => true
1041
- property :lower_ip, WSTRING, :readonly => true
1042
- property :upper_ip, WSTRING, :readonly => true
1043
- function :set_configuration, nil, [WSTRING, WSTRING, WSTRING, WSTRING]
1044
- function :start, nil, [WSTRING, WSTRING, WSTRING]
1045
- function :stop, nil, []
1046
- setup
1047
- end
1048
-
1049
- class VirtualBox < AbstractInterface
1050
- iid "3b2f08eb-b810-4715-bee0-bb06b9880ad2"
1051
- extends :NSISupports
1052
- property :version, WSTRING, :readonly => true
1053
- property :version_normalized, WSTRING, :readonly => true
1054
- property :revision, UINT32, :readonly => true
1055
- property :package_type, WSTRING, :readonly => true
1056
- property :api_version, WSTRING, :readonly => true
1057
- property :home_folder, WSTRING, :readonly => true
1058
- property :settings_file_path, WSTRING, :readonly => true
1059
- property :host, :Host, :readonly => true
1060
- property :system_properties, :SystemProperties, :readonly => true
1061
- property :machines, [:Machine], :readonly => true
1062
- property :machine_groups, [WSTRING], :readonly => true
1063
- property :hard_disks, [:Medium], :readonly => true
1064
- property :dvd_images, [:Medium], :readonly => true
1065
- property :floppy_images, [:Medium], :readonly => true
1066
- property :progress_operations, [:Progress], :readonly => true
1067
- property :guest_os_types, [:GuestOSType], :readonly => true
1068
- property :shared_folders, [:SharedFolder], :readonly => true
1069
- property :performance_collector, :PerformanceCollector, :readonly => true
1070
- property :dhcp_servers, [:DHCPServer], :readonly => true
1071
- property :event_source, :EventSource, :readonly => true
1072
- property :extension_pack_manager, :ExtPackManager, :readonly => true
1073
- property :internal_networks, [WSTRING], :readonly => true
1074
- property :generic_network_drivers, [WSTRING], :readonly => true
1075
- function :compose_machine_filename, WSTRING, [WSTRING, WSTRING, WSTRING, WSTRING]
1076
- function :create_machine, :Machine, [WSTRING, WSTRING, [WSTRING], WSTRING, WSTRING]
1077
- function :open_machine, :Machine, [WSTRING]
1078
- function :register_machine, nil, [:Machine]
1079
- function :find_machine, :Machine, [WSTRING]
1080
- function :get_machines_by_groups, [:Machine], [[WSTRING]]
1081
- function :get_machine_states, [:MachineState], [[:Machine]]
1082
- function :create_appliance, :Appliance, []
1083
- function :create_hard_disk, :Medium, [WSTRING, WSTRING]
1084
- function :open_medium, :Medium, [WSTRING, :DeviceType, :AccessMode, BOOL]
1085
- function :get_guest_os_type, :GuestOSType, [WSTRING]
1086
- function :create_shared_folder, nil, [WSTRING, WSTRING, BOOL, BOOL]
1087
- function :remove_shared_folder, nil, [WSTRING]
1088
- function :get_extra_data_keys, [WSTRING], []
1089
- function :get_extra_data, WSTRING, [WSTRING]
1090
- function :set_extra_data, nil, [WSTRING, WSTRING]
1091
- function :set_settings_secret, nil, [WSTRING]
1092
- function :create_dhcp_server, :DHCPServer, [WSTRING]
1093
- function :find_dhcp_server_by_network_name, :DHCPServer, [WSTRING]
1094
- function :remove_dhcp_server, nil, [:DHCPServer]
1095
- function :check_firmware_present, BOOL, [:FirmwareType, WSTRING, [:out, WSTRING], [:out, WSTRING]]
1096
- setup
1097
- end
1098
-
1099
- class VFSExplorer < AbstractInterface
1100
- iid "003d7f92-d38e-487f-b790-8c5e8631cb2f"
1101
- extends :NSISupports
1102
- property :path, WSTRING, :readonly => true
1103
- property :type, :VFSType, :readonly => true
1104
- function :update, :Progress, []
1105
- function :cd, :Progress, [WSTRING]
1106
- function :cd_up, :Progress, []
1107
- function :entry_list, nil, [[:out, [WSTRING]], [:out, [UINT32]], [:out, [UINT32]], [:out, [UINT32]]]
1108
- function :exists, [WSTRING], [[WSTRING]]
1109
- function :remove, :Progress, [[WSTRING]]
1110
- setup
1111
- end
1112
-
1113
- class Appliance < AbstractInterface
1114
- iid "3059cf9e-25c7-4f0b-9fa5-3c42e441670b"
1115
- extends :NSISupports
1116
- property :path, WSTRING, :readonly => true
1117
- property :disks, [WSTRING], :readonly => true
1118
- property :virtual_system_descriptions, [:VirtualSystemDescription], :readonly => true
1119
- property :machines, [WSTRING], :readonly => true
1120
- function :read, :Progress, [WSTRING]
1121
- function :interpret, nil, []
1122
- function :import_machines, :Progress, [[:mportOptions]]
1123
- function :create_vfs_explorer, :VFSExplorer, [WSTRING]
1124
- function :write, :Progress, [WSTRING, BOOL, WSTRING]
1125
- function :get_warnings, [WSTRING], []
1126
- setup
1127
- end
1128
-
1129
- class VirtualSystemDescription < AbstractInterface
1130
- iid "d7525e6c-531a-4c51-8e04-41235083a3d8"
1131
- extends :NSISupports
1132
- property :count, UINT32, :readonly => true
1133
- function :get_description, nil, [[:out, [:VirtualSystemDescriptionType]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]]]
1134
- function :get_description_by_type, nil, [:VirtualSystemDescriptionType, [:out, [:VirtualSystemDescriptionType]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]]]
1135
- function :get_values_by_type, [WSTRING], [:VirtualSystemDescriptionType, :VirtualSystemDescriptionValueType]
1136
- function :set_final_values, nil, [[BOOL], [WSTRING], [WSTRING]]
1137
- function :add_description, nil, [:VirtualSystemDescriptionType, WSTRING, WSTRING]
1138
- setup
1139
- end
1140
-
1141
- class InternalMachineControl < AbstractInterface
1142
- iid "dca36a92-703c-4649-98a4-f40c1ef0c336"
1143
- extends :NSISupports
1144
- function :set_remove_saved_state_file, nil, [BOOL]
1145
- function :update_state, nil, [:MachineState]
1146
- function :get_ipcid, WSTRING, []
1147
- function :begin_power_up, nil, [:Progress]
1148
- function :end_power_up, nil, [INT32]
1149
- function :begin_powering_down, nil, [[:out, :Progress]]
1150
- function :end_powering_down, nil, [INT32, WSTRING]
1151
- function :run_usb_device_filters, nil, [:USBDevice, [:out, BOOL], [:out, UINT32]]
1152
- function :capture_usb_device, nil, [WSTRING]
1153
- function :detach_usb_device, nil, [WSTRING, BOOL]
1154
- function :auto_capture_usb_devices, nil, []
1155
- function :detach_all_usb_devices, nil, [BOOL]
1156
- function :on_session_end, :Progress, [:Session]
1157
- function :begin_saving_state, nil, [[:out, :Progress], [:out, WSTRING]]
1158
- function :end_saving_state, nil, [INT32, WSTRING]
1159
- function :adopt_saved_state, nil, [WSTRING]
1160
- function :begin_taking_snapshot, nil, [:Console, WSTRING, WSTRING, :Progress, BOOL, [:out, WSTRING]]
1161
- function :end_taking_snapshot, nil, [BOOL]
1162
- function :delete_snapshot, :Progress, [:Console, WSTRING, WSTRING, BOOL, [:out, :MachineState]]
1163
- function :finish_online_merge_medium, nil, [:MediumAttachment, :Medium, :Medium, BOOL, :Medium, [:Medium]]
1164
- function :restore_snapshot, :Progress, [:Console, :Snapshot, [:out, :MachineState]]
1165
- function :pull_guest_properties, nil, [[:out, [WSTRING]], [:out, [WSTRING]], [:out, [INT64]], [:out, [WSTRING]]]
1166
- function :push_guest_property, nil, [WSTRING, WSTRING, INT64, WSTRING]
1167
- function :lock_media, nil, []
1168
- function :unlock_media, nil, []
1169
- function :eject_medium, :MediumAttachment, [:MediumAttachment]
1170
- function :report_vm_statistics, nil, [UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32]
1171
- setup
1172
- end
1173
-
1174
- class BIOSSettings < AbstractInterface
1175
- iid "38b54279-dc35-4f5e-a431-835b867c6b5e"
1176
- extends :NSISupports
1177
- property :logo_fade_in, BOOL
1178
- property :logo_fade_out, BOOL
1179
- property :logo_display_time, UINT32
1180
- property :logo_image_path, WSTRING
1181
- property :boot_menu_mode, :BIOSBootMenuMode
1182
- property :acpi_enabled, BOOL
1183
- property :io_apic_enabled, BOOL
1184
- property :time_offset, INT64
1185
- property :pxe_debug_enabled, BOOL
1186
- setup
1187
- end
1188
-
1189
- class PCIAddress < AbstractInterface
1190
- iid "D88B324F-DB19-4D3B-A1A9-BF5B127199A8"
1191
- extends :NSISupports
1192
- property :bus, INT16
1193
- property :device, INT16
1194
- property :dev_function, INT16
1195
- function :as_long, INT32, []
1196
- function :from_long, nil, [INT32]
1197
- setup
1198
- end
1199
-
1200
- class PCIDeviceAttachment < AbstractInterface
1201
- iid "91f33d6f-e621-4f70-a77e-15f0e3c714d5"
1202
- extends :NSISupports
1203
- property :name, WSTRING, :readonly => true
1204
- property :is_physical_device, BOOL, :readonly => true
1205
- property :host_address, INT32, :readonly => true
1206
- property :guest_address, INT32, :readonly => true
1207
- setup
1208
- end
1209
-
1210
- class Machine < AbstractInterface
1211
- iid "22781af3-1c96-4126-9edf-67a020e0e858"
1212
- extends :NSISupports
1213
- property :parent, :VirtualBox, :readonly => true
1214
- property :accessible, BOOL, :readonly => true
1215
- property :access_error, :VirtualBoxErrorInfo, :readonly => true
1216
- property :name, WSTRING
1217
- property :description, WSTRING
1218
- property :id, WSTRING, :readonly => true
1219
- property :groups, [WSTRING]
1220
- property :os_type_id, WSTRING
1221
- property :hardware_version, WSTRING
1222
- property :hardware_u_uid, WSTRING
1223
- property :cpu_count, UINT32
1224
- property :cpu_hot_plug_enabled, BOOL
1225
- property :cpu_execution_cap, UINT32
1226
- property :memory_size, UINT32
1227
- property :memory_balloon_size, UINT32
1228
- property :page_fusion_enabled, BOOL
1229
- property :vram_size, UINT32
1230
- property :accelerate3d_enabled, BOOL
1231
- property :accelerate2_d_video_enabled, BOOL
1232
- property :monitor_count, UINT32
1233
- property :video_capture_enabled, BOOL
1234
- property :video_capture_file, WSTRING
1235
- property :video_capture_width, UINT32
1236
- property :video_capture_height, UINT32
1237
- property :bios_settings, :BIOSSettings, :readonly => true
1238
- property :firmware_type, :FirmwareType
1239
- property :pointing_h_i_d_type, :PointingHIDType
1240
- property :keyboard_h_i_d_type, :KeyboardHIDType
1241
- property :h_p_e_t_enabled, BOOL
1242
- property :chipset_type, :ChipsetType
1243
- property :snapshot_folder, WSTRING
1244
- property :vrde_server, :VRDEServer, :readonly => true
1245
- property :emulated_usb_webcamera_enabled, BOOL
1246
- property :emulated_usb_card_reader_enabled, BOOL
1247
- property :medium_attachments, [:MediumAttachment], :readonly => true
1248
- property :usb_controller, :USBController, :readonly => true
1249
- property :audio_adapter, :AudioAdapter, :readonly => true
1250
- property :storage_controllers, [:StorageController], :readonly => true
1251
- property :settings_file_path, WSTRING, :readonly => true
1252
- property :settings_modified, BOOL, :readonly => true
1253
- property :session_state, :SessionState, :readonly => true
1254
- property :session_type, WSTRING, :readonly => true
1255
- property :session_pid, UINT32, :readonly => true
1256
- property :state, :MachineState, :readonly => true
1257
- property :last_state_change, INT64, :readonly => true
1258
- property :state_file_path, WSTRING, :readonly => true
1259
- property :log_folder, WSTRING, :readonly => true
1260
- property :current_snapshot, :Snapshot, :readonly => true
1261
- property :snapshot_count, UINT32, :readonly => true
1262
- property :current_state_modified, BOOL, :readonly => true
1263
- property :shared_folders, [:SharedFolder], :readonly => true
1264
- property :clipboard_mode, :ClipboardMode
1265
- property :drag_and_drop_mode, :DragAndDropMode
1266
- property :guest_property_notification_patterns, WSTRING
1267
- property :teleporter_enabled, BOOL
1268
- property :teleporter_port, UINT32
1269
- property :teleporter_address, WSTRING
1270
- property :teleporter_password, WSTRING
1271
- property :fault_tolerance_state, :FaultToleranceState
1272
- property :fault_tolerance_port, UINT32
1273
- property :fault_tolerance_address, WSTRING
1274
- property :fault_tolerance_password, WSTRING
1275
- property :fault_tolerance_sync_interval, UINT32
1276
- property :rtc_use_utc, BOOL
1277
- property :io_cache_enabled, BOOL
1278
- property :io_cache_size, UINT32
1279
- property :pci_device_assignments, [:PCIDeviceAttachment], :readonly => true
1280
- property :bandwidth_control, :BandwidthControl, :readonly => true
1281
- property :tracing_enabled, BOOL
1282
- property :tracing_config, WSTRING
1283
- property :allow_tracing_to_access_vm, BOOL
1284
- property :autostart_enabled, BOOL
1285
- property :autostart_delay, UINT32
1286
- property :autostop_type, :AutostopType
1287
- function :lock_machine, nil, [:Session, :LockType]
1288
- function :launch_vm_process, :Progress, [:Session, WSTRING, WSTRING]
1289
- function :set_boot_order, nil, [UINT32, :DeviceType]
1290
- function :get_boot_order, :DeviceType, [UINT32]
1291
- function :attach_device, nil, [WSTRING, INT32, INT32, :DeviceType, :Medium]
1292
- function :attach_device_without_medium, nil, [WSTRING, INT32, INT32, :DeviceType]
1293
- function :detach_device, nil, [WSTRING, INT32, INT32]
1294
- function :passthrough_device, nil, [WSTRING, INT32, INT32, BOOL]
1295
- function :temporary_eject_device, nil, [WSTRING, INT32, INT32, BOOL]
1296
- function :non_rotational_device, nil, [WSTRING, INT32, INT32, BOOL]
1297
- function :set_auto_discard_for_device, nil, [WSTRING, INT32, INT32, BOOL]
1298
- function :set_bandwidth_group_for_device, nil, [WSTRING, INT32, INT32, :BandwidthGroup]
1299
- function :set_no_bandwidth_group_for_device, nil, [WSTRING, INT32, INT32]
1300
- function :unmount_medium, nil, [WSTRING, INT32, INT32, BOOL]
1301
- function :mount_medium, nil, [WSTRING, INT32, INT32, :Medium, BOOL]
1302
- function :get_medium, :Medium, [WSTRING, INT32, INT32]
1303
- function :get_medium_attachments_of_controller, [:MediumAttachment], [WSTRING]
1304
- function :get_medium_attachment, :MediumAttachment, [WSTRING, INT32, INT32]
1305
- function :attach_host_pci_device, nil, [INT32, INT32, BOOL]
1306
- function :detach_host_pci_device, nil, [INT32]
1307
- function :get_network_adapter, :NetworkAdapter, [UINT32]
1308
- function :add_storage_controller, :StorageController, [WSTRING, :StorageBus]
1309
- function :get_storage_controller_by_name, :StorageController, [WSTRING]
1310
- function :get_storage_controller_by_instance, :StorageController, [UINT32]
1311
- function :remove_storage_controller, nil, [WSTRING]
1312
- function :set_storage_controller_bootable, nil, [WSTRING, BOOL]
1313
- function :get_serial_port, :SerialPort, [UINT32]
1314
- function :get_parallel_port, :ParallelPort, [UINT32]
1315
- function :get_extra_data_keys, [WSTRING], []
1316
- function :get_extra_data, WSTRING, [WSTRING]
1317
- function :set_extra_data, nil, [WSTRING, WSTRING]
1318
- function :get_cpu_property, BOOL, [:CPUPropertyType]
1319
- function :set_cpu_property, nil, [:CPUPropertyType, BOOL]
1320
- function :get_cpuid_leaf, nil, [UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1321
- function :set_cpuid_leaf, nil, [UINT32, UINT32, UINT32, UINT32, UINT32]
1322
- function :remove_cpuid_leaf, nil, [UINT32]
1323
- function :remove_all_cpuid_leaves, nil, []
1324
- function :get_hw_virt_ex_property, BOOL, [:HWVirtExPropertyType]
1325
- function :set_hw_virt_ex_property, nil, [:HWVirtExPropertyType, BOOL]
1326
- function :save_settings, nil, []
1327
- function :discard_settings, nil, []
1328
- function :unregister, [:Medium], [:CleanupMode]
1329
- function :delete, :Progress, [[:Medium]]
1330
- function :export, :VirtualSystemDescription, [:Appliance, WSTRING]
1331
- function :find_snapshot, :Snapshot, [WSTRING]
1332
- function :create_shared_folder, nil, [WSTRING, WSTRING, BOOL, BOOL]
1333
- function :remove_shared_folder, nil, [WSTRING]
1334
- function :can_show_console_window, BOOL, []
1335
- function :show_console_window, INT64, []
1336
- function :get_guest_property, nil, [WSTRING, [:out, WSTRING], [:out, INT64], [:out, WSTRING]]
1337
- function :get_guest_property_value, WSTRING, [WSTRING]
1338
- function :get_guest_property_timestamp, INT64, [WSTRING]
1339
- function :set_guest_property, nil, [WSTRING, WSTRING, WSTRING]
1340
- function :set_guest_property_value, nil, [WSTRING, WSTRING]
1341
- function :delete_guest_property, nil, [WSTRING]
1342
- function :enumerate_guest_properties, nil, [WSTRING, [:out, [WSTRING]], [:out, [WSTRING]], [:out, [INT64]], [:out, [WSTRING]]]
1343
- function :query_saved_guest_screen_info, nil, [UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, BOOL]]
1344
- function :query_saved_thumbnail_size, nil, [UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1345
- function :read_saved_thumbnail_to_array, [UINT8], [UINT32, BOOL, [:out, UINT32], [:out, UINT32]]
1346
- function :read_saved_thumbnail_png_to_array, [UINT8], [UINT32, [:out, UINT32], [:out, UINT32]]
1347
- function :query_saved_screenshot_png_size, nil, [UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1348
- function :read_saved_screenshot_png_to_array, [UINT8], [UINT32, [:out, UINT32], [:out, UINT32]]
1349
- function :hot_plug_cpu, nil, [UINT32]
1350
- function :hot_unplug_cpu, nil, [UINT32]
1351
- function :get_cpu_status, BOOL, [UINT32]
1352
- function :query_log_filename, WSTRING, [UINT32]
1353
- function :read_log, [UINT8], [UINT32, INT64, INT64]
1354
- function :clone_to, :Progress, [:Machine, :CloneMode, [:CloneOptions]]
1355
- setup
1356
- end
1357
-
1358
- class VRDEServerInfo < AbstractInterface
1359
- iid "714434a1-58c3-4aab-9049-7652c5df113b"
1360
- extends :NSISupports
1361
- property :active, BOOL, :readonly => true
1362
- property :port, INT32, :readonly => true
1363
- property :number_of_clients, UINT32, :readonly => true
1364
- property :begin_time, INT64, :readonly => true
1365
- property :end_time, INT64, :readonly => true
1366
- property :bytes_sent, INT64, :readonly => true
1367
- property :bytes_sent_total, INT64, :readonly => true
1368
- property :bytes_received, INT64, :readonly => true
1369
- property :bytes_received_total, INT64, :readonly => true
1370
- property :user, WSTRING, :readonly => true
1371
- property :domain, WSTRING, :readonly => true
1372
- property :client_name, WSTRING, :readonly => true
1373
- property :client_ip, WSTRING, :readonly => true
1374
- property :client_version, UINT32, :readonly => true
1375
- property :encryption_style, UINT32, :readonly => true
1376
- setup
1377
- end
1378
-
1379
- class Console < AbstractInterface
1380
- iid "db7ab4ca-2a3f-4183-9243-c1208da92392"
1381
- extends :NSISupports
1382
- property :machine, :Machine, :readonly => true
1383
- property :state, :MachineState, :readonly => true
1384
- property :guest, :Guest, :readonly => true
1385
- property :keyboard, :Keyboard, :readonly => true
1386
- property :mouse, :Mouse, :readonly => true
1387
- property :display, :Display, :readonly => true
1388
- property :debugger, :MachineDebugger, :readonly => true
1389
- property :usb_devices, [:USBDevice], :readonly => true
1390
- property :remote_usb_devices, [:HostUSBDevice], :readonly => true
1391
- property :shared_folders, [:SharedFolder], :readonly => true
1392
- property :vrde_server_info, :VRDEServerInfo, :readonly => true
1393
- property :event_source, :EventSource, :readonly => true
1394
- property :attached_pci_devices, [:PCIDeviceAttachment], :readonly => true
1395
- property :use_host_clipboard, BOOL
1396
- function :power_up, :Progress, []
1397
- function :power_up_paused, :Progress, []
1398
- function :power_down, :Progress, []
1399
- function :reset, nil, []
1400
- function :pause, nil, []
1401
- function :resume, nil, []
1402
- function :power_button, nil, []
1403
- function :sleep_button, nil, []
1404
- function :get_power_button_handled, BOOL, []
1405
- function :get_guest_entered_acpi_mode, BOOL, []
1406
- function :save_state, :Progress, []
1407
- function :adopt_saved_state, nil, [WSTRING]
1408
- function :discard_saved_state, nil, [BOOL]
1409
- function :get_device_activity, :DeviceActivity, [:DeviceType]
1410
- function :attach_usb_device, nil, [WSTRING]
1411
- function :detach_usb_device, :USBDevice, [WSTRING]
1412
- function :find_usb_device_by_address, :USBDevice, [WSTRING]
1413
- function :find_usb_device_by_id, :USBDevice, [WSTRING]
1414
- function :create_shared_folder, nil, [WSTRING, WSTRING, BOOL, BOOL]
1415
- function :remove_shared_folder, nil, [WSTRING]
1416
- function :take_snapshot, :Progress, [WSTRING, WSTRING]
1417
- function :delete_snapshot, :Progress, [WSTRING]
1418
- function :delete_snapshot_and_all_children, :Progress, [WSTRING]
1419
- function :delete_snapshot_range, :Progress, [WSTRING, WSTRING]
1420
- function :restore_snapshot, :Progress, [:Snapshot]
1421
- function :teleport, :Progress, [WSTRING, UINT32, WSTRING, UINT32]
1422
- setup
1423
- end
1424
-
1425
- class HostNetworkInterface < AbstractInterface
1426
- iid "87a4153d-6889-4dd6-9654-2e9ff0ae8dec"
1427
- extends :NSISupports
1428
- property :name, WSTRING, :readonly => true
1429
- property :id, WSTRING, :readonly => true
1430
- property :network_name, WSTRING, :readonly => true
1431
- property :dhcp_enabled, BOOL, :readonly => true
1432
- property :ip_address, WSTRING, :readonly => true
1433
- property :network_mask, WSTRING, :readonly => true
1434
- property :ip_v6_supported, BOOL, :readonly => true
1435
- property :ip_v6_address, WSTRING, :readonly => true
1436
- property :ip_v6_network_mask_prefix_length, UINT32, :readonly => true
1437
- property :hardware_address, WSTRING, :readonly => true
1438
- property :medium_type, :HostNetworkInterfaceMediumType, :readonly => true
1439
- property :status, :HostNetworkInterfaceStatus, :readonly => true
1440
- property :interface_type, :HostNetworkInterfaceType, :readonly => true
1441
- function :enable_static_ip_config, nil, [WSTRING, WSTRING]
1442
- function :enable_static_ip_config_v6, nil, [WSTRING, UINT32]
1443
- function :enable_dynamic_ip_config, nil, []
1444
- function :dhcp_rediscover, nil, []
1445
- setup
1446
- end
1447
-
1448
- class Host < AbstractInterface
1449
- iid "30678943-32df-4830-b413-931b25ac86a0"
1450
- extends :NSISupports
1451
- property :dvd_drives, [:Medium], :readonly => true
1452
- property :floppy_drives, [:Medium], :readonly => true
1453
- property :usb_devices, [:HostUSBDevice], :readonly => true
1454
- property :usb_device_filters, [:HostUSBDeviceFilter], :readonly => true
1455
- property :network_interfaces, [:HostNetworkInterface], :readonly => true
1456
- property :processor_count, UINT32, :readonly => true
1457
- property :processor_online_count, UINT32, :readonly => true
1458
- property :processor_core_count, UINT32, :readonly => true
1459
- property :memory_size, UINT32, :readonly => true
1460
- property :memory_available, UINT32, :readonly => true
1461
- property :operating_system, WSTRING, :readonly => true
1462
- property :os_version, WSTRING, :readonly => true
1463
- property :utc_time, INT64, :readonly => true
1464
- property :acceleration3d_available, BOOL, :readonly => true
1465
- function :get_processor_speed, UINT32, [UINT32]
1466
- function :get_processor_feature, BOOL, [:ProcessorFeature]
1467
- function :get_processor_description, WSTRING, [UINT32]
1468
- function :get_processor_cpuid_leaf, nil, [UINT32, UINT32, UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1469
- function :create_host_only_network_interface, :Progress, [[:out, :HostNetworkInterface]]
1470
- function :remove_host_only_network_interface, :Progress, [WSTRING]
1471
- function :create_usb_device_filter, :HostUSBDeviceFilter, [WSTRING]
1472
- function :insert_usb_device_filter, nil, [UINT32, :HostUSBDeviceFilter]
1473
- function :remove_usb_device_filter, nil, [UINT32]
1474
- function :find_host_dvd_drive, :Medium, [WSTRING]
1475
- function :find_host_floppy_drive, :Medium, [WSTRING]
1476
- function :find_host_network_interface_by_name, :HostNetworkInterface, [WSTRING]
1477
- function :find_host_network_interface_by_id, :HostNetworkInterface, [WSTRING]
1478
- function :find_host_network_interfaces_of_type, [:HostNetworkInterface], [:HostNetworkInterfaceType]
1479
- function :find_usb_device_by_id, :HostUSBDevice, [WSTRING]
1480
- function :find_usb_device_by_address, :HostUSBDevice, [WSTRING]
1481
- function :generate_mac_address, WSTRING, []
1482
- setup
1483
- end
1484
-
1485
- class SystemProperties < AbstractInterface
1486
- iid "1d7aca29-97f0-4287-9874-a60ec4f80ea6"
1487
- extends :NSISupports
1488
- property :min_guest_ram, UINT32, :readonly => true
1489
- property :max_guest_ram, UINT32, :readonly => true
1490
- property :min_guest_vram, UINT32, :readonly => true
1491
- property :max_guest_vram, UINT32, :readonly => true
1492
- property :min_guest_cpu_count, UINT32, :readonly => true
1493
- property :max_guest_cpu_count, UINT32, :readonly => true
1494
- property :max_guest_monitors, UINT32, :readonly => true
1495
- property :info_v_d_size, INT64, :readonly => true
1496
- property :serial_port_count, UINT32, :readonly => true
1497
- property :parallel_port_count, UINT32, :readonly => true
1498
- property :max_boot_position, UINT32, :readonly => true
1499
- property :default_machine_folder, WSTRING
1500
- property :medium_formats, [:MediumFormat], :readonly => true
1501
- property :default_hard_disk_format, WSTRING
1502
- property :free_disk_space_warning, INT64
1503
- property :free_disk_space_percent_warning, UINT32
1504
- property :free_disk_space_error, INT64
1505
- property :free_disk_space_percent_error, UINT32
1506
- property :vrde_auth_library, WSTRING
1507
- property :web_service_auth_library, WSTRING
1508
- property :default_vrde_ext_pack, WSTRING
1509
- property :log_history_count, UINT32
1510
- property :default_audio_driver, :AudioDriverType, :readonly => true
1511
- property :autostart_database_path, WSTRING
1512
- property :default_additions_i_s_o, WSTRING
1513
- function :get_max_network_adapters, UINT32, [:ChipsetType]
1514
- function :get_max_network_adapters_of_type, UINT32, [:ChipsetType, :NetworkAttachmentType]
1515
- function :get_max_devices_per_port_for_storage_bus, UINT32, [:StorageBus]
1516
- function :get_min_port_count_for_storage_bus, UINT32, [:StorageBus]
1517
- function :get_max_port_count_for_storage_bus, UINT32, [:StorageBus]
1518
- function :get_max_instances_of_storage_bus, UINT32, [:ChipsetType, :StorageBus]
1519
- function :get_device_types_for_storage_bus, [:DeviceType], [:StorageBus]
1520
- function :get_default_io_cache_setting_for_storage_controller, BOOL, [:StorageControllerType]
1521
- setup
1522
- end
1523
-
1524
- class GuestOSType < AbstractInterface
1525
- iid "6d968f9a-858b-4c50-bf17-241f069e94c2"
1526
- extends :NSISupports
1527
- property :family_id, WSTRING, :readonly => true
1528
- property :family_description, WSTRING, :readonly => true
1529
- property :id, WSTRING, :readonly => true
1530
- property :description, WSTRING, :readonly => true
1531
- property :is64_bit, BOOL, :readonly => true
1532
- property :recommended_io_apic, BOOL, :readonly => true
1533
- property :recommended_virt_ex, BOOL, :readonly => true
1534
- property :recommended_ram, UINT32, :readonly => true
1535
- property :recommended_vram, UINT32, :readonly => true
1536
- property :recommended2_d_video_acceleration, BOOL, :readonly => true
1537
- property :recommended3d_acceleration, BOOL, :readonly => true
1538
- property :recommended_hdd, INT64, :readonly => true
1539
- property :adapter_type, :NetworkAdapterType, :readonly => true
1540
- property :recommended_pae, BOOL, :readonly => true
1541
- property :recommended_dvd_storage_controller, :StorageControllerType, :readonly => true
1542
- property :recommended_dvd_storage_bus, :StorageBus, :readonly => true
1543
- property :recommended_h_d_storage_controller, :StorageControllerType, :readonly => true
1544
- property :recommended_h_d_storage_bus, :StorageBus, :readonly => true
1545
- property :recommended_firmware, :FirmwareType, :readonly => true
1546
- property :recommended_usb_h_i_d, BOOL, :readonly => true
1547
- property :recommended_h_p_e_t, BOOL, :readonly => true
1548
- property :recommended_usb_tablet, BOOL, :readonly => true
1549
- property :recommended_rtc_use_utc, BOOL, :readonly => true
1550
- property :recommended_chipset, :ChipsetType, :readonly => true
1551
- property :recommended_audio_controller, :AudioControllerType, :readonly => true
1552
- property :recommended_floppy, BOOL, :readonly => true
1553
- property :recommended_usb, BOOL, :readonly => true
1554
- setup
1555
- end
1556
-
1557
- class AdditionsFacility < AbstractInterface
1558
- iid "54992946-6af1-4e49-98ec-58b558b7291e"
1559
- extends :NSISupports
1560
- property :class_type, :AdditionsFacilityClass, :readonly => true
1561
- property :last_updated, INT64, :readonly => true
1562
- property :name, WSTRING, :readonly => true
1563
- property :status, :AdditionsFacilityStatus, :readonly => true
1564
- property :type, :AdditionsFacilityType, :readonly => true
1565
- setup
1566
- end
1567
-
1568
- class GuestSession < AbstractInterface
1569
- iid "57eb82a8-822b-42c1-9d1c-5c54bc3d3250"
1570
- extends :NSISupports
1571
- property :user, WSTRING, :readonly => true
1572
- property :domain, WSTRING, :readonly => true
1573
- property :name, WSTRING, :readonly => true
1574
- property :id, UINT32, :readonly => true
1575
- property :timeout, UINT32, :readonly => true
1576
- property :environment, [WSTRING]
1577
- property :processes, [:GuestProcess], :readonly => true
1578
- property :directories, [:GuestDirectory], :readonly => true
1579
- property :files, [:GuestFile], :readonly => true
1580
- function :close, nil, []
1581
- function :copy_from, :Progress, [WSTRING, WSTRING, [:CopyFileFlag]]
1582
- function :copy_to, :Progress, [WSTRING, WSTRING, [:CopyFileFlag]]
1583
- function :directory_create, nil, [WSTRING, UINT32, [:DirectoryCreateFlag]]
1584
- function :directory_create_temp, WSTRING, [WSTRING, UINT32, WSTRING, BOOL]
1585
- function :directory_exists, BOOL, [WSTRING]
1586
- function :directory_open, :GuestDirectory, [WSTRING, WSTRING, [:DirectoryOpenFlag]]
1587
- function :directory_query_info, :GuestFsObjInfo, [WSTRING]
1588
- function :directory_remove, nil, [WSTRING]
1589
- function :directory_remove_recursive, :Progress, [WSTRING, [:DirectoryRemoveRecFlag]]
1590
- function :directory_rename, nil, [WSTRING, WSTRING, [:PathRenameFlag]]
1591
- function :directory_set_a_c_l, nil, [WSTRING, WSTRING]
1592
- function :environment_clear, nil, []
1593
- function :environment_get, WSTRING, [WSTRING]
1594
- function :environment_set, nil, [WSTRING, WSTRING]
1595
- function :environment_unset, nil, [WSTRING]
1596
- function :file_create_temp, :GuestFile, [WSTRING, UINT32, WSTRING, BOOL]
1597
- function :file_exists, BOOL, [WSTRING]
1598
- function :file_remove, nil, [WSTRING]
1599
- function :file_open, :GuestFile, [WSTRING, WSTRING, WSTRING, UINT32, INT64]
1600
- function :file_query_info, :GuestFsObjInfo, [WSTRING]
1601
- function :file_query_size, INT64, [WSTRING]
1602
- function :file_rename, nil, [WSTRING, WSTRING, [:PathRenameFlag]]
1603
- function :file_set_a_c_l, nil, [WSTRING, WSTRING]
1604
- function :process_create, :GuestProcess, [WSTRING, [WSTRING], [WSTRING], [:ProcessCreateFlag], UINT32]
1605
- function :process_create_ex, :GuestProcess, [WSTRING, [WSTRING], [WSTRING], [:ProcessCreateFlag], UINT32, :ProcessPriority, [INT32]]
1606
- function :process_get, :GuestProcess, [UINT32]
1607
- function :symlink_create, nil, [WSTRING, WSTRING, :SymlinkType]
1608
- function :symlink_exists, BOOL, [WSTRING]
1609
- function :symlink_read, WSTRING, [WSTRING, [:SymlinkReadFlag]]
1610
- function :symlink_remove_directory, nil, [WSTRING]
1611
- function :symlink_remove_file, nil, [WSTRING]
1612
- setup
1613
- end
1614
-
1615
- class Process < AbstractInterface
1616
- iid "08864d56-96ab-418b-adbc-5a679532aeb0"
1617
- extends :NSISupports
1618
- property :pid, UINT32, :readonly => true
1619
- property :status, :ProcessStatus, :readonly => true
1620
- property :exit_code, INT32, :readonly => true
1621
- property :environment, [WSTRING], :readonly => true
1622
- property :arguments, [WSTRING], :readonly => true
1623
- property :executable_path, WSTRING, :readonly => true
1624
- property :name, WSTRING, :readonly => true
1625
- function :wait_for, :ProcessWaitResult, [UINT32, UINT32]
1626
- function :wait_for_array, :ProcessWaitResult, [[:ProcessWaitForFlag], UINT32]
1627
- function :read, [UINT8], [UINT32, UINT32, UINT32]
1628
- function :write, UINT32, [UINT32, UINT32, [UINT8], UINT32]
1629
- function :write_array, UINT32, [UINT32, [:ProcessInputFlag], [UINT8], UINT32]
1630
- function :terminate, nil, []
1631
- setup
1632
- end
1633
-
1634
- class GuestProcess < AbstractInterface
1635
- iid "dfa39a36-5d43-4840-a025-67ea956b3111"
1636
- extends :Process
1637
- setup
1638
- end
1639
-
1640
- class Directory < AbstractInterface
1641
- iid "1b70dd03-26d7-483a-8877-89bbb0f87b70"
1642
- extends :NSISupports
1643
- property :directory_name, WSTRING, :readonly => true
1644
- property :filter, WSTRING, :readonly => true
1645
- function :close, nil, []
1646
- function :read, :FsObjInfo, []
1647
- setup
1648
- end
1649
-
1650
- class GuestDirectory < AbstractInterface
1651
- iid "af4a8ce0-0725-42b7-8826-46e3c7ba7357"
1652
- extends :Directory
1653
- setup
1654
- end
1655
-
1656
- class File < AbstractInterface
1657
- iid "b702a560-6139-4a8e-a892-bbf14b97bf97"
1658
- extends :NSISupports
1659
- property :creation_mode, UINT32, :readonly => true
1660
- property :disposition, UINT32, :readonly => true
1661
- property :file_name, WSTRING, :readonly => true
1662
- property :initial_size, INT64, :readonly => true
1663
- property :open_mode, UINT32, :readonly => true
1664
- property :offset, INT64, :readonly => true
1665
- function :close, nil, []
1666
- function :query_info, :FsObjInfo, []
1667
- function :read, [UINT8], [UINT32, UINT32]
1668
- function :read_at, [UINT8], [INT64, UINT32, UINT32]
1669
- function :seek, nil, [INT64, :FileSeekType]
1670
- function :set_a_c_l, nil, [WSTRING]
1671
- function :write, UINT32, [[UINT8], UINT32]
1672
- function :write_at, UINT32, [INT64, [UINT8], UINT32]
1673
- setup
1674
- end
1675
-
1676
- class GuestFile < AbstractInterface
1677
- iid "60661aec-145f-4d11-b80e-8ea151598093"
1678
- extends :File
1679
- setup
1680
- end
1681
-
1682
- class FsObjInfo < AbstractInterface
1683
- iid "4047ba30-7006-4966-ae86-94164e5e20eb"
1684
- extends :NSISupports
1685
- property :access_time, INT64, :readonly => true
1686
- property :allocated_size, INT64, :readonly => true
1687
- property :birth_time, INT64, :readonly => true
1688
- property :change_time, INT64, :readonly => true
1689
- property :device_number, UINT32, :readonly => true
1690
- property :file_attributes, WSTRING, :readonly => true
1691
- property :generation_id, UINT32, :readonly => true
1692
- property :gid, UINT32, :readonly => true
1693
- property :group_name, WSTRING, :readonly => true
1694
- property :hard_links, UINT32, :readonly => true
1695
- property :modification_time, INT64, :readonly => true
1696
- property :name, WSTRING, :readonly => true
1697
- property :node_id, INT64, :readonly => true
1698
- property :node_id_device, UINT32, :readonly => true
1699
- property :object_size, INT64, :readonly => true
1700
- property :type, :FsObjType, :readonly => true
1701
- property :uid, UINT32, :readonly => true
1702
- property :user_flags, UINT32, :readonly => true
1703
- property :user_name, WSTRING, :readonly => true
1704
- setup
1705
- end
1706
-
1707
- class GuestFsObjInfo < AbstractInterface
1708
- iid "d5cf678e-3484-4e4a-ac55-329e15462e18"
1709
- extends :FsObjInfo
1710
- setup
1711
- end
1712
-
1713
- class Guest < AbstractInterface
1714
- iid "19c32350-0618-4ede-b0c3-2b4311bf0d9b"
1715
- extends :NSISupports
1716
- property :os_type_id, WSTRING, :readonly => true
1717
- property :additions_run_level, :AdditionsRunLevelType, :readonly => true
1718
- property :additions_version, WSTRING, :readonly => true
1719
- property :additions_revision, UINT32, :readonly => true
1720
- property :facilities, [:AdditionsFacility], :readonly => true
1721
- property :sessions, [:GuestSession], :readonly => true
1722
- property :memory_balloon_size, UINT32
1723
- property :statistics_update_interval, UINT32
1724
- function :internal_get_statistics, nil, [[:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1725
- function :get_facility_status, :AdditionsFacilityStatus, [:AdditionsFacilityType, [:out, INT64]]
1726
- function :get_additions_status, BOOL, [:AdditionsRunLevelType]
1727
- function :set_credentials, nil, [WSTRING, WSTRING, WSTRING, BOOL]
1728
- function :drag_h_g_enter, :DragAndDropAction, [UINT32, UINT32, UINT32, :DragAndDropAction, [:DragAndDropAction], [WSTRING]]
1729
- function :drag_h_g_move, :DragAndDropAction, [UINT32, UINT32, UINT32, :DragAndDropAction, [:DragAndDropAction], [WSTRING]]
1730
- function :drag_h_g_leave, nil, [UINT32]
1731
- function :drag_h_g_drop, :DragAndDropAction, [UINT32, UINT32, UINT32, :DragAndDropAction, [:DragAndDropAction], [WSTRING], [:out, WSTRING]]
1732
- function :drag_h_g_put_data, :Progress, [UINT32, WSTRING, [UINT8]]
1733
- function :drag_g_h_pending, :DragAndDropAction, [UINT32, [:out, [WSTRING]], [:out, [:DragAndDropAction]]]
1734
- function :drag_g_h_dropped, :Progress, [WSTRING, :DragAndDropAction]
1735
- function :drag_g_h_get_data, [UINT8], []
1736
- function :create_session, :GuestSession, [WSTRING, WSTRING, WSTRING, WSTRING]
1737
- function :find_session, [:GuestSession], [WSTRING]
1738
- function :update_guest_additions, :Progress, [WSTRING, [:AdditionsUpdateFlag]]
1739
- setup
1740
- end
1741
-
1742
- class Progress < AbstractInterface
1743
- iid "c20238e4-3221-4d3f-8891-81ce92d9f913"
1744
- extends :NSISupports
1745
- property :id, WSTRING, :readonly => true
1746
- property :description, WSTRING, :readonly => true
1747
- property :initiator, :NSISupports, :readonly => true
1748
- property :cancelable, BOOL, :readonly => true
1749
- property :percent, UINT32, :readonly => true
1750
- property :time_remaining, INT32, :readonly => true
1751
- property :completed, BOOL, :readonly => true
1752
- property :canceled, BOOL, :readonly => true
1753
- property :result_code, INT32, :readonly => true
1754
- property :error_info, :VirtualBoxErrorInfo, :readonly => true
1755
- property :operation_count, UINT32, :readonly => true
1756
- property :operation, UINT32, :readonly => true
1757
- property :operation_description, WSTRING, :readonly => true
1758
- property :operation_percent, UINT32, :readonly => true
1759
- property :operation_weight, UINT32, :readonly => true
1760
- property :timeout, UINT32
1761
- function :set_current_operation_progress, nil, [UINT32]
1762
- function :set_next_operation, nil, [WSTRING, UINT32]
1763
- function :wait_for_completion, nil, [INT32]
1764
- function :wait_for_operation_completion, nil, [UINT32, INT32]
1765
- function :wait_for_async_progress_completion, nil, [:Progress]
1766
- function :cancel, nil, []
1767
- setup
1768
- end
1769
-
1770
- class Snapshot < AbstractInterface
1771
- iid "0472823b-c6e7-472a-8e9f-d732e86b8463"
1772
- extends :NSISupports
1773
- property :id, WSTRING, :readonly => true
1774
- property :name, WSTRING
1775
- property :description, WSTRING
1776
- property :time_stamp, INT64, :readonly => true
1777
- property :online, BOOL, :readonly => true
1778
- property :machine, :Machine, :readonly => true
1779
- property :parent, :Snapshot, :readonly => true
1780
- property :children, [:Snapshot], :readonly => true
1781
- function :get_children_count, UINT32, []
1782
- setup
1783
- end
1784
-
1785
- class MediumAttachment < AbstractInterface
1786
- iid "5ee464d6-0613-4331-b154-7ce12170ef9f"
1787
- extends :NSISupports
1788
- property :medium, :Medium, :readonly => true
1789
- property :controller, WSTRING, :readonly => true
1790
- property :port, INT32, :readonly => true
1791
- property :device, INT32, :readonly => true
1792
- property :type, :DeviceType, :readonly => true
1793
- property :passthrough, BOOL, :readonly => true
1794
- property :temporary_eject, BOOL, :readonly => true
1795
- property :is_ejected, BOOL, :readonly => true
1796
- property :non_rotational, BOOL, :readonly => true
1797
- property :discard, BOOL, :readonly => true
1798
- property :bandwidth_group, :BandwidthGroup, :readonly => true
1799
- setup
1800
- end
1801
-
1802
- class Medium < AbstractInterface
1803
- iid "29989373-b111-4654-8493-2e1176cba890"
1804
- extends :NSISupports
1805
- property :id, WSTRING, :readonly => true
1806
- property :description, WSTRING
1807
- property :state, :MediumState, :readonly => true
1808
- property :variant, UINT32, :readonly => true
1809
- property :location, WSTRING
1810
- property :name, WSTRING, :readonly => true
1811
- property :device_type, :DeviceType, :readonly => true
1812
- property :host_drive, BOOL, :readonly => true
1813
- property :size, INT64, :readonly => true
1814
- property :format, WSTRING, :readonly => true
1815
- property :medium_format, :MediumFormat, :readonly => true
1816
- property :type, :MediumType
1817
- property :allowed_types, [:MediumType], :readonly => true
1818
- property :parent, :Medium, :readonly => true
1819
- property :children, [:Medium], :readonly => true
1820
- property :base, :Medium, :readonly => true
1821
- property :read_only, BOOL, :readonly => true
1822
- property :logical_size, INT64, :readonly => true
1823
- property :auto_reset, BOOL
1824
- property :last_access_error, WSTRING, :readonly => true
1825
- property :machine_ids, [WSTRING], :readonly => true
1826
- function :set_ids, nil, [BOOL, WSTRING, BOOL, WSTRING]
1827
- function :refresh_state, :MediumState, []
1828
- function :get_snapshot_ids, [WSTRING], [WSTRING]
1829
- function :lock_read, :MediumState, []
1830
- function :unlock_read, :MediumState, []
1831
- function :lock_write, :MediumState, []
1832
- function :unlock_write, :MediumState, []
1833
- function :close, nil, []
1834
- function :get_property, WSTRING, [WSTRING]
1835
- function :set_property, nil, [WSTRING, WSTRING]
1836
- function :get_properties, [WSTRING], [WSTRING, [:out, [WSTRING]]]
1837
- function :set_properties, nil, [[WSTRING], [WSTRING]]
1838
- function :create_base_storage, :Progress, [INT64, UINT32]
1839
- function :delete_storage, :Progress, []
1840
- function :create_diff_storage, :Progress, [:Medium, UINT32]
1841
- function :merge_to, :Progress, [:Medium]
1842
- function :clone_to, :Progress, [:Medium, UINT32, :Medium]
1843
- function :clone_to_base, :Progress, [:Medium, UINT32]
1844
- function :compact, :Progress, []
1845
- function :resize, :Progress, [INT64]
1846
- function :reset, :Progress, []
1847
- setup
1848
- end
1849
-
1850
- class MediumFormat < AbstractInterface
1851
- iid "9bd5b655-ea47-4637-99f3-aad0948be35b"
1852
- extends :NSISupports
1853
- property :id, WSTRING, :readonly => true
1854
- property :name, WSTRING, :readonly => true
1855
- property :capabilities, UINT32, :readonly => true
1856
- function :describe_file_extensions, nil, [[:out, [WSTRING]], [:out, [:DeviceType]]]
1857
- function :describe_properties, nil, [[:out, [WSTRING]], [:out, [WSTRING]], [:out, [:DataType]], [:out, [UINT32]], [:out, [WSTRING]]]
1858
- setup
1859
- end
1860
-
1861
- class Keyboard < AbstractInterface
1862
- iid "f6916ec5-a881-4237-898f-7de58cf88672"
1863
- extends :NSISupports
1864
- property :event_source, :EventSource, :readonly => true
1865
- function :put_scancode, nil, [INT32]
1866
- function :put_scancodes, UINT32, [[INT32]]
1867
- function :put_c_a_d, nil, []
1868
- setup
1869
- end
1870
-
1871
- class Mouse < AbstractInterface
1872
- iid "05044a52-7811-4f00-ae3a-0ab7ff707b10"
1873
- extends :NSISupports
1874
- property :absolute_supported, BOOL, :readonly => true
1875
- property :relative_supported, BOOL, :readonly => true
1876
- property :needs_host_cursor, BOOL, :readonly => true
1877
- property :event_source, :EventSource, :readonly => true
1878
- function :put_mouse_event, nil, [INT32, INT32, INT32, INT32, INT32]
1879
- function :put_mouse_event_absolute, nil, [INT32, INT32, INT32, INT32, INT32]
1880
- setup
1881
- end
1882
-
1883
- class Framebuffer < AbstractInterface
1884
- iid "b7ed347a-5765-40a0-ae1c-f543eb4ddeaf"
1885
- extends :NSISupports
1886
- property :address, UINT8, :readonly => true
1887
- property :width, UINT32, :readonly => true
1888
- property :height, UINT32, :readonly => true
1889
- property :bits_per_pixel, UINT32, :readonly => true
1890
- property :bytes_per_line, UINT32, :readonly => true
1891
- property :pixel_format, UINT32, :readonly => true
1892
- property :uses_guest_vram, BOOL, :readonly => true
1893
- property :height_reduction, UINT32, :readonly => true
1894
- property :overlay, :FramebufferOverlay, :readonly => true
1895
- property :win_id, INT64, :readonly => true
1896
- function :lock, nil, []
1897
- function :unlock, nil, []
1898
- function :notify_update, nil, [UINT32, UINT32, UINT32, UINT32]
1899
- function :request_resize, BOOL, [UINT32, UINT32, :pointer, UINT32, UINT32, UINT32, UINT32]
1900
- function :video_mode_supported, BOOL, [UINT32, UINT32, UINT32]
1901
- function :get_visible_region, UINT32, [:pointer, UINT32]
1902
- function :set_visible_region, nil, [:pointer, UINT32]
1903
- function :process_v_hw_a_command, nil, [:pointer]
1904
- setup
1905
- end
1906
-
1907
- class FramebufferOverlay < AbstractInterface
1908
- iid "0bcc1c7e-e415-47d2-bfdb-e4c705fb0f47"
1909
- extends :Framebuffer
1910
- property :x, UINT32, :readonly => true
1911
- property :y, UINT32, :readonly => true
1912
- property :visible, BOOL, :readonly => true
1913
- property :alpha, UINT32, :readonly => true
1914
- function :move, nil, [UINT32, UINT32]
1915
- setup
1916
- end
1917
-
1918
- class Display < AbstractInterface
1919
- iid "b83ee395-8679-40ca-8d60-1a0cbe724930"
1920
- extends :NSISupports
1921
- function :get_screen_resolution, nil, [UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1922
- function :set_framebuffer, nil, [UINT32, :Framebuffer]
1923
- function :get_framebuffer, nil, [UINT32, [:out, :Framebuffer], [:out, INT32], [:out, INT32]]
1924
- function :set_video_mode_hint, nil, [UINT32, BOOL, BOOL, INT32, INT32, UINT32, UINT32, UINT32]
1925
- function :set_seamless_mode, nil, [BOOL]
1926
- function :take_screen_shot, nil, [UINT32, :pointer, UINT32, UINT32]
1927
- function :take_screen_shot_to_array, [UINT8], [UINT32, UINT32, UINT32]
1928
- function :take_screen_shot_png_to_array, [UINT8], [UINT32, UINT32, UINT32]
1929
- function :draw_to_screen, nil, [UINT32, :pointer, UINT32, UINT32, UINT32, UINT32]
1930
- function :invalidate_and_update, nil, []
1931
- function :resize_completed, nil, [UINT32]
1932
- function :complete_v_hw_a_command, nil, [:pointer]
1933
- function :viewport_changed, nil, [UINT32, UINT32, UINT32, UINT32, UINT32]
1934
- setup
1935
- end
1936
-
1937
- class NetworkAdapter < AbstractInterface
1938
- iid "efa0f965-63c7-4c60-afdf-b1cc9943b9c0"
1939
- extends :NSISupports
1940
- property :adapter_type, :NetworkAdapterType
1941
- property :slot, UINT32, :readonly => true
1942
- property :enabled, BOOL
1943
- property :mac_address, WSTRING
1944
- property :attachment_type, :NetworkAttachmentType
1945
- property :bridged_interface, WSTRING
1946
- property :host_only_interface, WSTRING
1947
- property :internal_network, WSTRING
1948
- property :nat_network, WSTRING
1949
- property :generic_driver, WSTRING
1950
- property :cable_connected, BOOL
1951
- property :line_speed, UINT32
1952
- property :promisc_mode_policy, :NetworkAdapterPromiscModePolicy
1953
- property :trace_enabled, BOOL
1954
- property :trace_file, WSTRING
1955
- property :nat_engine, :NATEngine, :readonly => true
1956
- property :boot_priority, UINT32
1957
- property :bandwidth_group, :BandwidthGroup
1958
- function :get_property, WSTRING, [WSTRING]
1959
- function :set_property, nil, [WSTRING, WSTRING]
1960
- function :get_properties, [WSTRING], [WSTRING, [:out, [WSTRING]]]
1961
- setup
1962
- end
1963
-
1964
- class SerialPort < AbstractInterface
1965
- iid "937f6970-5103-4745-b78e-d28dcf1479a8"
1966
- extends :NSISupports
1967
- property :slot, UINT32, :readonly => true
1968
- property :enabled, BOOL
1969
- property :io_base, UINT32
1970
- property :irq, UINT32
1971
- property :host_mode, :PortMode
1972
- property :server, BOOL
1973
- property :path, WSTRING
1974
- setup
1975
- end
1976
-
1977
- class ParallelPort < AbstractInterface
1978
- iid "0c925f06-dd10-4b77-8de8-294d738c3214"
1979
- extends :NSISupports
1980
- property :slot, UINT32, :readonly => true
1981
- property :enabled, BOOL
1982
- property :io_base, UINT32
1983
- property :irq, UINT32
1984
- property :path, WSTRING
1985
- setup
1986
- end
1987
-
1988
- class MachineDebugger < AbstractInterface
1989
- iid "a9abbb7c-d678-43b2-bed2-19ec0e32303d"
1990
- extends :NSISupports
1991
- property :single_step, BOOL
1992
- property :recompile_user, BOOL
1993
- property :recompile_supervisor, BOOL
1994
- property :patm_enabled, BOOL
1995
- property :csam_enabled, BOOL
1996
- property :log_enabled, BOOL
1997
- property :log_dbg_flags, WSTRING, :readonly => true
1998
- property :log_dbg_groups, WSTRING, :readonly => true
1999
- property :log_dbg_destinations, WSTRING, :readonly => true
2000
- property :log_rel_flags, WSTRING, :readonly => true
2001
- property :log_rel_groups, WSTRING, :readonly => true
2002
- property :log_rel_destinations, WSTRING, :readonly => true
2003
- property :hw_virt_ex_enabled, BOOL, :readonly => true
2004
- property :hw_virt_ex_nested_paging_enabled, BOOL, :readonly => true
2005
- property :hw_virt_ex_vpid_enabled, BOOL, :readonly => true
2006
- property :os_name, WSTRING, :readonly => true
2007
- property :os_version, WSTRING, :readonly => true
2008
- property :pae_enabled, BOOL, :readonly => true
2009
- property :virtual_time_rate, UINT32
2010
- property :vm, INT64, :readonly => true
2011
- function :dump_guest_core, nil, [WSTRING, WSTRING]
2012
- function :dump_host_process_core, nil, [WSTRING, WSTRING]
2013
- function :info, WSTRING, [WSTRING, WSTRING]
2014
- function :inject_n_m_i, nil, []
2015
- function :modify_log_groups, nil, [WSTRING]
2016
- function :modify_log_flags, nil, [WSTRING]
2017
- function :modify_log_destinations, nil, [WSTRING]
2018
- function :read_physical_memory, [UINT8], [INT64, UINT32]
2019
- function :write_physical_memory, nil, [INT64, UINT32, [UINT8]]
2020
- function :read_virtual_memory, [UINT8], [UINT32, INT64, UINT32]
2021
- function :write_virtual_memory, nil, [UINT32, INT64, UINT32, [UINT8]]
2022
- function :detect_os, WSTRING, []
2023
- function :get_register, WSTRING, [UINT32, WSTRING]
2024
- function :get_registers, nil, [UINT32, [:out, [WSTRING]], [:out, [WSTRING]]]
2025
- function :set_register, nil, [UINT32, WSTRING, WSTRING]
2026
- function :set_registers, nil, [UINT32, [WSTRING], [WSTRING]]
2027
- function :dump_guest_stack, WSTRING, [UINT32]
2028
- function :reset_stats, nil, [WSTRING]
2029
- function :dump_stats, nil, [WSTRING]
2030
- function :get_stats, nil, [WSTRING, BOOL, [:out, WSTRING]]
2031
- setup
2032
- end
2033
-
2034
- class USBController < AbstractInterface
2035
- iid "01e6f13a-0580-452f-a40f-74e32a5e4921"
2036
- extends :NSISupports
2037
- property :enabled, BOOL
2038
- property :enabled_e_h_c_i, BOOL
2039
- property :proxy_available, BOOL, :readonly => true
2040
- property :usb_standard, UINT16, :readonly => true
2041
- property :device_filters, [:USBDeviceFilter], :readonly => true
2042
- function :create_device_filter, :USBDeviceFilter, [WSTRING]
2043
- function :insert_device_filter, nil, [UINT32, :USBDeviceFilter]
2044
- function :remove_device_filter, :USBDeviceFilter, [UINT32]
2045
- setup
2046
- end
2047
-
2048
- class USBDevice < AbstractInterface
2049
- iid "f8967b0b-4483-400f-92b5-8b675d98a85b"
2050
- extends :NSISupports
2051
- property :id, WSTRING, :readonly => true
2052
- property :vendor_id, UINT16, :readonly => true
2053
- property :product_id, UINT16, :readonly => true
2054
- property :revision, UINT16, :readonly => true
2055
- property :manufacturer, WSTRING, :readonly => true
2056
- property :product, WSTRING, :readonly => true
2057
- property :serial_number, WSTRING, :readonly => true
2058
- property :address, WSTRING, :readonly => true
2059
- property :port, UINT16, :readonly => true
2060
- property :version, UINT16, :readonly => true
2061
- property :port_version, UINT16, :readonly => true
2062
- property :remote, BOOL, :readonly => true
2063
- setup
2064
- end
2065
-
2066
- class USBDeviceFilter < AbstractInterface
2067
- iid "d6831fb4-1a94-4c2c-96ef-8d0d6192066d"
2068
- extends :NSISupports
2069
- property :name, WSTRING
2070
- property :active, BOOL
2071
- property :vendor_id, WSTRING
2072
- property :product_id, WSTRING
2073
- property :revision, WSTRING
2074
- property :manufacturer, WSTRING
2075
- property :product, WSTRING
2076
- property :serial_number, WSTRING
2077
- property :port, WSTRING
2078
- property :remote, WSTRING
2079
- property :masked_interfaces, UINT32
2080
- setup
2081
- end
2082
-
2083
- class HostUSBDevice < AbstractInterface
2084
- iid "173b4b44-d268-4334-a00d-b6521c9a740a"
2085
- extends :USBDevice
2086
- property :state, :USBDeviceState, :readonly => true
2087
- setup
2088
- end
2089
-
2090
- class HostUSBDeviceFilter < AbstractInterface
2091
- iid "4cc70246-d74a-400f-8222-3900489c0374"
2092
- extends :USBDeviceFilter
2093
- property :action, :USBDeviceFilterAction
2094
- setup
2095
- end
2096
-
2097
- class AudioAdapter < AbstractInterface
2098
- iid "921873db-5f3f-4b69-91f9-7be9e535a2cb"
2099
- extends :NSISupports
2100
- property :enabled, BOOL
2101
- property :audio_controller, :AudioControllerType
2102
- property :audio_driver, :AudioDriverType
2103
- setup
2104
- end
2105
-
2106
- class VRDEServer < AbstractInterface
2107
- iid "d38de40a-c2c1-4e95-b5a4-167b05f5694c"
2108
- extends :NSISupports
2109
- property :enabled, BOOL
2110
- property :auth_type, :AuthType
2111
- property :auth_timeout, UINT32
2112
- property :allow_multi_connection, BOOL
2113
- property :reuse_single_connection, BOOL
2114
- property :vrde_ext_pack, WSTRING
2115
- property :auth_library, WSTRING
2116
- property :vrde_properties, [WSTRING], :readonly => true
2117
- function :set_vrde_property, nil, [WSTRING, WSTRING]
2118
- function :get_vrde_property, WSTRING, [WSTRING]
2119
- setup
2120
- end
2121
-
2122
- class SharedFolder < AbstractInterface
2123
- iid "8388da11-b559-4574-a5b7-2bd7acd5cef8"
2124
- extends :NSISupports
2125
- property :name, WSTRING, :readonly => true
2126
- property :host_path, WSTRING, :readonly => true
2127
- property :accessible, BOOL, :readonly => true
2128
- property :writable, BOOL, :readonly => true
2129
- property :auto_mount, BOOL, :readonly => true
2130
- property :last_access_error, WSTRING, :readonly => true
2131
- setup
2132
- end
2133
-
2134
- class InternalSessionControl < AbstractInterface
2135
- iid "3e83963a-1c3b-400d-8c5f-f2d077b0a597"
2136
- extends :NSISupports
2137
- function :get_pid, UINT32, []
2138
- function :get_remote_console, :Console, []
2139
- function :assign_machine, nil, [:Machine, :LockType]
2140
- function :assign_remote_machine, nil, [:Machine, :Console]
2141
- function :update_machine_state, nil, [:MachineState]
2142
- function :uninitialize, nil, []
2143
- function :on_network_adapter_change, nil, [:NetworkAdapter, BOOL]
2144
- function :on_serial_port_change, nil, [:SerialPort]
2145
- function :on_parallel_port_change, nil, [:ParallelPort]
2146
- function :on_storage_controller_change, nil, []
2147
- function :on_medium_change, nil, [:MediumAttachment, BOOL]
2148
- function :on_storage_device_change, nil, [:MediumAttachment, BOOL]
2149
- function :on_clipboard_mode_change, nil, [:ClipboardMode]
2150
- function :on_drag_and_drop_mode_change, nil, [:DragAndDropMode]
2151
- function :on_cpu_change, nil, [UINT32, BOOL]
2152
- function :on_cpu_execution_cap_change, nil, [UINT32]
2153
- function :on_vrde_server_change, nil, [BOOL]
2154
- function :on_usb_controller_change, nil, []
2155
- function :on_shared_folder_change, nil, [BOOL]
2156
- function :on_usb_device_attach, nil, [:USBDevice, :VirtualBoxErrorInfo, UINT32]
2157
- function :on_usb_device_detach, nil, [WSTRING, :VirtualBoxErrorInfo]
2158
- function :on_show_window, nil, [BOOL, [:out, BOOL], [:out, INT64]]
2159
- function :on_bandwidth_group_change, nil, [:BandwidthGroup]
2160
- function :access_guest_property, nil, [WSTRING, WSTRING, WSTRING, BOOL, [:out, WSTRING], [:out, INT64], [:out, WSTRING]]
2161
- function :enumerate_guest_properties, nil, [WSTRING, [:out, [WSTRING]], [:out, [WSTRING]], [:out, [INT64]], [:out, [WSTRING]]]
2162
- function :online_merge_medium, nil, [:MediumAttachment, UINT32, UINT32, :Medium, :Medium, BOOL, :Medium, [:Medium], :Progress]
2163
- function :enable_vm_m_statistics, nil, [BOOL]
2164
- setup
2165
- end
2166
-
2167
- class Session < AbstractInterface
2168
- iid "12F4DCDB-12B2-4EC1-B7CD-DDD9F6C5BF4D"
2169
- extends :NSISupports
2170
- property :state, :SessionState, :readonly => true
2171
- property :type, :SessionType, :readonly => true
2172
- property :machine, :Machine, :readonly => true
2173
- property :console, :Console, :readonly => true
2174
- function :unlock_machine, nil, []
2175
- setup
2176
- end
2177
-
2178
- class StorageController < AbstractInterface
2179
- iid "a1556333-09b6-46d9-bfb7-fc239b7fbe1e"
2180
- extends :NSISupports
2181
- property :name, WSTRING, :readonly => true
2182
- property :max_devices_per_port_count, UINT32, :readonly => true
2183
- property :min_port_count, UINT32, :readonly => true
2184
- property :max_port_count, UINT32, :readonly => true
2185
- property :instance, UINT32
2186
- property :port_count, UINT32
2187
- property :bus, :StorageBus, :readonly => true
2188
- property :controller_type, :StorageControllerType
2189
- property :use_host_io_cache, BOOL
2190
- property :bootable, BOOL, :readonly => true
2191
- setup
2192
- end
2193
-
2194
- class PerformanceMetric < AbstractInterface
2195
- iid "2a1a60ae-9345-4019-ad53-d34ba41cbfe9"
2196
- extends :NSISupports
2197
- property :metric_name, WSTRING, :readonly => true
2198
- property :object, :NSISupports, :readonly => true
2199
- property :description, WSTRING, :readonly => true
2200
- property :period, UINT32, :readonly => true
2201
- property :count, UINT32, :readonly => true
2202
- property :unit, WSTRING, :readonly => true
2203
- property :minimum_value, INT32, :readonly => true
2204
- property :maximum_value, INT32, :readonly => true
2205
- setup
2206
- end
2207
-
2208
- class PerformanceCollector < AbstractInterface
2209
- iid "e22e1acb-ac4a-43bb-a31c-17321659b0c6"
2210
- extends :NSISupports
2211
- property :metric_names, [WSTRING], :readonly => true
2212
- function :get_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports]]
2213
- function :setup_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports], UINT32, UINT32]
2214
- function :enable_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports]]
2215
- function :disable_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports]]
2216
- function :query_metrics_data, [INT32], [[WSTRING], [:NSISupports], [:out, [WSTRING]], [:out, [:NSISupports]], [:out, [WSTRING]], [:out, [UINT32]], [:out, [UINT32]], [:out, [UINT32]], [:out, [UINT32]]]
2217
- setup
2218
- end
2219
-
2220
- class NATEngine < AbstractInterface
2221
- iid "26451b99-3b2d-4dcb-8e4b-d63654218175"
2222
- extends :NSISupports
2223
- property :network, WSTRING
2224
- property :host_ip, WSTRING
2225
- property :tftp_prefix, WSTRING
2226
- property :tftp_boot_file, WSTRING
2227
- property :tftp_next_server, WSTRING
2228
- property :alias_mode, UINT32
2229
- property :dns_pass_domain, BOOL
2230
- property :dns_proxy, BOOL
2231
- property :dns_use_host_resolver, BOOL
2232
- property :redirects, [WSTRING], :readonly => true
2233
- function :set_network_settings, nil, [UINT32, UINT32, UINT32, UINT32, UINT32]
2234
- function :get_network_settings, nil, [[:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32]]
2235
- function :add_redirect, nil, [WSTRING, :NATProtocol, WSTRING, UINT16, WSTRING, UINT16]
2236
- function :remove_redirect, nil, [WSTRING]
2237
- setup
2238
- end
2239
-
2240
- class ExtPackPlugIn < AbstractInterface
2241
- iid "58000040-e718-4746-bbce-4b86d96da461"
2242
- extends :NSISupports
2243
- property :name, WSTRING, :readonly => true
2244
- property :description, WSTRING, :readonly => true
2245
- property :frontend, WSTRING, :readonly => true
2246
- property :module_path, WSTRING, :readonly => true
2247
- setup
2248
- end
2249
-
2250
- class ExtPackBase < AbstractInterface
2251
- iid "f79b75d8-2890-4f34-ffff-ffffa144e82c"
2252
- extends :NSISupports
2253
- property :name, WSTRING, :readonly => true
2254
- property :description, WSTRING, :readonly => true
2255
- property :version, WSTRING, :readonly => true
2256
- property :revision, UINT32, :readonly => true
2257
- property :edition, WSTRING, :readonly => true
2258
- property :vrde_module, WSTRING, :readonly => true
2259
- property :plug_ins, [:ExtPackPlugIn], :readonly => true
2260
- property :usable, BOOL, :readonly => true
2261
- property :why_unusable, WSTRING, :readonly => true
2262
- property :show_license, BOOL, :readonly => true
2263
- property :license, WSTRING, :readonly => true
2264
- function :query_license, WSTRING, [WSTRING, WSTRING, WSTRING]
2265
- setup
2266
- end
2267
-
2268
- class ExtPack < AbstractInterface
2269
- iid "431685da-3618-4ebc-b038-833ba829b4b2"
2270
- extends :ExtPackBase
2271
- function :query_object, :NSISupports, [WSTRING]
2272
- setup
2273
- end
2274
-
2275
- class ExtPackFile < AbstractInterface
2276
- iid "b6b49f55-efcc-4f08-b486-56e8d8afb10b"
2277
- extends :ExtPackBase
2278
- property :file_path, WSTRING, :readonly => true
2279
- function :install, :Progress, [BOOL, WSTRING]
2280
- setup
2281
- end
2282
-
2283
- class ExtPackManager < AbstractInterface
2284
- iid "3295e6ce-b051-47b2-9514-2c588bfe7554"
2285
- extends :NSISupports
2286
- property :installed_ext_packs, [:ExtPack], :readonly => true
2287
- function :find, :ExtPack, [WSTRING]
2288
- function :open_ext_pack_file, :ExtPackFile, [WSTRING]
2289
- function :uninstall, :Progress, [WSTRING, BOOL, WSTRING]
2290
- function :cleanup, nil, []
2291
- function :query_all_plug_ins_for_frontend, [WSTRING], [WSTRING]
2292
- function :is_ext_pack_usable, BOOL, [WSTRING]
2293
- setup
2294
- end
2295
-
2296
- class BandwidthGroup < AbstractInterface
2297
- iid "badea2d7-0261-4146-89f0-6a57cc34833d"
2298
- extends :NSISupports
2299
- property :name, WSTRING, :readonly => true
2300
- property :type, :BandwidthGroupType, :readonly => true
2301
- property :reference, UINT32, :readonly => true
2302
- property :max_bytes_per_sec, INT64
2303
- setup
2304
- end
2305
-
2306
- class BandwidthControl < AbstractInterface
2307
- iid "e2eb3930-d2f4-4f87-be17-0707e30f019f"
2308
- extends :NSISupports
2309
- property :num_groups, UINT32, :readonly => true
2310
- function :create_bandwidth_group, nil, [WSTRING, :BandwidthGroupType, INT64]
2311
- function :delete_bandwidth_group, nil, [WSTRING]
2312
- function :get_bandwidth_group, :BandwidthGroup, [WSTRING]
2313
- function :get_all_bandwidth_groups, [:BandwidthGroup], []
2314
- setup
2315
- end
2316
-
2317
- class VirtualBoxClient < AbstractInterface
2318
- iid "5fe0bd48-1181-40d1-991f-3b02f269a823"
2319
- extends :NSISupports
2320
- property :virtual_box, :VirtualBox, :readonly => true
2321
- property :session, :Session, :readonly => true
2322
- property :event_source, :EventSource, :readonly => true
2323
- setup
2324
- end
2325
-
2326
- class EventSource < AbstractInterface
2327
- iid "9b6e1aee-35f3-4f4d-b5bb-ed0ecefd8538"
2328
- extends :NSISupports
2329
- function :create_listener, :EventListener, []
2330
- function :create_aggregator, :EventSource, [[:EventSource]]
2331
- function :register_listener, nil, [:EventListener, [:VBoxEventType], BOOL]
2332
- function :unregister_listener, nil, [:EventListener]
2333
- function :fire_event, BOOL, [:Event, INT32]
2334
- function :get_event, :Event, [:EventListener, INT32]
2335
- function :event_processed, nil, [:EventListener, :Event]
2336
- setup
2337
- end
2338
-
2339
- class EventListener < AbstractInterface
2340
- iid "67099191-32e7-4f6c-85ee-422304c71b90"
2341
- extends :NSISupports
2342
- function :handle_event, nil, [:Event]
2343
- setup
2344
- end
2345
-
2346
- class Event < AbstractInterface
2347
- iid "0ca2adba-8f30-401b-a8cd-fe31dbe839c0"
2348
- extends :NSISupports
2349
- property :type, :VBoxEventType, :readonly => true
2350
- property :source, :EventSource, :readonly => true
2351
- property :waitable, BOOL, :readonly => true
2352
- function :set_processed, nil, []
2353
- function :wait_processed, BOOL, [INT32]
2354
- setup
2355
- end
2356
-
2357
- class ReusableEvent < AbstractInterface
2358
- iid "69bfb134-80f6-4266-8e20-16371f68fa25"
2359
- extends :Event
2360
- property :generation, UINT32, :readonly => true
2361
- function :reuse, nil, []
2362
- setup
2363
- end
2364
-
2365
- class MachineEvent < AbstractInterface
2366
- iid "92ed7b1a-0d96-40ed-ae46-a564d484325e"
2367
- extends :Event
2368
- property :machine_id, WSTRING, :readonly => true
2369
- setup
2370
- end
2371
-
2372
- class MachineStateChangedEvent < AbstractInterface
2373
- iid "5748F794-48DF-438D-85EB-98FFD70D18C9"
2374
- extends :MachineEvent
2375
- property :state, :MachineState, :readonly => true
2376
- setup
2377
- end
2378
-
2379
- class MachineDataChangedEvent < AbstractInterface
2380
- iid "abe94809-2e88-4436-83d7-50f3e64d0503"
2381
- extends :MachineEvent
2382
- property :temporary, BOOL, :readonly => true
2383
- setup
2384
- end
2385
-
2386
- class MediumRegisteredEvent < AbstractInterface
2387
- iid "53fac49a-b7f1-4a5a-a4ef-a11dd9c2a458"
2388
- extends :Event
2389
- property :medium_id, WSTRING, :readonly => true
2390
- property :medium_type, :DeviceType, :readonly => true
2391
- property :registered, BOOL, :readonly => true
2392
- setup
2393
- end
2394
-
2395
- class MachineRegisteredEvent < AbstractInterface
2396
- iid "c354a762-3ff2-4f2e-8f09-07382ee25088"
2397
- extends :MachineEvent
2398
- property :registered, BOOL, :readonly => true
2399
- setup
2400
- end
2401
-
2402
- class SessionStateChangedEvent < AbstractInterface
2403
- iid "714a3eef-799a-4489-86cd-fe8e45b2ff8e"
2404
- extends :MachineEvent
2405
- property :state, :SessionState, :readonly => true
2406
- setup
2407
- end
2408
-
2409
- class GuestPropertyChangedEvent < AbstractInterface
2410
- iid "3f63597a-26f1-4edb-8dd2-6bddd0912368"
2411
- extends :MachineEvent
2412
- property :name, WSTRING, :readonly => true
2413
- property :value, WSTRING, :readonly => true
2414
- property :flags, WSTRING, :readonly => true
2415
- setup
2416
- end
2417
-
2418
- class SnapshotEvent < AbstractInterface
2419
- iid "21637b0e-34b8-42d3-acfb-7e96daf77c22"
2420
- extends :MachineEvent
2421
- property :snapshot_id, WSTRING, :readonly => true
2422
- setup
2423
- end
2424
-
2425
- class SnapshotTakenEvent < AbstractInterface
2426
- iid "d27c0b3d-6038-422c-b45e-6d4a0503d9f1"
2427
- extends :SnapshotEvent
2428
- setup
2429
- end
2430
-
2431
- class SnapshotDeletedEvent < AbstractInterface
2432
- iid "c48f3401-4a9e-43f4-b7a7-54bd285e22f4"
2433
- extends :SnapshotEvent
2434
- setup
2435
- end
2436
-
2437
- class SnapshotChangedEvent < AbstractInterface
2438
- iid "07541941-8079-447a-a33e-47a69c7980db"
2439
- extends :SnapshotEvent
2440
- setup
2441
- end
2442
-
2443
- class MousePointerShapeChangedEvent < AbstractInterface
2444
- iid "a6dcf6e8-416b-4181-8c4a-45ec95177aef"
2445
- extends :Event
2446
- property :visible, BOOL, :readonly => true
2447
- property :alpha, BOOL, :readonly => true
2448
- property :xhot, UINT32, :readonly => true
2449
- property :yhot, UINT32, :readonly => true
2450
- property :width, UINT32, :readonly => true
2451
- property :height, UINT32, :readonly => true
2452
- property :shape, [UINT8], :readonly => true
2453
- setup
2454
- end
2455
-
2456
- class MouseCapabilityChangedEvent < AbstractInterface
2457
- iid "d633ad48-820c-4207-b46c-6bd3596640d5"
2458
- extends :Event
2459
- property :supports_absolute, BOOL, :readonly => true
2460
- property :supports_relative, BOOL, :readonly => true
2461
- property :needs_host_cursor, BOOL, :readonly => true
2462
- setup
2463
- end
2464
-
2465
- class KeyboardLedsChangedEvent < AbstractInterface
2466
- iid "6DDEF35E-4737-457B-99FC-BC52C851A44F"
2467
- extends :Event
2468
- property :num_lock, BOOL, :readonly => true
2469
- property :caps_lock, BOOL, :readonly => true
2470
- property :scroll_lock, BOOL, :readonly => true
2471
- setup
2472
- end
2473
-
2474
- class StateChangedEvent < AbstractInterface
2475
- iid "4376693C-CF37-453B-9289-3B0F521CAF27"
2476
- extends :Event
2477
- property :state, :MachineState, :readonly => true
2478
- setup
2479
- end
2480
-
2481
- class AdditionsStateChangedEvent < AbstractInterface
2482
- iid "D70F7915-DA7C-44C8-A7AC-9F173490446A"
2483
- extends :Event
2484
- setup
2485
- end
2486
-
2487
- class NetworkAdapterChangedEvent < AbstractInterface
2488
- iid "08889892-1EC6-4883-801D-77F56CFD0103"
2489
- extends :Event
2490
- property :network_adapter, :NetworkAdapter, :readonly => true
2491
- setup
2492
- end
2493
-
2494
- class SerialPortChangedEvent < AbstractInterface
2495
- iid "3BA329DC-659C-488B-835C-4ECA7AE71C6C"
2496
- extends :Event
2497
- property :serial_port, :SerialPort, :readonly => true
2498
- setup
2499
- end
2500
-
2501
- class ParallelPortChangedEvent < AbstractInterface
2502
- iid "813C99FC-9849-4F47-813E-24A75DC85615"
2503
- extends :Event
2504
- property :parallel_port, :ParallelPort, :readonly => true
2505
- setup
2506
- end
2507
-
2508
- class StorageControllerChangedEvent < AbstractInterface
2509
- iid "715212BF-DA59-426E-8230-3831FAA52C56"
2510
- extends :Event
2511
- setup
2512
- end
2513
-
2514
- class MediumChangedEvent < AbstractInterface
2515
- iid "0FE2DA40-5637-472A-9736-72019EABD7DE"
2516
- extends :Event
2517
- property :medium_attachment, :MediumAttachment, :readonly => true
2518
- setup
2519
- end
2520
-
2521
- class ClipboardModeChangedEvent < AbstractInterface
2522
- iid "cac21692-7997-4595-a731-3a509db604e5"
2523
- extends :Event
2524
- property :clipboard_mode, :ClipboardMode, :readonly => true
2525
- setup
2526
- end
2527
-
2528
- class DragAndDropModeChangedEvent < AbstractInterface
2529
- iid "e90b8850-ac8e-4dff-8059-4100ae2c3c3d"
2530
- extends :Event
2531
- property :drag_and_drop_mode, :DragAndDropMode, :readonly => true
2532
- setup
2533
- end
2534
-
2535
- class CPUChangedEvent < AbstractInterface
2536
- iid "4da2dec7-71b2-4817-9a64-4ed12c17388e"
2537
- extends :Event
2538
- property :cpu, UINT32, :readonly => true
2539
- property :add, BOOL, :readonly => true
2540
- setup
2541
- end
2542
-
2543
- class CPUExecutionCapChangedEvent < AbstractInterface
2544
- iid "dfa7e4f5-b4a4-44ce-85a8-127ac5eb59dc"
2545
- extends :Event
2546
- property :execution_cap, UINT32, :readonly => true
2547
- setup
2548
- end
2549
-
2550
- class GuestKeyboardEvent < AbstractInterface
2551
- iid "88394258-7006-40d4-b339-472ee3801844"
2552
- extends :Event
2553
- property :scancodes, [INT32], :readonly => true
2554
- setup
2555
- end
2556
-
2557
- class GuestMouseEvent < AbstractInterface
2558
- iid "1f85d35c-c524-40ff-8e98-307000df0992"
2559
- extends :ReusableEvent
2560
- property :absolute, BOOL, :readonly => true
2561
- property :x, INT32, :readonly => true
2562
- property :y, INT32, :readonly => true
2563
- property :z, INT32, :readonly => true
2564
- property :w, INT32, :readonly => true
2565
- property :buttons, INT32, :readonly => true
2566
- setup
2567
- end
2568
-
2569
- class VRDEServerChangedEvent < AbstractInterface
2570
- iid "a06fd66a-3188-4c8c-8756-1395e8cb691c"
2571
- extends :Event
2572
- setup
2573
- end
2574
-
2575
- class VRDEServerInfoChangedEvent < AbstractInterface
2576
- iid "dd6a1080-e1b7-4339-a549-f0878115596e"
2577
- extends :Event
2578
- setup
2579
- end
2580
-
2581
- class USBControllerChangedEvent < AbstractInterface
2582
- iid "93BADC0C-61D9-4940-A084-E6BB29AF3D83"
2583
- extends :Event
2584
- setup
2585
- end
2586
-
2587
- class USBDeviceStateChangedEvent < AbstractInterface
2588
- iid "806da61b-6679-422a-b629-51b06b0c6d93"
2589
- extends :Event
2590
- property :device, :USBDevice, :readonly => true
2591
- property :attached, BOOL, :readonly => true
2592
- property :error, :VirtualBoxErrorInfo, :readonly => true
2593
- setup
2594
- end
2595
-
2596
- class SharedFolderChangedEvent < AbstractInterface
2597
- iid "B66349B5-3534-4239-B2DE-8E1535D94C0B"
2598
- extends :Event
2599
- property :scope, :Scope, :readonly => true
2600
- setup
2601
- end
2602
-
2603
- class RuntimeErrorEvent < AbstractInterface
2604
- iid "883DD18B-0721-4CDE-867C-1A82ABAF914C"
2605
- extends :Event
2606
- property :fatal, BOOL, :readonly => true
2607
- property :id, WSTRING, :readonly => true
2608
- property :message, WSTRING, :readonly => true
2609
- setup
2610
- end
2611
-
2612
- class EventSourceChangedEvent < AbstractInterface
2613
- iid "e7932cb8-f6d4-4ab6-9cbf-558eb8959a6a"
2614
- extends :Event
2615
- property :listener, :EventListener, :readonly => true
2616
- property :add, BOOL, :readonly => true
2617
- setup
2618
- end
2619
-
2620
- class ExtraDataChangedEvent < AbstractInterface
2621
- iid "024F00CE-6E0B-492A-A8D0-968472A94DC7"
2622
- extends :Event
2623
- property :machine_id, WSTRING, :readonly => true
2624
- property :key, WSTRING, :readonly => true
2625
- property :value, WSTRING, :readonly => true
2626
- setup
2627
- end
2628
-
2629
- class VetoEvent < AbstractInterface
2630
- iid "9a1a4130-69fe-472f-ac10-c6fa25d75007"
2631
- extends :Event
2632
- function :add_veto, nil, [WSTRING]
2633
- function :is_vetoed, BOOL, []
2634
- function :get_vetos, [WSTRING], []
2635
- setup
2636
- end
2637
-
2638
- class ExtraDataCanChangeEvent < AbstractInterface
2639
- iid "245d88bd-800a-40f8-87a6-170d02249a55"
2640
- extends :VetoEvent
2641
- property :machine_id, WSTRING, :readonly => true
2642
- property :key, WSTRING, :readonly => true
2643
- property :value, WSTRING, :readonly => true
2644
- setup
2645
- end
2646
-
2647
- class CanShowWindowEvent < AbstractInterface
2648
- iid "adf292b0-92c9-4a77-9d35-e058b39fe0b9"
2649
- extends :VetoEvent
2650
- setup
2651
- end
2652
-
2653
- class ShowWindowEvent < AbstractInterface
2654
- iid "B0A0904D-2F05-4D28-855F-488F96BAD2B2"
2655
- extends :Event
2656
- property :win_id, INT64
2657
- setup
2658
- end
2659
-
2660
- class NATRedirectEvent < AbstractInterface
2661
- iid "24eef068-c380-4510-bc7c-19314a7352f1"
2662
- extends :MachineEvent
2663
- property :slot, UINT32, :readonly => true
2664
- property :remove, BOOL, :readonly => true
2665
- property :name, WSTRING, :readonly => true
2666
- property :proto, :NATProtocol, :readonly => true
2667
- property :host_ip, WSTRING, :readonly => true
2668
- property :host_port, INT32, :readonly => true
2669
- property :guest_ip, WSTRING, :readonly => true
2670
- property :guest_port, INT32, :readonly => true
2671
- setup
2672
- end
2673
-
2674
- class HostPCIDevicePlugEvent < AbstractInterface
2675
- iid "a0bad6df-d612-47d3-89d4-db3992533948"
2676
- extends :MachineEvent
2677
- property :plugged, BOOL, :readonly => true
2678
- property :success, BOOL, :readonly => true
2679
- property :attachment, :PCIDeviceAttachment, :readonly => true
2680
- property :message, WSTRING, :readonly => true
2681
- setup
2682
- end
2683
-
2684
- class VBoxSVCAvailabilityChangedEvent < AbstractInterface
2685
- iid "97c78fcd-d4fc-485f-8613-5af88bfcfcdc"
2686
- extends :Event
2687
- property :available, BOOL, :readonly => true
2688
- setup
2689
- end
2690
-
2691
- class BandwidthGroupChangedEvent < AbstractInterface
2692
- iid "334df94a-7556-4cbc-8c04-043096b02d82"
2693
- extends :Event
2694
- property :bandwidth_group, :BandwidthGroup, :readonly => true
2695
- setup
2696
- end
2697
-
2698
- class GuestMonitorChangedEvent < AbstractInterface
2699
- iid "0f7b8a22-c71f-4a36-8e5f-a77d01d76090"
2700
- extends :Event
2701
- property :change_type, :GuestMonitorChangedEventType, :readonly => true
2702
- property :screen_id, UINT32, :readonly => true
2703
- property :origin_x, UINT32, :readonly => true
2704
- property :origin_y, UINT32, :readonly => true
2705
- property :width, UINT32, :readonly => true
2706
- property :height, UINT32, :readonly => true
2707
- setup
2708
- end
2709
-
2710
- class StorageDeviceChangedEvent < AbstractInterface
2711
- iid "8a5c2dce-e341-49d4-afce-c95979f7d70c"
2712
- extends :Event
2713
- property :storage_device, :MediumAttachment, :readonly => true
2714
- property :removed, BOOL, :readonly => true
2715
- setup
2716
- end
2717
-
2718
- end
2719
- end
2720
- end