05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Package prlsdkapi<br />

1 Package prlsdkapi<br />

1.1 Modules<br />

• prlsdk (Section 2, p. 100)<br />

– consts (Section 3, p. 121)<br />

– errors (Section 4, p. 135)<br />

1.2 Functions<br />

bubble single char(x, y)<br />

prl sdk call prefix(prefix, meth name, object, *args)<br />

prl sdk call(meth name, object, *args)<br />

get prop doc (get func, set func)<br />

prl property(prop name, prefix=None, doc=None)<br />

prl to date time(dt string)<br />

prl datetime property(prop name, prefix=None, doc=None)<br />

prl iter property(count methname, index methodname, doc=None, arg1=None)<br />

GetClientConfig()<br />

get handle type(obj)<br />

get os type from version(os version)<br />

Determine and return OS type based on the specified OS version.<br />

Parameters<br />

os version: The version of the OS to get the type for. See<br />

consts.PVS GUEST VER xxx for the list of OS versions.<br />

Return Value<br />

A Result object containing the OS type as a string. See<br />

consts.PVS GUEST TYPE xxx for the list of OS types.<br />

prl indirect property(prop name, prefix=None, doc=None)<br />

prl sdk register objects (obj type list)<br />

7

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

Saved successfully!

Ooh no, something went wrong!