gdiplus: Return 0 from GdiplusShutdown.

This commit is contained in:
Vincent Povirk 2010-09-30 13:02:22 -05:00 committed by Alexandre Julliard
parent 9326fc13ca
commit 1eb12cb08d
2 changed files with 9 additions and 1 deletions

View File

@ -121,6 +121,14 @@ void WINAPI GdiplusShutdown(ULONG_PTR token)
/* FIXME: no object tracking */
}
/* "bricksntiles" expects a return value of 0, which native coincidentally gives */
ULONG WINAPI GdiplusShutdown_wrapper(ULONG_PTR token)
{
GdiplusShutdown(token);
return 0;
}
/*****************************************************
* GdipAlloc [GDIPLUS.@]
*/

View File

@ -626,5 +626,5 @@
@ stdcall GdipWindingModeOutline(ptr ptr float)
@ stdcall GdiplusNotificationHook(ptr)
@ stdcall GdiplusNotificationUnhook(ptr)
@ stdcall GdiplusShutdown(ptr)
@ stdcall GdiplusShutdown(ptr) GdiplusShutdown_wrapper
@ stdcall GdiplusStartup(ptr ptr ptr)