Communicating Through an Open Call

Once a call has been made, an application can hand over a voice call to the user to complete, or for a data call it can start transferring data. The format of the data depends on the media selected to transfer the data, and this dictates the API functions used to send and receive data. For example, if you were writing a Windows CE device to send recorded voice through a telephone call you might use the Wave audio API functions. In the example presented in this chapter, a serial communications handle is obtained from TAPI to allow ReadFile and WriteFile to be used to read and send digital data. This technique would allow you to use TAPI to make a telephone call to a modem on a remote computer, and then once connected, ...

Get Windows® CE 3.0 Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.