Returns session duration, in seconds.
PRL_RESULT PrlStatUser_GetSessionTime( PRL_HANDLE hUserStat, PRL_UINT64_PTR pnTime );
PrlApiStat.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.