From 3930c5e3066005072f3cedc9f3c0f38ff0934802 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Thu, 29 Dec 2005 20:31:22 +0000 Subject: [PATCH] do not call on NtQuerySecurityObject in RegQueryInfoKey for it will always fail on reactos. adding #ifndef __REACTOS__ around that code and should be remove when we have that call implement in reactos. svn path=/trunk/; revision=20437 --- reactos/lib/advapi32/reg/reg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/lib/advapi32/reg/reg.c b/reactos/lib/advapi32/reg/reg.c index eb2d440a10a..ab4f7f3977f 100644 --- a/reactos/lib/advapi32/reg/reg.c +++ b/reactos/lib/advapi32/reg/reg.c @@ -3184,7 +3184,7 @@ RegQueryInfoKeyW (HKEY hKey, { *lpcbMaxValueLen = FullInfo->MaxValueDataLen; } - +#ifndef __REACTOS__ if (lpcbSecurityDescriptor != NULL) { Status = NtQuerySecurityObject(KeyHandle, @@ -3207,6 +3207,7 @@ RegQueryInfoKeyW (HKEY hKey, goto Cleanup; } } +#endif if (lpftLastWriteTime != NULL) {