Ja està, sol cal ficar-li el temporizador, però aquestes son les funcions principals.
Código Delphi
[-]
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
function tapiRequestMakeCall(lpszDestAddress,lpszAppName,lpszCalledParty,lpszComment: LPCSTR): DWORD;
stdcall;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
function tapiRequestMakeCall; external 'TAPI32.DLL' name 'tapiRequestMakeCall';
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var
PhoneNumber: array [0..255] of char;
AQuien: array [0..255] of char;
begin
StrPCopy(PhoneNumber,'963134455');
StrPCopy(AQuien,'To me');
tapiRequestMakeCall(PhoneNumber,'',AQuien,'');
end;
end.