码迷,mamicode.com
首页 > 其他好文 > 详细

NtFlushBuffersFile

时间:2020-06-25 10:16:30      阅读:70      评论:0      收藏:0      [点我收藏+]

标签:ESS   paste   this   lin   ntc   ble   res   code   recycle   

Hello all,
i have some problem with NtFlushBuffersFile(). I should call it in virtual FS driver. Only one reference I have found - in ntdll.dll, but driver can‘t load user dll in KM. So there is BSOD during driver initialization.

P.S. maybe someone know how to flush NTFS buffers before unmounting drive other than NtFlushBuffersFile()

 

### Clearing the Font Cache in Windows:
   
  1. Locate the font cache file by navigating to C:\Windows\System32\FNTCACHE.DAT. In versions prior to Windows XP, the cache file is C:\WINDOWS\ttfCache.
   
  2. Delete this cache file by pressing the delete key or moving it to the Recycle Bin.
   
  3. Restart your computer, and the cache file will be rebuilt.

NtFlushBuffersFile

标签:ESS   paste   this   lin   ntc   ble   res   code   recycle   

原文地址:https://www.cnblogs.com/hshy/p/13190887.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!