Collapse All
Parallels C API Reference Guide
PrlApi_GetSupportedOsesTypes Function
PrlApi.h System Functions

Returns handle of type PHT_OPAQUE_TYPE_LIST which contains supported guest OSes types list for current API mode (see PrlApi_InitEx for more info about API mode).

Syntax
PRL_RESULT PrlApi_GetSupportedOsesTypes(
    PRL_HOST_OS_TYPE nHostOsType, 
    PRL_HANDLE_PTR phOsesTypesList
);
File
Parameters

nHostOsType
type of host system (remote or local) for which supported OSes list should be retrieved. In remote work mode please determine at first remote side host type (please use PrlSrvCfg_GetHostOsType for this). In local work mode PHO_UNKNOWN can be passed - host OS type will be automatically detected by API call in this case.
phOsesTypesList
[out] A pointer to a variable that receives the handle.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - null pointer was passed.

PRL_ERR_OUT_OF_MEMORY - not enough memory to create the list object.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!