Returns foreground processes priority for the specified virtual machine.
PRL_RESULT PrlVmCfg_GetForegroundPriority( PRL_HANDLE hVmCfg, PRL_VM_PRIORITY_PTR pnVmForegroundPriority );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.