CTI Client events (ActiveX)

OnClientClose

Contents  Back  Next

The client should be closed and prepared for restart.

 

Event OnClientClose(

 Long lMinutes

)

Parameters

lMinutes

Length of time in minutes until the client should be restarted – if the value is non-negative.

 

Remarks

The administrator sends this message when he wants to replace important files. This is useful when the clients were started from a shared network directory. To replace the files, all clients must be shut down. If you wish to support this feature, call NPrepareRestart upon receiving the event, passing lMinutes as a parameter. If lMinutes is negative, the client should not be restarted. Then close your application. OnClientClose is triggered from the server control panel (“User administration” page).

 

clip0053

See also

Events overview | NPrepareRestart

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.