Author: greatlrd
Date: Sun Jul 8 19:58:47 2007
New Revision: 27484
URL: http://svn.reactos.org/svn/reactos?rev=27484&view=rev
Log:
patch from Yaroslav Ponomarenko yarryp at gmail dot com
Implement so spi_ msg works now with swamp mouse buttun, but it seam our msg quare does not support it yet or must
we send a msg from spi msg we change the mouse buttun to notify the program. either way it is now partly supported
by his patch
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/misc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/misc.c Sun Jul 8 19:58:47 2007
@@ -967,6 +967,7 @@
case SPI_SETMOUSEHOVERHEIGHT:
case SPI_SETMOUSE:
case SPI_SETMOUSESPEED:
+ case SPI_SETMOUSEBUTTONSWAP:
/* We will change something, so set the flag here */
bChanged = TRUE;
case SPI_GETDESKWALLPAPER:
@@ -1081,6 +1082,10 @@
CurInfo = IntGetSysCursorInfo(WinStaObject);
CurInfo->MouseHoverHeight = uiParam;
break;
+ case SPI_SETMOUSEBUTTONSWAP:
+ CurInfo = IntGetSysCursorInfo(WinStaObject);
+ CurInfo->SwapButtons = uiParam;
+ break;
case SPI_SETMOUSE:
CurInfo = IntGetSysCursorInfo(WinStaObject);
CurInfo->CursorAccelerationInfo = *(PCURSORACCELERATION_INFO)pvParam;
Author: silverblade
Date: Sun Jul 8 19:54:12 2007
New Revision: 27483
URL: http://svn.reactos.org/svn/reactos?rev=27483&view=rev
Log:
Kernel-mode COM rough implementation for KS. Forgot to add to SVN on
last commit.
Added:
trunk/reactos/drivers/ksfilter/ks/kcom.c
Added: trunk/reactos/drivers/ksfilter/ks/kcom.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/kcom.c…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/kcom.c (added)
+++ trunk/reactos/drivers/ksfilter/ks/kcom.c Sun Jul 8 19:54:12 2007
@@ -1,0 +1,51 @@
+/* ===============================================================
+ Kernel-mode COM
+*/
+
+#include <windows.h>
+#include <ntddk.h>
+#include <ks.h>
+#include <kcom.h>
+#include <debug.h>
+
+
+/* http://msdn2.microsoft.com/en-us/library/ms809781.aspx */
+COMDDKAPI NTSTATUS NTAPI
+KoCreateInstance(
+ IN REFCLSID ClassId,
+ IN IUnknown* UnkOuter OPTIONAL,
+ IN ULONG ClsContext,
+ IN REFIID InterfaceId,
+ OUT PVOID* Interface)
+{
+ /* If UnkOuter isn't NULL, it must be IUnknown - TODO: CHECK THIS PARAM */
+ /* TODO: Check IRQL? */
+
+ DPRINT("KoCreateInstance called\n");
+
+ if ( ClsContext != CLSCTX_KERNEL_SERVER )
+ {
+ DPRINT("FAILED: ClsContext must be CLSCTX_KERNEL_SERVER\n");
+ return STATUS_INVALID_PARAMETER_3;
+ }
+
+ /*
+ Find the desired interface and create an instance.
+
+ But we also need to supply a
+ pointer which will be set to a list of available interfaces, to
+ IoGetDeviceInterfaces.
+
+ We can then create a file based on this information and thus talk
+ to the appropriate device.
+
+ Useful references:
+ http://www.freelists.org/archives/wdmaudiodev/01-2003/msg00023.html
+
+ TODO
+ */
+
+ DPRINT("** FAKING SUCCESS **\n");
+
+ return STATUS_SUCCESS;
+}
Author: greatlrd
Date: Sun Jul 8 19:10:33 2007
New Revision: 27480
URL: http://svn.reactos.org/svn/reactos?rev=27480&view=rev
Log:
fixing some problem with parelles rbuild files
Added:
branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/version.rc (with props)
Modified:
branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/WineD3D-0.9.36-Parallels.rbuild
branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/wined3d.rbuild
branches/reactx/reactos/dll/directx/directx.rbuild
Modified: branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/WineD3D-0.9.36-Parallels.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/directx/Wine…
==============================================================================
--- branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/WineD3D-0.9.36-Parallels.rbuild (original)
+++ branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/WineD3D-0.9.36-Parallels.rbuild Sun Jul 8 19:10:33 2007
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<group>
-<directory name="WineD3D-0.9.36-Parallels">
+<directory name="dlls">
<xi:include href="dlls/dlls.rbuild" />
</directory>
</group>
Added: branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/version.rc
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/directx/Wine…
==============================================================================
--- branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/version.rc (added)
+++ branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/version.rc Sun Jul 8 19:10:33 2007
@@ -1,0 +1,27 @@
+/*
+ * Copyright 2001 Ove Kaaven
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_OLESELFREGISTER
+#define WINE_FILEDESCRIPTION_STR "Wine WineD3D OpenGL ICD"
+#define WINE_FILENAME_STR "wined3d.dll"
+#define WINE_FILEVERSION 5,3,1,904
+#define WINE_FILEVERSION_STR "5.3.1.904"
+#define WINE_PRODUCTVERSION 5,3,1,904
+#define WINE_PRODUCTVERSION_STR "5.3.1.904"
+
+#include "wine/wine_common_ver.rc"
Propchange: branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/version.rc
------------------------------------------------------------------------------
svn:eol-style = native
Modified: branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/wined3d.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/directx/Wine…
==============================================================================
--- branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/wined3d.rbuild (original)
+++ branches/reactx/reactos/dll/directx/WineD3D-0.9.36-Parallels/dlls/wined3d/wined3d.rbuild Sun Jul 8 19:10:33 2007
@@ -1,6 +1,6 @@
-<module name="wine3d" type="win32dll" entrypoint="0" installbase="system32" installname="wine3d.dll">
- <importlibrary definition="wine3d.def" />
- <include base="wine3d">.</include>
+<module name="wined3d" type="win32dll" entrypoint="0" installbase="system32" installname="wined3d.dll">
+ <importlibrary definition="wined3d.def" />
+ <include base="wined3d">.</include>
<include base="ReactOS">include/reactos/wine</include>
<define name="UNICODE" />
<define name="_UNICODE" />
Modified: branches/reactx/reactos/dll/directx/directx.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/directx/dire…
==============================================================================
--- branches/reactx/reactos/dll/directx/directx.rbuild (original)
+++ branches/reactx/reactos/dll/directx/directx.rbuild Sun Jul 8 19:10:33 2007
@@ -7,12 +7,15 @@
<directory name="devenum">
<xi:include href="devenum/devenum.rbuild" />
</directory>
+<!--
<directory name="ddraw">
<xi:include href="ddraw/ddraw.rbuild" />
</directory>
+-->
<directory name="dinput">
<xi:include href="dinput/dinput.rbuild" />
</directory>
+
<directory name="dinput8">
<xi:include href="dinput8/dinput8.rbuild" />
</directory>
@@ -28,14 +31,15 @@
<directory name="dxdiagn">
<xi:include href="dxdiagn/dxdiagn.rbuild" />
</directory>
+<!--
<directory name="d3d8">
<xi:include href="d3d8/d3d8.rbuild" />
</directory>
<directory name="d3d9">
<xi:include href="d3d9/d3d9.rbuild" />
</directory>
-
-<directory name="d3d9">
+-->
+<directory name="WineD3D-0.9.36-Parallels">
<xi:include href="WineD3D-0.9.36-Parallels/WineD3D-0.9.36-Parallels.rbuild" />
</directory>
</group>