- Disable NtQuerySecurityObject for now
authorGé van Geldorp <ge@gse.nl>
Thu, 5 Jan 2006 09:22:09 +0000 (09:22 +0000)
committerGé van Geldorp <ge@gse.nl>
Thu, 5 Jan 2006 09:22:09 +0000 (09:22 +0000)
- Add some registry entries for TinyWeb (patch by Dr.Fred)
Fixes 1214

svn path=/trunk/; revision=20570

reactos/bootdata/hivecls.inf
reactos/lib/advapi32/reg/reg.c

index 94e1d14..7208efd 100644 (file)
@@ -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
index 9f14c5e..e7c06d0 100644 (file)
@@ -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,