[ADVAPI32]

- Add a debug print in unusual failure case of RegQueryInfoKeyW
CORE-9719

svn path=/trunk/; revision=67843
This commit is contained in:
Thomas Faber 2015-05-21 22:16:39 +00:00
parent 86c2f31a49
commit 7e58e7cf42

View file

@ -3783,6 +3783,8 @@ RegQueryInfoKeyW(HKEY hKey,
lpcbSecurityDescriptor);
if (!NT_SUCCESS(Status) && Status != STATUS_BUFFER_TOO_SMALL)
{
ERR("NtQuerySecurityObject for key %p (%p) failed with %lx\n",
KeyHandle, hKey, Status);
ErrorCode = RtlNtStatusToDosError(Status);
goto Cleanup;
}