SfcIsFileProtected(3w)

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(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.

BUGS

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

IMPLEMENTATION

Defined in "sfc.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/sfc_os/sfc_os.c".

Debug channel "sfc".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout