Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlApi_GetMainServerVersion Function
System Functions

Get a major version of server part of product which uses SDK API.

Syntax
PRL_RESULT PrlApi_GetMainServerVersion(
    PRL_UINT32_PTR pnMajorVersion
);
File

PrlApiDeprCore.h

Parameters

pnMajorVersion
[in][out] A pointer to a variable that recieves the result

Returns

PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

It uses to make proper links in error messages.

Notes

It works wrong when SDK connects to servers with different versions

Links
© 2021 Parallels International GmbH. All rights reserved.