ThbTapiCall.GetCallData
Unit: hbTapi

Retrieves the CallData stored within the calls Info property. The needed memory is allocated by this function. If the function return a value greater as zero, you must free the allocated memory.

procedure TForm1.ShowCallData(Call: ThbTapiCall);
var p: Pointer;
begin
  if Call.GetCallData(p) > 0 then
  try
    Edit1.Text := PChar(p);
  finally
    FreeMem(p);
  end;
end;

Declaration

function GetCallData(out Data: Pointer): Integer;

See Also

ThbTapiCall.SetCallData