大网数据广告活动
磁盘与文件系统

SisCreateBackupStructure function (Sisbkup.h)

· 52CE 我爱测

Creates a SIS backup structure based on the supplied information.

The SisCreateBackupStructure function creates a SIS backup structure based on the supplied information.

Syntax

BOOL SisCreateBackupStructure(
  _In_  PWCHAR volumeRoot,
  _Out_ PVOID  *sisBackupStructure,
  _Out_ PWCHAR *commonStoreRootPathname,
  _Out_ PULONG countOfCommonStoreFilesToBackUp,
  _Out_ PWCHAR **commonStoreFilesToBackUp
);

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:\".

sisBackupStructure [out]

Returned SIS backup structure.

commonStoreRootPathname [out]

Fully qualified path name of the specified volume's common store. For example, "c:\SIS Common Store".

countOfCommonStoreFilesToBackUp [out]

Number of files listed in the commonStoreFilesToBackUp parameter.

commonStoreFilesToBackUp [out]

Pointer to an array of file names that specifies a list of internal files used by SIS to manage the specified volume. These files should be backed up 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 creates a SIS backup structure, which is used by the SIS backup API to create and maintain a list of the file links on the volume and the original files the links point to. This function should be called only once for each SIS-enabled volume being backed up. All files within the specified volume should be treated as common-store files and backed up only if SIS indicates that they should.

The countOfCommonStoreFilesToBackUp and commonStoreFilesToBackUp parameters together return a list of files that must be backed up regardless of which links are backed up.

If countOfCommonStoreFilesToBackUp is 0, commonStoreFilesToBackUp may be a NULL pointer. The value of the commonStoreFilesToBackUp parameter should be ignored.

After the backup operation is complete, deallocate the memory used by the commonStoreFilesToBackUp array of strings by calling SisFreeAllocatedMemory.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header Sisbkup.h
Library Sisbkup.lib
DLL Sisbkup.dll

See also

SisCreateRestoreStructure

SisCSFilesToBackupForLink

SisFreeAllocatedMemory

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。