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.
我正在使用 C++ 和 VSS API 在程序中创建 VSS 快照。根据此处,您可以使用 FindFirstFile/FindNextFile 函数或创建指向卷的符号链接并通过链接访问 VSS 快照中的文件。还有其他方法吗?谢谢。
正如链接本身所说,FindFirstFile这只是 Win32 函数如何访问 VSS 快照的一个示例。你错误地认为它有点特别。由于 VSS 快照只是文件系统,因此文件功能在它们上不起作用是例外的。std::ifstream甚至会起作用的机会很高。
FindFirstFile
std::ifstream