Determines if the session is noninteractive or interactive.
PRL_RESULT PrlSrv_IsNonInteractiveSession( PRL_HANDLE hServer, PRL_BOOL_PTR pbNonInteractive );
PrlApiDisp.h
PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - non valid PHT_SERVER handle or non valid (NULL) pointer to the buffer for storing result was passed. PRL_ERR_SUCCESS - operation completed successfully.