lineProxyResponse  1S.46BN 

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 fields 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 0 or one of the negative error values defined for the function invoked.

 

Return Values

Returns zero if the function is successful 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.