Rev 3 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 5 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | It contains only two functions which are described below: |
5 | It contains only two functions which are described below: |
6 | 6 | ||
7 | GetTapiDevices |
7 | GetTapiDevices |
8 | ============== |
8 | ============== |
9 | 9 | ||
10 | Delphi: `function GetTapiDevices(buf: PAnsiChar): integer; stdcall;` |
10 | Delphi: `function GetTapiDevicesA(buf: PAnsiChar): integer; stdcall;` |
11 | C++: `int __stdcall GetTapiDevices(AnsiChar* buf);` |
11 | C++: `int __stdcall GetTapiDevicesA(AnsiChar* buf);` |
12 | 12 | ||
13 | GetTapiDevices lists all available TAPI devices. |
13 | GetTapiDevices lists all available TAPI devices. |
14 | 14 | ||
15 | If buf is NULL, the result of the function is the number of bytes required to fill the buffer. |
15 | If buf is NULL, the result of the function is the number of bytes required to fill the buffer. |
16 | 16 | ||
Line 20... | Line 20... | ||
20 | If the result is -1, an error occured. |
20 | If the result is -1, an error occured. |
21 | 21 | ||
22 | MakeCall |
22 | MakeCall |
23 | ======== |
23 | ======== |
24 | 24 | ||
25 | Delphi: `function MakeCall(phoneNumber: PAnsiChar; deviceId: integer): integer; stdcall;` |
25 | Delphi: `function MakeCallA(phoneNumber: PAnsiChar; deviceId: integer): integer; stdcall;` |
26 | C++: `int __stdcall MakeCall(AnsiChar* phoneNumber, int deviceId);` |
26 | C++: `int __stdcall MakeCallA(AnsiChar* phoneNumber, int deviceId);` |
27 | 27 | ||
28 | MakeCall requests the telephone to make a call. |
28 | MakeCall requests the telephone to make a call. |
29 | 29 | ||
30 | phoneNumber is the number to be called. It should only contain numbers. |
30 | phoneNumber is the number to be called. It should only contain numbers. |
31 | 31 |