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 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.

QuickInfo

  Version: Use TAPI version 2.0 and later
  Header: Declared in tapi.h.
  Import Library: Link with tapi32.lib.

See Also

TAPI Reference Overview, Supplementary Line Services Functions