Author: fireball
Date: Sat May 29 10:24:25 2010
New Revision: 47395
URL: http://svn.reactos.org/svn/reactos?rev=47395&view=rev
Log:
- Initialize (hide) mouse pointer right after creating the primary surface. Fixes a possible crash when the cursor was moved and only then cursor icon was set.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c [iso-8859-1] Sat May 29 10:24:25 2010
@@ -543,6 +543,9 @@
/* attach monitor */
AttachMonitor(&PrimarySurface, PrimarySurface.DisplayNumber);
+
+ /* Initialize mouse pointer */
+ RosUserSetCursor(NULL);
/* Put the pointer in the center of the screen */
RosUserSetCursorPos((SurfaceRect.right - SurfaceRect.left) / 2,
Author: sir_richard
Date: Sat May 29 01:08:41 2010
New Revision: 47389
URL: http://svn.reactos.org/svn/reactos?rev=47389&view=rev
Log:
[NTOS]: Root Bus PDO should not override Status with STATUS_NOT_IMPLEMENTED and instead use the current IRP status (which drivers/PnP will typically set to STATUS_NOT_SUPPORTED). Found by testing the new PCIx driver (probably fixes other bus drivers too).
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnproot…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] Sat May 29 01:08:41 2010
@@ -1085,7 +1085,6 @@
default:
DPRINT1("IRP_MJ_PNP / Unknown minor function 0x%lx\n", IrpSp->MinorFunction);
- Status = STATUS_NOT_IMPLEMENTED;
break;
}