SfcIsKeyProtected(3w)

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 "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