From a41bad3ee5a5903931a7ecfdab355f9b4fa63372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Thu, 5 Jan 2006 09:22:09 +0000 Subject: [PATCH] - Disable NtQuerySecurityObject for now - Add some registry entries for TinyWeb (patch by Dr.Fred) Fixes 1214 svn path=/trunk/; revision=20570 --- reactos/bootdata/hivecls.inf | 7 +++++++ reactos/lib/advapi32/reg/reg.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/reactos/bootdata/hivecls.inf b/reactos/bootdata/hivecls.inf index 94e1d142e8d..7208efdc77a 100644 --- a/reactos/bootdata/hivecls.inf +++ b/reactos/bootdata/hivecls.inf @@ -62,6 +62,13 @@ HKCR,"Msi.Package\shell\Open\command","",0x00020000,"%SystemRoot%\System32\msiex HKCR,"Msi.Package\shell\Repair\command","",0x00020000,"%SystemRoot%\System32\msiexec /f %1" HKCR,"Msi.Package\shell\Uninstall\command","",0x00020000,"%SystemRoot%\System32\msiexec /x %1" +; set MIME type for .html and .htm because Tiny webserver needs it +HKCR,".htm","",0x00000000,"html" +HKCR,".htm","Content Type",0x00000000,"text/html" + +HKCR,".html","",0x00000000,"html" +HKCR,".html","Content Type",0x00000000,"text/html" + HKCR,"CLSID",,0x00000012 ; For Shell32.dll diff --git a/reactos/lib/advapi32/reg/reg.c b/reactos/lib/advapi32/reg/reg.c index 9f14c5ee35c..e7c06d0749e 100644 --- a/reactos/lib/advapi32/reg/reg.c +++ b/reactos/lib/advapi32/reg/reg.c @@ -2507,7 +2507,7 @@ RegGetKeySecurity(HKEY hKey, TRACE("MapDefaultKey() failed (Status %lx)\n", Status); return RtlNtStatusToDosError (Status); } -#ifndef __REACTOS__ +#if 0 Status = NtQuerySecurityObject(KeyHandle, SecurityInformation, pSecurityDescriptor, @@ -3185,7 +3185,7 @@ RegQueryInfoKeyW (HKEY hKey, { *lpcbMaxValueLen = FullInfo->MaxValueDataLen; } -#ifndef __REACTOS__ +#if 0 if (lpcbSecurityDescriptor != NULL) { Status = NtQuerySecurityObject(KeyHandle,