who used the function of FlushFileBuffers? RRS feed

  • Question

  • Hi ,everybody:

    I found because cache mechanism notepad used,so I want to use it to resolve problem of lose data in notepad.but the function always return 0 ,0 show failure of calling function,so I need your help ......

    Thank you

    Wednesday, July 20, 2016 1:26 AM


  • Notepad memory maps the file it is editing.  FlushFileBuffers does not work on that.   Since this is a driver forum, I am assuming you are asking about a problem with a file system driver, if so you driver is going to have to handle paging I/O properly.

    Don Burn Windows Driver Consulting Website:

    Wednesday, July 20, 2016 10:37 AM