Platform SDK: TAPI

TSPI_lineUncompleteCall

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

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

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later.
  Version: Requires TAPI 1.3 or later.
  Header: Declared in Tspi.h.

See Also

ASYNC_COMPLETION, TSPI_lineCompleteCall