Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlOsesMatrix_GetDefaultOsVersion Function
PHT_GUEST_OSES_MATRIX

Returns default guest OS version for specified guest OS type retrieved from remote server (see PrlSrv_GetSupportedOses).

Syntax
PRL_RESULT PrlOsesMatrix_GetDefaultOsVersion(
    PRL_HANDLE hOsesMatrix, 
    PRL_UINT8 nGuestOsType, 
    PRL_UINT16_PTR pnOsVersion
);
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
pnOsVersion
[out] A pointer to a variable that receives the result.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid jandle, null pointer or unknown OS type was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.