CTI Client structures (C++ CTI API)

CTI_COMMAND_MSG

Contents  Back  Next

Definition

 

#define CTI_NUMBER_SIZE     8

#define CTI_MESSAGE_SIZE  256

 

typedef struct cti_command_tag_msg

{

  DWORD m_dwSize;

  DWORD m_dwCommand;

  WPARAM m_wParam;

  LPARAM m_lParam;

  union tag_number

  {

     CTI_NUMBER wNumber;

     TCHAR szNumber[CTI_NUMBER_SIZE];

  }m_unNumber;

  TCHAR m_szMessage[CTI_MESSAGE_SIZE];

}CTI_COMMAND_MSG,FAR* LP_CTI_COMMAND_MSG;

 

Remarks

These structures are used to send most data over the network. m_dwSize contains the structure size, comprising usually the message length plus the length of the data preceding it. m_dwCommand contains the command parameter. remaining values are command-dependent. SQL messages, such as SQL_DATA, are particularly likely to contain text longer than 256 characters.

 

See also

Structures overview | WM_CTI_NETWORK_DISPATCH

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.