SfcIsKeyProtected (SFC_OS.@)
BOOL SfcIsKeyProtected ( HKEY hKey, LPCWSTR lpSubKey, REGSAM samDesired )
Check, if the given Registry Key is protected by the System.
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). |
Failure: FALSE with GetLastError != ERROR_FILE_NOT_FOUND
Success: TRUE, when the Key is Protected FALSE with GetLastError == ERROR_FILE_NOT_FOUND, when the Key is not Protected
Declared in "include/sfc.h". gitlab.winehq.org/wine/wine/blob/master/include/sfc.h
Implemented in "dlls/sfc_os/sfc_os.c". gitlab.winehq.org/wine/wine/blob/master/dlls/sfc_os/sfc_os.c
Debug channel "sfc".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.