Assigns a session context to a thread.
# include <nwmisc.h> N_EXTERN_LIBRARY(NWCCODE) NWSetThreadSessionContext (TSCHANDLE hTSC);
(IN) Specifies the session context handle.
The return value NWE_ALREADY_ATTACHED indicates that a thread is already assigned to a session context which needs to be cleared from this thread for this function to succeed.