术语 | siscreaterestorestructure |
释义 | SisCreateRestoreStructure 语法: C++ BOOL SisCreateRestoreStructure( __in PWCHAR volumeRoot, __out PVOID *sisRestoreStructure, __out PWCHAR *commonStoreRootPathname, __out PULONG countOfCommonStoreFilesToRestore, __out PWCHAR **commonStoreFilesToRestore ); SisCreateRestoreStructure Function 该SisCreateRestoreStructure函数创建一个SIS的还原所提供的信息为基础的结构。 参数 volumeRoot [in] 文件的卷的根目录的名称,没有尾部反斜杠的数量,要备份。例如,指定的“C:”,而不是的“C:\\”。 sisRestoreStructure [out] 返回SIS的恢复结构。 commonStoreRootPathname [out] 完全合格的路径指定卷的普通商店名称。对于例如,“C:\\ SIS的普通商店”。 countOfCommonStoreFilesToRestore [out] 数在commonStoreFilesToRestore参数列出的文件。 commonStoreFilesToRestore [out] 指向一个文件名,指定由SIS用来管理指定的卷内部文件列表数组。这些文件应该恢复在同一时间,在作为共同商店同样的方式由SisCSFilesToBackupForLink文件的要求。 返回值 这个函数返回TRUE,如果它成功完成,否则返回FALSE。调用GetLastError获得更多关于调用失败原因的信息。 备注 这个函数建立了还原的方式中SisCreateBackupStructure确立了指定卷上的备份环境中指定的卷环境。 请注意,此功能不一定会寻求共识,存储文件或文件对应的备份媒体上的SIS的联系,如果这些共同设立一个或多个文件存储在磁盘上仍然存在。一个共同的,存储文件的数据流不会改变它一旦建立,所以如果该文件已经存在磁盘上的,没有必要恢复它的内容。 共存储文件的名称是全球唯一以确保还原操作,即使没有出现在同SIS的完整性,使卷的备份操作访问。 备份操作后完成,释放由数组使用字符串commonStoreFilesToRestore调用SisFreeAllocatedMemory内存。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderSisbkup.h LibrarySisbkup.lib DLLSisbkup.dll 参见 SisCreateBackupStructure SisCSFilesToBackupForLink SisFreeAllocatedMemory SisFreeBackupStructure 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==SisCreateRestoreStructure Function The SisCreateRestoreStructure function creates a SIS restore structure based on the supplied information. Syntax C++ BOOL SisCreateRestoreStructure( __in PWCHAR volumeRoot, __out PVOID *sisRestoreStructure, __out PWCHAR *commonStoreRootPathname, __out PULONG countOfCommonStoreFilesToRestore, __out PWCHAR **commonStoreFilesToRestore ); Parameters volumeRoot [in] File name of the volume root, without the trailing backslash, of the volume to be backed up. For example, specify "C:" and not "C:\\". sisRestoreStructure [out] Returned SIS restore structure. commonStoreRootPathname [out] Fully qualified path name of the specified volume's common store. For example, "c:\\SIS Common Store". countOfCommonStoreFilesToRestore [out] Number of files listed in the commonStoreFilesToRestore parameter. commonStoreFilesToRestore [out] Pointer to an array of file names that specifies the list of internal files used by SIS to manage the specified volume. These files should be restored at the same time and in the same manner as the common-store files requested by SisCSFilesToBackupForLink . Return Value This function returns TRUE if it completes successfully and FALSE otherwise. Call GetLastError to get more information about the reason the call failed. Remarks This function establishes the restore environment on the specified volume in the way that SisCreateBackupStructure establishes the backup environment on the specified volume. Note that this function will not necessarily identify the common-store file or files corresponding to a set of SIS links on the backup media if those common store file or files still exist on disk. The contents of a common-store file's data stream never change once it is created, so if the file already exists on the disk there is no need to restore it. Common-store file names are globally unique to ensure the integrity of the restore operation even if it does not occur on the same SIS-enabled volume that the backup operation has accessed. After the backup operation is complete, deallocate the memory used by the commonStoreFilesToRestore array of strings by calling SisFreeAllocatedMemory . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderSisbkup.h LibrarySisbkup.lib DLLSisbkup.dll See Also SisCreateBackupStructure SisCSFilesToBackupForLink SisFreeAllocatedMemory SisFreeBackupStructure Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa362541(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。