SfcIsKeyProtected(3w)

SfcIsKeyProtected3w

Usage

BOOL SfcIsKeyProtected
(
HKEY hKey,
LPCWSTR lpSubKey,
REGSAM samDesired
)

Overview

Check, if the given Registry Key is protected by the System.

Params

hKey [In] Handle to the root registry key.

lpSubKey [In] Name of the subkey to check.

samDesired [In] The Registry View to Examine (32 or 64 bit).

Returns

Failure: FALSE with GetLastError(3w) != ERROR_FILE_NOT_FOUND

Success: TRUE, when the Key is Protected FALSE with GetLastError(3w) == ERROR_FILE_NOT_FOUND, when the Key is not Protected

Implementation

Declared in "sfc.h".

Implemented in "dlls/sfc_os/sfc_os.c".

Debug channel "sfc".

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

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