Returns the Parallels API application mode.
PRL_RESULT PrlApi_GetAppMode( PRL_APPLICATION_MODE_PTR app_mode );
PrlApiCore.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.