NWClearThreadSessionContext

Removes a thread’s assigned session context.

Syntax

   # include <nwmisc.h>
   N_EXTERN_LIBRARY(NWCCODE) NWClearThreadSessionContext  (void);
   
   

Return Values

Remarks

When a thread's session context is removed, the thread reverts to the global default session context. If a thread is not assigned any session context, NWE_OBJECT_NOT_FOUND is returned.