[ADVAPI32] Handle HKCR in RegDeleteValueA+W and RegDeleteKeyValueW (#6033)
authorWhindmar Saksit <whindsaks@proton.me>
Sun, 24 Mar 2024 17:28:26 +0000 (18:28 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Mar 2024 17:28:26 +0000 (18:28 +0100)
commit2449ed5d85cf4fb04d12a394fc43741c8137580b
tree57a648393d937c399c31aec5985cd7654f2cfa80
parent373816c729a7186ba2049cabc7a32a585f899ab7
[ADVAPI32] Handle HKCR in RegDeleteValueA+W and RegDeleteKeyValueW (#6033)

- HKCR delete handling; delete the value in HKCU if it exists there, otherwise delete it in HKLM.
- Changed RegDeleteKeyValueW to just use the regular Reg functions to get HKCR handling for free.
dll/win32/advapi32/reg/hkcr.c
dll/win32/advapi32/reg/reg.c
dll/win32/advapi32/reg/reg.h