Platform SDK: TAPI

TSPI_lineSetCallHubTracking

The TSPI_lineSetCallHubTracking function sets the CallHub tracking mode. This function requires TAPI 3.0 version negotiation.

LONG TSPIAPI TSPI_lineSetCallHubTracking(
  HDRVLINE hdLine,
  LPLINECALLHUBTRACKINGINFO lpTrackingInfo
);

Parameters

hdLine
The service provider's handle to the call whose call information is to be retrieved. The call state of hdCall can be any state.
lpTrackingInfo
A pointer to a variably sized structure of type LINECALLHUBTRACKINGINFO. Upon successful completion of the request, this structure is filled with call-related information.

Return Values

Returns zero if the function succeeds, or an error number if an error occurs. Possible return values are as follows:

LINEERR_INVALCALLHANDLE
LINEERR_NOMEM
LINEERR_OPERATIONFAILED
LINEERR_OPERATIONUNAVAIL
LINEERR_RESOURCEUNAVAIL

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tspi.h.

See Also

CallHub Object, LINECALLHUBTRACKINGINFO