SfcIsFileProtected (SFC_OS.@)
BOOL SfcIsFileProtected ( HANDLE RpcHandle, LPCWSTR ProtFileName )
Check, if the given File is protected by the System.
RpcHandle | [In] | This must be NULL. |
ProtFileName | [In] | Filename with Path to check. |
Failure: FALSE with GetLastError != ERROR_FILE_NOT_FOUND
Success: TRUE, when the File is Protected FALSE with GetLastError == ERROR_FILE_NOT_FOUND, when the File is not Protected.
We return always the Result for: "File is not Protected"
Declared in "include/sfc.h". gitlab.winehq.org/wine/wine/blob/master/include/sfc.h
Implemented in "dlls/sfc_os/sfc_os.c". gitlab.winehq.org/wine/wine/blob/master/dlls/sfc_os/sfc_os.c
Debug channel "sfc".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.