NWGetThreadSessionContext

Returns a thread’s assigned session context.

Syntax

   # include <nwmisc.h>
   N_EXTERN_LIBRARY(NWCCODE) NWGetThreadSessionContext  (TSCHANDLE *phTSC);
   
   

Parameters

phTSC

(OUT) Points to a session context handle.

Return Values

Remarks

If there is no session context assigned to the thread, NWE_OBJECT_NOT_FOUND is returned and *phTSC is set to NULL.