CTI Client network functions (C++ CTI API)

CTI_NPrepareRestart

Contents  Back  Next

Prepare client for restart.

 

VOID WINAPI CTI_NPrepareRestart(

 LONG lMinutes

);

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.

 

Return value

None

 

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, “User administration” page.

 

clip0053

You can also support these functions. When a CTI_CLIENTCLOSE event arrives, the IParam tells you the time until the client should restart. Call CTI_NPrepareRestart passing this time as a parameter, and end the application. The application will be restarted after the time has elapsed.

 

Example

Simply CTI client (C++)

 

See also

Network functions overview | CTI_CLIENTCLOSE

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.