I'm testing out some code that writes to the floppy disk sectors using DeviceIoControl.
My problem is, that after I write the data to the sectors, any program that reads/writes via IO to the floppy disk, still sees the previous data.
Also, if I open the explore and press F5 to refresh, that does NOT clear the cache.
If I take the floppy disk in and out of the drive, then it seems to clear the cache.
How would I programmatically clear the floppy disk cache so as to see any changes made via DeviceIoControl API call?