advapi32: Added debug trace to RegOverridePredefKey.

This commit is contained in:
Jacek Caban 2012-11-22 12:40:40 +01:00 committed by Alexandre Julliard
parent fed2d49fd9
commit d331118bfd
1 changed files with 2 additions and 0 deletions

View File

@ -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;