The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Don57 on August 04, 2011, 10:56:05 PM

Title: ReadFile OVERLAPPED structure
Post by: Don57 on August 04, 2011, 10:56:05 PM
I am trying to use the OVERLAPPED structure to determine when the file read is done, and just keep getting more confused. Apparently the OS does not allways complete the read right away, the request is put in a que , and processed in due time. It would seem to me that some sort of flag must be set by the OS to confirm completion of the read. Any help would be appreciated Thanks.
Title: Re: ReadFile OVERLAPPED structure
Post by: clive on August 05, 2011, 01:12:26 AM
Well it gives ERROR_IO_PENDING, and it generates an EVENT
http://www.masm32.com/board/index.php?topic=14026.0