NAME

SfcIsFileProtected  (SFC_OS.@)

SYNOPSIS

 BOOL SfcIsFileProtected
 (
  HANDLE  RpcHandle,
  LPCWSTR ProtFileName
 )

DESCRIPTION

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 != ERROR_FILE_NOT_FOUND

Success: TRUE, when the File is Protected FALSE with GetLastError == ERROR_FILE_NOT_FOUND, when the File is not Protected.

BUGS

We return always the Result for: "File is not Protected"

IMPLEMENTATION

Declared in "sfc.h". https://source.winehq.org/source/include/sfc.h

Implemented in "dlls/sfc_os/sfc_os.c". https://source.winehq.org/source/dlls/sfc_os/sfc_os.c

Debug channel "sfc".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.