Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要捕捉事件以在 dokan 驱动器中复制文件。我正在使用 C# dokan 镜像驱动项目。有谁能够帮我?
复制的工作方式是首先通过 CreateFile 回调打开原始文件,通过 CreateFile 回调创建该文件的副本,通过 ReadFile 回调读取原始文件,并通过 WriteFile 回调写入副本。就我(相当有限的)知识而言,没有明确的方法来检测复制。
您可以通过“复制”后缀检测到在同一目录中复制文件。
我可能是错的,我对 Dokan 了解不多。我只为拼贴操作系统课程作业编写了一个内存文件系统。