网站首页  词典首页

请输入您要查询的函数:

 

术语 sisrestoredlink
释义 SisRestoredLink
语法:
C++
BOOL SisRestoredLink(
__in PVOID sisRestoreStructure,
__in PWCHAR restoredFileName,
__in PVOID reparseData,
__in ULONG reparseDataSize,
__out PULONG countOfCommonStoreFilesToRestore,
__out PWCHAR **commonStoreFilesToRestore
);
SisRestoredLink功能
该SisRestoredLink函数返回的共存储文件或文件的名称指向指定的恢复SIS的联系。
参数
sisRestoreStructure [in]
指针SIS的还原SisCreateRestoreStructure返回结构。
restoredFileName [in]
完全合格的文件恢复的SIS的链接文件的名称。
reparseData [in]
指针申根信息系统的分析点的内容。这个分析点中包含的数据描述恢复SIS的链接。
reparseDataSize [in]
对SIS的分析点的内容大小指向reparseData,以字节为单位。
countOfCommonStoreFilesToRestore [out]
数在commonStoreFilesToRestore参数列出的文件。
commonStoreFilesToRestore [out]
指向一个共同的一系列存储文件名。这些文件应该恢复在同一时间,在作为共同商店同样的方式由SisCSFilesToBackupForLink文件的要求。
如果countOfCommonStoreFilesToRestore参数值不为0,该commonStoreFilesToRestore参数值将包含常见的,存储文件的名称作为恢复SIS的联系汇率造成恢复。如果该值为0,那么,任何的共存储文件已退回一次,或者他们已经在目前的数量。
返回值
这个函数返回TRUE,如果它成功完成,否则返回FALSE。调用GetLastError获得更多关于调用失败原因的信息。
备注
您应该要求每个SIS的链接已恢复此功能。
这个函数将返回各共存储文件最多每一次恢复操作,任何企图恢复SIS的联系,更多的是看到相同的普通店文件将不会导致普通法上存储文件的名称被返回。
此函数将不会返回一个共同的,存储文件,这不是也调用返回SisCSFilesToBackupForLink备份操作过程中,假设SIS的重新分析数据储存在介质中并没有被损坏。
当还原一个SIS的链接,您的还原操作应该只创建适当的稀疏文件,初始化任何分配的范围,然后写SIS的重新分析完全一样备份操作过程中读取的数据。至关重要的是,您的恢复操作,而不是创建(或满阵线文件稀疏文件分配范围稀疏文件)的零初始化。
请注意,此功能不一定会寻求共识,存储文件或文件对应的备份媒体上的SIS的链接集合,如果这些共同商店文件或磁盘上的文件仍然存在。一个共同的,存储文件的数据流中永远不变的,一旦被创建,因此,如果该文件已经存在磁盘上的,没有必要恢复它的内容。
共存储文件的名称是全球唯一以确保还原操作,即使没有出现在同SIS的完整性,使卷的备份操作访问。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderSisbkup.h
LibrarySisbkup.lib
DLLSisbkup.dll
参见
SisCreateRestoreStructure
SisCSFilesToBackupForLink
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==SisRestoredLink Function
The SisRestoredLink function returns the names of the common-store file or files pointed to by the specified restored SIS link.
Syntax
C++
BOOL SisRestoredLink(
__in PVOID sisRestoreStructure,
__in PWCHAR restoredFileName,
__in PVOID reparseData,
__in ULONG reparseDataSize,
__out PULONG countOfCommonStoreFilesToRestore,
__out PWCHAR **commonStoreFilesToRestore
);
Parameters
sisRestoreStructure [in]
Pointer to a SIS restore structure returned from SisCreateRestoreStructure .
restoredFileName [in]
Fully qualified file name of the restored SIS link file.
reparseData [in]
Pointer to the contents of the SIS reparse point. This reparse point contains data describing the restored SIS link.
reparseDataSize [in]
Size of the contents of the SIS reparse point pointed to by reparseData, in bytes.
countOfCommonStoreFilesToRestore [out]
Number of files listed in the commonStoreFilesToRestore parameter.
commonStoreFilesToRestore [out]
Pointer to an array of common-store file names. These files should be restored at the same time and in the same manner as the common-store files requested by SisCSFilesToBackupForLink .
If the value of the countOfCommonStoreFilesToRestore parameter is not 0, the value of the commonStoreFilesToRestore parameter will contain the names of the common-store files to be restored as a result of restoring the SIS link. If the value is 0, then either the common-store files have been returned once, or they are already present on the volume.
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
You should call this function for each SIS link that has been restored.
This function will return each common-store file at most once for each restore operation; any attempt to restore additional SIS links that see the same common-store file will not result in that common-store file name being returned.
This function will not return a common-store file that was not also returned in a call to SisCSFilesToBackupForLink during the backup operation, assuming that the SIS reparse data stored on the media has not been corrupted.
When restoring a SIS link, your restore operation should create only the appropriate sparse file, initialize any allocated ranges, and then write the SIS reparse data exactly as it was read during the backup operation. It is crucial that your restore operation create sparse files with unallocated ranges rather than sparse files (or nonsparse files) initialized with zeroes.
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 changes 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.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderSisbkup.h
LibrarySisbkup.lib
DLLSisbkup.dll
See Also
SisCreateRestoreStructure
SisCSFilesToBackupForLink
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa362553(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:15:31