1. When I issue an asynchronous ReadFile and that IO completes with
ERROR_MORE_DATA, does GetQueuedCompletionStatus() return true? How do I
determine that ERROR_MORE_DATA was returned as a result of the read? Do I
call GetOverlappedResult() after calling GetQueuedCompletionStatus()?
2. When I issue an asynchronous ReadFile() and that read ends up returning
ERROR_BROKEN_PIPE does GetQueuedCompletionStatus() return true? It's similar
to question #1 except that no data was transferred.
3. If I call the API (so far using ConnectNamedPipe, ReadFile, WriteFile)
passing the overlapped structure and a handle opened with the overlapped flag
thus allowing for asynchronous behavior, will an IO completion packet be
queued to the IO completion port even if the data is available and the API
returns a success code synchronously?
remove "nospam" change community. to msn.com