Connect UnrealizeObject and test debug prints. I assume arg count is one
not two. If wrong please correct me.
Modified: trunk/reactos/lib/gdi32/misc/stubs.c
Modified: trunk/reactos/subsys/win32k/objects/color.c
Modified: trunk/reactos/tools/nci/w32ksvc.db
_____
Modified: trunk/reactos/lib/gdi32/misc/stubs.c
--- trunk/reactos/lib/gdi32/misc/stubs.c 2005-07-11 02:43:24 UTC
(rev 16531)
+++ trunk/reactos/lib/gdi32/misc/stubs.c 2005-07-11 04:56:04 UTC
(rev 16532)
@@ -1116,8 +1116,7 @@
)
{
UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ return NtGdiUnrealizeObject(a0);
}
_____
Modified: trunk/reactos/subsys/win32k/objects/color.c
--- trunk/reactos/subsys/win32k/objects/color.c 2005-07-11 02:43:24 UTC
(rev 16531)
+++ trunk/reactos/subsys/win32k/objects/color.c 2005-07-11 04:56:04 UTC
(rev 16532)
@@ -609,8 +609,14 @@
case GDI_OBJECT_TYPE_PALETTE:
{
/* Make sure this is a Palette object!*/
+ DPRINT1("GDI_OBJECT_TYPE_PALETTE\n");
break;
}
+ case GDI_OBJECT_TYPE_BRUSH:
+ {
+ DPRINT1("GDI_OBJECT_TYPE_BRUSH\n");
+ break;
+ }
default:
DPRINT1("Magic 0x%08x not implemented\n", objectType);
break;
_____
Modified: trunk/reactos/tools/nci/w32ksvc.db
--- trunk/reactos/tools/nci/w32ksvc.db 2005-07-11 02:43:24 UTC (rev
16531)
+++ trunk/reactos/tools/nci/w32ksvc.db 2005-07-11 04:56:04 UTC (rev
16532)
@@ -274,7 +274,7 @@
NtGdiTextOut 5
NtGdiTransparentBlt 11
NtGdiTranslateCharsetInfo 3
-NtGdiUnrealizeObject 2
+NtGdiUnrealizeObject 1
NtGdiUpdateColors 1
NtGdiUpdateICMRegKey 4
NtGdiWidenPath 1