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.
Modified: trunk/reactos/lib/advapi32/reg/reg.c
_____
Modified: trunk/reactos/lib/advapi32/reg/reg.c
--- trunk/reactos/lib/advapi32/reg/reg.c 2005-12-29 19:54:42 UTC
(rev 20436)
+++ trunk/reactos/lib/advapi32/reg/reg.c 2005-12-29 20:31:22 UTC
(rev 20437)
@@ -3184,7 +3184,7 @@
{
*lpcbMaxValueLen = FullInfo->MaxValueDataLen;
}
-
+#ifndef __REACTOS__
if (lpcbSecurityDescriptor != NULL)
{
Status = NtQuerySecurityObject(KeyHandle,
@@ -3207,6 +3207,7 @@
goto Cleanup;
}
}
+#endif
if (lpftLastWriteTime != NULL)
{
Show replies by date