Connect UnrealizeObject and test debug prints. I assume arg count is one not two. If wrong please correct me.

svn path=/trunk/; revision=16532
This commit is contained in:
James Tabor 2005-07-11 04:56:04 +00:00
parent 6a38a2f69d
commit c81ba78f7b
3 changed files with 8 additions and 3 deletions

View file

@ -1116,8 +1116,7 @@ UnrealizeObject(
)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
return NtGdiUnrealizeObject(a0);
}

View file

@ -609,6 +609,12 @@ NtGdiUnrealizeObject(HGDIOBJ hgdiobj)
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:

View file

@ -274,7 +274,7 @@ NtGdiSwapBuffers 1
NtGdiTextOut 5
NtGdiTransparentBlt 11
NtGdiTranslateCharsetInfo 3
NtGdiUnrealizeObject 2
NtGdiUnrealizeObject 1
NtGdiUpdateColors 1
NtGdiUpdateICMRegKey 4
NtGdiWidenPath 1