Returns a thread’s assigned session context.
# include <nwmisc.h> N_EXTERN_LIBRARY(NWCCODE) NWGetThreadSessionContext (TSCHANDLE *phTSC);
(OUT) Points to a session context handle.
If there is no session context assigned to the thread, NWE_OBJECT_NOT_FOUND is returned and *phTSC is set to NULL.