Commit 1eb12cb0 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Return 0 from GdiplusShutdown.

parent 9326fc13
......@@ -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.@]
*/
......
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment