Author: cgutman
Date: Wed May 19 00:48:09 2010
New Revision: 47268
URL: http://svn.reactos.org/svn/reactos?rev=47268&view=rev
Log:
[QMGR]
- Add the FLG_ADDREG_APPEND flag when writing the netsvcs value because, unlike WINE, we are actually going to have values in there
Modified:
trunk/reactos/dll/win32/qmgr/qmgr.inf
Modified: trunk/reactos/dll/win32/qmgr/qmgr.inf
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/qmgr/qmgr.inf?re…
==============================================================================
--- trunk/reactos/dll/win32/qmgr/qmgr.inf [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/qmgr/qmgr.inf [iso-8859-1] Wed May 19 00:48:09 2010
@@ -12,5 +12,5 @@
HKCR,"AppID\%CLSID_BackgroundCopyQMgr%","LocalService",,"BITS"
HKCR,"CLSID\%CLSID_BackgroundCopyManager%","AppID",,"%CLSID_BackgroundCopyQMgr%"
-;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","netsvcs",0x00010000,"BITS"
+HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","netsvcs",0x00010008,"BITS"
HKLM,"System\CurrentControlSet\Services\BITS\Parameters","ServiceDll",0x00020000,"qmgr.dll"
Author: cgutman
Date: Wed May 19 00:43:02 2010
New Revision: 47267
URL: http://svn.reactos.org/svn/reactos?rev=47267&view=rev
Log:
[SETUPAPI]
- Fix an incorrect length value that corrupted REG_MULTI_SZ values when they had strings appended
- I'm not sure if this is synced with WINE, but if it is, they need this patch too
Modified:
trunk/reactos/dll/win32/setupapi/install.c
Modified: trunk/reactos/dll/win32/setupapi/install.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] Wed May 19 00:43:02 2010
@@ -250,7 +250,7 @@
if (total != size)
{
TRACE( "setting value %s to %s\n", debugstr_w(value), debugstr_w(buffer) );
- RegSetValueExW( hkey, value, 0, REG_MULTI_SZ, (BYTE *)buffer, total );
+ RegSetValueExW( hkey, value, 0, REG_MULTI_SZ, (BYTE *)buffer, total + sizeof(WCHAR) );
}
done:
HeapFree( GetProcessHeap(), 0, buffer );