This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Determines whether the specified file is protected. Applications should avoid replacing protected system files.
BOOL SfcIsFileProtected( [in] HANDLE RpcHandle, [in] LPCWSTR ProtFileName);
[in] RpcHandle
This parameter must beNULL.
[in] ProtFileName
The name of the file.
If the file is protected, the return value is a nonzero value.
If the file is not protected, the return value is zero.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | sfc.h |
Library | Sfc.lib |
DLL | Sfc.dll |
Was this page helpful?
Was this page helpful?