Windows 资源保护

目的

Windows 资源保护(WRP)可防止替换作为作系统一部分安装的基本系统文件、文件夹和注册表项。 它从 Windows Server 2008 和 Windows Vista 开始可用。 应用程序不应覆盖这些资源,因为它们由系统和其他应用程序使用。 保护这些资源可防止应用程序和作系统故障。 WRP 是 Windows 文件保护(WFP)的新名称。 WRP 保护注册表项和文件夹以及基本系统文件。

如果适用

所有基于 Windows 的应用程序及其在 Windows Server 2008 或 Windows Vista 及更高版本的作系统上运行的安装程序都应注意 WRP。 在 Microsoft windows Server 2003 或 Windows XP 及其安装程序上运行的所有基于 Windows 的应用程序都应了解 WFP。

开发人员受众

WRP API 旨在供 C/C++ 程序员使用。 WRP API 有两个函数:SfcIsFileProtectedSfcIsKeyProtected

运行时要求

仅使用 SfcIsFileProtected 函数的应用程序需要 Windows Server 2008、Windows Vista、Windows Server 2003 或 Windows XP。 使用 SfcIsKeyProtected 函数的应用程序需要 Windows Server 2008 或 Windows Vista。

在本部分中

主题 描述
关于 Windows 资源保护
有关 WRP 的一般信息。
Windows 资源保护参考
WRP 参考文档。