Proves if the given result code and throws an EhbTapiError exception if it's an TAPI error.
function CheckTapiResult(ResultCode: ThbTapiResult): ThbTapiResult;
ResultCode
The TAPI result code to prove.
Returns the ResultCode.