I noticed GetObjectW in Wine is the same when a null object is used. It does not SetLastError.
Modified: trunk/reactos/subsys/win32k/objects/dc.c

Modified: trunk/reactos/subsys/win32k/objects/dc.c
--- trunk/reactos/subsys/win32k/objects/dc.c	2006-01-24 05:23:52 UTC (rev 21007)
+++ trunk/reactos/subsys/win32k/objects/dc.c	2006-01-24 05:39:17 UTC (rev 21008)
@@ -1,3 +1,4 @@
+
 /*
  *  ReactOS W32 Subsystem
  *  Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
@@ -1788,6 +1789,9 @@
   LPVOID SafeBuf;
   NTSTATUS Status = STATUS_SUCCESS;
 
+  /* From Wine: GetObject does not SetLastError() on a null object */
+  if (!handle) return 0;
+  
   if (count <= 0)
   {
     return 0;