How read serial port with ZwReadFile?

Ryuji Kawaida 61 Reputation points
2021-05-31T10:16:13.307+00:00

Now, I am trying to read the serial port with ZwReadFile.

For read serial port I use ZwCreateFile and put as property FILE_SYNCHRONOUS_IO_ALERT.
ZwReadFile returns values following:

101000-bytes.png

What is mean this bytes?
Where find information about FILE_SYNCHRONOUS_IO_ALERT?

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,622 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.