TSPI_lineUncompleteCall

The TSPI_lineUncompleteCall function is used to cancel the specified call competion request on the specified line.

LONG TSPI_lineUncompleteCall(
  DRV_REQUESTID dwRequestID,  
  HDRVLINE hdLine,            
  DWORD dwCompletionID        
);
 

Parameters

dwRequestID
The identifier of the asynchronous request.
hdLine
The handle to the line on which a call completion is to be canceled.
dwCompletionID
The completion identifier for the request that is to be canceled. TAPI does not validate this parameter when this function is called.

Return Values

Returns dwRequestID, or an error number if an error occurs. The lResult actual parameter of the corresponding ASYNC_COMPLETION is zero if the function succeeds, or an error number if an error occurs. Possible return values are as follows:

LINEERR_INVALLINEHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCOMPLETIONID, LINEERR_OPERATIONFAILED, LINEERR_NOMEM, LINEERR_RESOURCEUNAVAIL.

See Also

ASYNC_COMPLETION, TSPI_lineCompleteCall