Share via


Synchronizing Read and Write Functions (Windows Embedded CE 6.0)

1/6/2010

You can synchronously call the WriteFile, the ReadFile, and the WaitCommEvent functions.

Windows Embedded CE does not support the overlapped I/O functionality of Windows-based desktop operating systems. The lpOverlappedparameter of ReadFile or WriteFile must be NULL. Therefore, Windows Embedded CE cannot signal the event that is passed in when the I/O operation is completed. However, unlike Windows desktop operating systems, Windows Embedded CE does support simultaneous synchronous or asynchronous calls to ReadFile or WriteFile made by separate threads that are overlapped in time.

See Also

Concepts

File System Operations

Other Resources

Reading from and Writing to a File