Platform SDK: TAPI

lineProxyResponse

The lineProxyResponse function indicates completion of a proxy request by a registered proxy handler, such as an ACD agent handler on a server.

LONG WINAPI lineProxyResponse(
  HLINE hLine,                        
  LPLINEPROXYREQUEST lpProxyRequest,  
  DWORD dwResult                      
);

Parameters

hLine
A handle to the open line device.
lpProxyRequest
The pointer to the proxy request buffer that was given to the application by TAPI in a LINE_PROXYREQUEST message. In the case of proxy requests that return data to the client application, the proxy handler shall have filled in the necessary structure in this buffer before calling this function. The dwNeededSize and dwUsedSize members of the structure to be returned must have been set appropriately.
dwResult
The function result that is to be returned to the calling application in a LINE_REPLY message (generated automatically by TAPI). Must be zero or one of the negative error values defined for the function invoked.

Return Values

Returns zero if the function succeeds or one of these negative error values:

LINEERR_INVALLINEHANDLE, LINEERR_INVALPARAM, LINEERR_INVALPOINTER, LINEERR_NOMEM, LINEERR_NOTREGISTERED, LINEERR_OPERATIONFAILED, LINEERR_OPERATIONUNAVAIL, LINEERR_RESOURCEUNAVAIL, LINEERR_UNINITIALIZED.

Requirements

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

See Also

TAPI 2.2 Reference Overview, Supplementary Line Service Functions