SfcIsKeyProtected.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SfcIsKeyProtected (SFC_OS.@)

SYNOPSIS

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

DESCRIPTION

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

Defined in "sfc.h".

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

Debug channel "sfc".