CTI Client Network functions (ActiveX)NPrepareRestart |
Prepare client for restart.
Parameters lMinutes Time in minutes which should elapse before the restart. When lMinutes = 0, a restart occurs immediately. If the value is negative, the client is not restarted.
Remarks The CTI server can shut down and restart the standard clients. This can be useful if the clients were started from the network and the files have to be changed. The restart can be triggered from the server control panel, "Users" page.
You can also support these functions. When an OnClientClose event arrives, the IParam tells you the time until the client should restart. Call NPrepareRestart passing this time as a parameter, and end the application. The application will be restarted after the time has elapsed.
See also
© 2020 Tino Kasubke. All rights reserved.
|