Collapse All
Parallels C API Reference Guide
PrlApi_InitEx Function
PrlApi.h 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 nReserved1, 
    PRL_UINT32 nReserved2
);
File
Parameters

nVersion
Library version number. This should be PARALLELS_API_VER.
nAppMode
API library application mode.
nReserved1
reserved parameter for future purposes.
nReserved2
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!