Description: AsyncFilwhen
we need asynchronous behaviour or parallelism we create threads. The asynchronous file I/O APIs allows us to leverage the asynchronous behaviour without introducing threads. So we can issue ReadFileEx or WriteFileEx and perform other operations. Then finally when the application needs the result of I/O, it can check the status of asynchronous operation with the help of some APIs which we will discuss shortly. The file should be opened with FILE_FLAG_OVERLAPPED for using the asynchronous APIs.eDemo
To Search:
File list (Check if you may need any files):
AsyncFileDemo\AsyncFile.cpp
.............\AsyncFile.h
.............\AsyncFileDemo.clw
.............\AsyncFileDemo.cpp
.............\AsyncFileDemo.dsp
.............\AsyncFileDemo.dsw
.............\AsyncFileDemo.h
.............\AsyncFileDemo.rc
.............\AsyncFileDemo.sln
.............\AsyncFileDemo.suo
.............\AsyncFileDemo.vcxproj
.............\AsyncFileDemoDlg.cpp
.............\AsyncFileDemoDlg.h
.............\CopyHandler.cpp
.............\CopyHandler.h
.............\ReadMe.txt
.............\res
.............\...\AsyncFileDemo.ico
.............\...\AsyncFileDemo.rc2
.............\resource.h
.............\StdAfx.cpp
.............\StdAfx.h