Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
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
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!