Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlFoundVmInfo_GetOSVersion Function
PHT_FOUND_VM_INFO

Extracts the virtual machine's OS version from the container.

Syntax
PRL_RESULT PrlFoundVmInfo_GetOSVersion(
    PRL_HANDLE handle, 
    PRL_UINT32_PTR pnOSVersion
);
File

PrlApiVm.h

Parameters

handle
A handle of type PHT_FOUND_VM_INFO identifying the container.
pnOSVersion
[out] A pointer to a variable that receives the OS version.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.