Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlFoundVmInfo_GetOSVersion Function
PrlApi.h  PHT_FOUND_VM_INFO  Send Feedback

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

Syntax
PRL_RESULT PrlFoundVmInfo_GetOSVersion(
    PRL_HANDLE handle, 
    PRL_UINT32_PTR pnOSVersion
);
File
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 (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!