Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlApi_InitEx Function
System Functions  See Also

This is extended version of PrlApi_Init call that can be used to specify explicitly application mode in which the API library should function.

Syntax
PRL_RESULT PrlApi_InitEx(
    PRL_UINT32 nVersion, 
    PRL_APPLICATION_MODE nAppMode, 
    PRL_UINT32 nFlags, 
    PRL_UINT32 nReserved
);
File

PrlApiCore.h

Parameters

nVersion
Library version number. This should be PARALLELS_API_VER.
nAppMode
API library application mode.
nFlags
Flags as mask ( from enums PRL_API_INIT_FLAGS and PRL_API_COMMAND_FLAGS )
nReserved
reserved parameter for future purposes.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_DOUBLE_INIT - library has been already initialized. 

PRL_ERR_OUT_OF_MEMORY - not enough memory to initialize the library. 

PRL_ERR_API_INCOMPATIBLE - SDK version is incompatible with version in param. 

PRL_ERR_SUCCESS - operation completed successfully. 

See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.