Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The file input and output (I/O) functions ( CreateFile, CloseHandle, ReadFile, ReadFileEx, WriteFile, and WriteFileEx) provide the basic interface for opening and closing a communications resource handle and for performing read and write operations. The communications functions provide access to communications resources. This overview describes the use of file I/O and communications functions.
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayTraining
Module
Manage drivers and device peripherals - Training
This module introduces device drivers. Student will learn how drivers work and the tools used to manage common peripheral devices such as printers.
Documentation
Communications Resource Configuration - Win32 apps
The COMMCONFIG structure defines the configuration of a communications resource, serial or otherwise.
Communications Resources - Win32 apps
Open and close communications resource handles and perform read/write operations with file input and output functions.
Communications Resource Handles - Win32 apps
A process uses the CreateFile function to open a handle to a communications resource.