It_SetNewSessionHook 

Use

Registers a callback function that monitors a new session being created.

Syntax

DWORD DLEX It_SetNewSessionHook(HANDLE hMr, void *ptr);

Parameters

hMr

Connection handle

ptr

Pointer to the callback function

Return Value

Returns TRUE on success, FALSE on error.

See Also

It_SetDelSessionHook, Handling Multiple Sessions