Platform SDK: TAPI

lineGetProxyStatus

The lineGetProxyStatus function returns a list of proxy request types that are currently being serviced for the specified device.

LONG lineGetProxyStatus(                        
  HLINEAPP hLineApp,                            
  DWORD dwDeviceID,                             
  DWORD dwAppAPIVersion,                        
  LPLINEPROXYREQUESTLIST lpLineProxyRequestList 
);

Parameters

hLineApp
The handle to the application's registration with TAPI.
dwDeviceID
The line device to be queried.
dwAppAPIVersion
The version number of TAPI to be used.
lpLineProxyRequestList
A pointer to a variably sized structure of type LINEPROXYREQUESTLIST. Upon successful completion of the request, this structure is filled with a list of the currently supported proxy requests. Prior to calling lineGetProxyStatus, the application should set the dwTotalSize member of this structure to indicate the amount of memory available to TAPI for returning information.

Return Values

Returns zero if the request succeeds; otherwise, the function returns one of the following negative error values:

LINEERR_BADDEVICEID
LINEERR_INCOMPATIBLEAPIVERSION
LINEERR_INVALPARAM
LINEERR_NOMEM
LINEERR_OPERATIONFAILED
LINEERR_OPERATIONUNAVAIL
LINEERR_RESOURCEUNAVAIL
LINEERR_UNINITIALIZED

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Version: Requires TAPI 2.2 or later.
  Header: Declared in Tapi.h.
  Library: Use Tapi32.lib.

See Also

About TAPI 3.0 Call Center Controls, LINEPROXYREQUESTLIST