Commit d331118b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

advapi32: Added debug trace to RegOverridePredefKey.

parent fed2d49f
......@@ -284,6 +284,8 @@ LSTATUS WINAPI RegOverridePredefKey( HKEY hkey, HKEY override )
HKEY old_key;
int idx;
TRACE("(%p %p)\n", hkey, override);
if ((hkey < HKEY_SPECIAL_ROOT_FIRST) || (hkey > HKEY_SPECIAL_ROOT_LAST))
return ERROR_INVALID_PARAMETER;
idx = (UINT_PTR)hkey - (UINT_PTR)HKEY_SPECIAL_ROOT_FIRST;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment