CTI Client events (C++ CTI API)

Events

Contents  Back  Next

Use of events

The client interface events may arrive as Windows messages or via a callback function, depending on how the interface was initialised. The callback function is like the Windows function except that the window handle is missing:

 

typedef VOID WINAPI CallbackFunc(DWORD,WPARAM,LPARAM);

 

If the callback is a class member function, it must be static.

 

Types

The Windows messages listed below are among those which may be delivered in DWORD.

 

Type

Value

Description

WM_CTI_MENUCOMMAND

WM_USER + 31

Message from the context menu of the connection symbol

WM_CTI_SHOWPHONELIST

WM_USER + 32

Message from call symbol

WM_CTI_NETWORKCLOSE

WM_USER + 23

Network connection interrupted

WM_CTI_NETWORKOPEN

WM_USER + 22

Network connection active

WM_CTI_RAISECLIENT

WM_USER + 33

Client should be raised to the foreground

WM_CTI_NETWORK_DISPATCH

WM_USER + 21

CTI message reception

 

See also

C++ CTI API overview | CTI_NStartClientCALLBACK | CTI_NStartClientHWND

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.