SfcIsFileProtected(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

Bugs

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

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.