Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlOsesMatrix_GetSupportedOsesVersions Function
PHT_GUEST_OSES_MATRIX

Returns handle of type PHT_OPAQUE_TYPE_LIST which contains supported guest OSes list for specified guest OS type retrieved from remote server (see PrlSrv_GetSupportedOses).

Syntax
PRL_RESULT PrlOsesMatrix_GetSupportedOsesVersions(
    PRL_HANDLE hOsesMatrix, 
    PRL_UINT8 nGuestOsType, 
    PRL_HANDLE_PTR phGuestsList
);
File

PrlApiVm.h

Parameters

hOsesMatrix
[in] handle of type PHT_GUEST_OSES_MATRIX.
nGuestOsType
[in] requesting guest OS type. In order to determine list of supported guests types please refer PrlOses.h
phOsesTypesList
[out] A pointer to a variable that receives the handle.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle, null pointer or unknown OS type 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.