[C++] How do I know FILE_FLAG_OVERLAPPED has been set in the file handle ?
Posted on 2013-12-29
I want to know FILE_FLAG_OVERLAPPED flag has been set in the file handle.
I got a file handle from DuplicateHandle() and that is HANDLE_TYPE_FILE and
my target file name.
I want to read that file by using duplicated handle, but I don't know
FILE_FLAG_OVERLAPPED flag has been set or not into that file handle.
If I know that flag information, I can call ReadFile() with/without OVERLAPPED
Any hints welcome.
Windows 7 32bit