advapi32: Added debug trace to RegOverridePredefKey.
This commit is contained in:
parent
fed2d49fd9
commit
d331118bfd
|
@ -284,6 +284,8 @@ LSTATUS WINAPI RegOverridePredefKey( HKEY hkey, HKEY override )
|
||||||
HKEY old_key;
|
HKEY old_key;
|
||||||
int idx;
|
int idx;
|
||||||
|
|
||||||
|
TRACE("(%p %p)\n", hkey, override);
|
||||||
|
|
||||||
if ((hkey < HKEY_SPECIAL_ROOT_FIRST) || (hkey > HKEY_SPECIAL_ROOT_LAST))
|
if ((hkey < HKEY_SPECIAL_ROOT_FIRST) || (hkey > HKEY_SPECIAL_ROOT_LAST))
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
idx = (UINT_PTR)hkey - (UINT_PTR)HKEY_SPECIAL_ROOT_FIRST;
|
idx = (UINT_PTR)hkey - (UINT_PTR)HKEY_SPECIAL_ROOT_FIRST;
|
||||||
|
|
Loading…
Reference in New Issue