do not call on NtQuerySecurityObject in RegQueryInfoKey for it will always fail...
authorMagnus Olsen <magnus@greatlord.com>
Thu, 29 Dec 2005 20:31:22 +0000 (20:31 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Thu, 29 Dec 2005 20:31:22 +0000 (20:31 +0000)
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

index eb2d440..ab4f7f3 100644 (file)
@@ -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)
     {