[英]what does “explicitly locking” filesystem in Windows mean and how do I do that in my program?
this article about new security features in Vista http://msdn.microsoft.com/en-us/library/windows/hardware/ff551353%28v=vs.85%29.aspx says "write operations on a disk handle will succeed if: .... sectors being written to fall within a mounted file system that is locked explicitly " 有关Vista中新安全功能的本文http://msdn.microsoft.com/zh-cn/library/windows/hardware/ff551353%28v=vs.85%29.aspx说:“ :....正在写入的扇区属于已显式锁定的已安装文件系统内,
What does it mean for a Windows file system to be "locked explicitly"? Windows文件系统“显式锁定”是什么意思?
It means that you open the volume ( CreateFile
), and lock it using FSCTL_LOCK_VOLUME control code. 这意味着您打开了卷(
CreateFile
),并使用FSCTL_LOCK_VOLUME控制代码将其锁定。 You can do that for non-system volumes only 您只能对非系统卷执行此操作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.