Device specific interfaces

Last Updated : Sep 04, 2015 |

The device specific interfaces are implemented on the Address and Call objects of the MSP. TAPI 3.0 delegates queries for interfaces it does not recognize to the MSP. For example, if you have a pointer to an ITAddress interface, you can call Query Interface to retrieve a pointer to the ITDivert interface. The following code is an example from the DevSpice sample:

ITDivert* pDivert = NULL;
if( SUCCEEDED( gpAddress->QueryInterface( IID_ITDIVERT,
(void**)&pDivert)))
{
DWORD dwDivertSettings = 0; 
if( FAILED( pDivert-> GetDivertSettings( 
&dwDivertSettings)))
{

The interfaces available from the address object are:

  • ITACDAgent

  • ITDivert

  • ITGroup

The interface available from the Call object is:

  • ITPlay

The address object acts as a connection point container for IP Office Private events. The connection point interface is available in the interfaces.h file of the DevSpice sample and is called IPOfficePrivateEvent.