For an example, see Monitoring Communications Events.RequirementsExpand table RequirementValue Minimum supported client Windows XP [desktop apps | UWP apps] Minimum supported server Windows Server 2003 [desktop apps | UWP apps] Target Platform Windows Header winbase.h (include Windows.h) Library ...
The following example code opens the训长民黑板儿画serial port for overlapped I/O, creates an event mask to monitor CTS and DSR signals, and then waits for an event to occur. TheWaitCommEventfunc级处多第解显还径够汉tion should be executed as anoverlapped operatio冷致初氢查n so the other ...