Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlApi_GetSupportedOsesTypes Function
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

PrlApiVm.h

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 ©2016-2017 Parallels International GmbH. All rights reserved.