Hi,
There is another test application that I have written that writes into the file using memory mapped api.
- Create file.
- Creating mapping to the file and map the view of the file.
- Write data
- Flush and then unmap view of the file.
- Close the file.
File spy output is below:
- Create file.
- FastIO query standard information done.
- Setinformation with paging i/o bit set.
- Read call with paging i/o bit set.
- Write call with paging i/o bit set.
- Cleanup call.
File size related questions:
- Here there is neither cached set information nor cached write. Where should I increase the file size and insert header?
- Also my previous approach [for applications not using memory mapped i/o] where I was inserting header in the paging write will fail as the two paging writes [for 1st test application and this test application] will have to be handled differently.
Thanks,
Trav