05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Package prlsdkapi Class Vm<br />

get optical(self, index)<br />

Return information about an optical disk specified by index.<br />

Parameters<br />

index: The index of the optical disk device instance. Use<br />

Vm.optical devs to obtain the optical disk device count.<br />

Return Value<br />

An instance of VmOpticalDev.<br />

get parallel port(self, index)<br />

Return information about a parallel port specified by index.<br />

Parameters<br />

index: The index of the parallel port device instance. Use<br />

Vm.parallel ports to obtain the device count.<br />

Return Value<br />

An instance of VmParallelPortDev.<br />

get serial port(self, index)<br />

Return information about a serial port specified by index.<br />

Parameters<br />

index: The index of the serial port device instance. Use<br />

Vm.serial ports to obtain the device count.<br />

Return Value<br />

An instance of VmSerialDev.<br />

get sound dev(self, index)<br />

Return information about a sound device specified by index.<br />

Parameters<br />

index: The index of the sound device instance. Use Vm.sound devs<br />

to obtain the sound device count.<br />

Return Value<br />

An instance of VmSoundDev.<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!