In order to initiate your I/O read operation, which method should be used?

You are the IT professional who work in an International company named Wiikigo. You are experienced in troubleshooting operating systems and applications that are not working correctly, identifying code defects and so on. You have enough knowledge on windows internals and you provide technical support for the company. The company decides to have a telecommunication application created. The application reads from a communication. Since you are the technical support, the company assigns this task to you. In order to make the application read the I/O synchronously, the application needs to be developed. In order to initiate your I/O read operation, which method should be used?

You are the IT professional who work in an International company named Wiikigo. You are experienced in troubleshooting operating systems and applications that are not working correctly, identifying code defects and so on. You have enough knowledge on windows internals and you provide technical support for the company. The company decides to have a telecommunication application created. The application reads from a communication. Since you are the technical support, the company assigns this task to you. In order to make the application read the I/O synchronously, the application needs to be developed. In order to initiate your I/O read operation, which method should be used?

A.
The ReadFileEx function should be used. An OVERLAPPED structure and a completion routine should be set.

B.
The ReadFileEx function should be used. A callback function should be set to be called when I/O completes.

C.
The ReadFile function should be used. A null value for the OVERLAPPED structure parameter should be set.

D.
The ReadFile function should be used. A pointer should be set to a properly initialized OVERLAPPED structure that contains a handle to an event object to signal when the operation completes.



Leave a Reply 0

Your email address will not be published. Required fields are marked *