SfcIsFileProtected3w
Usage
BOOL SfcIsFileProtected
(
HANDLE RpcHandle,
LPCWSTR ProtFileName
)
Overview
Check, if the given File is protected by the System.
Params
RpcHandle [In] This must be NULL.
ProtFileName [In] Filename with Path to check.
Returns
Failure: FALSE with GetLastError(3w) != ERROR_FILE_NOT_FOUND
Success: TRUE, when the File is Protected FALSE with GetLastError(3w) == ERROR_FILE_NOT_FOUND, when the File is not Protected.
Implementation
Declared in "sfc.h".
Implemented in "dlls/sfc_os/sfc_os.c".
Debug channel "sfc".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.