Windows File API Samples
It is fairy difficult for a windows fresh developer to find a full and functional File API Samples on MSDN or somewhere on the internet.
When I started windows programming, I wrote dozens of file api samples. Although I am not working on windows now, these samples may be helpful to someone else who are reading this page. So I wrote them down and hopes some of the samples useful for someone.
Here’s a list of the Samples：
1. Before start each of the sampels, do include the header file described here:
2. Copy file with process bar showing or other callback:
3. Create file mapping by CreateFileMapping and MapViewOfFile
4. CreateFileMapping and FlushViewOfFile