Returns process state.
PRL_RESULT PrlStatProc_GetState( PRL_HANDLE hProcStat, PRL_PROCESS_STATE_TYPE_PTR pnState );
PrlApiStat.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.