Commit 74027f37 authored by Yuxuan Shui's avatar Yuxuan Shui Committed by Alexandre Julliard

gdi32: Make GetStockObject hotpatchable.

Needed for ntlea.
parent 9a326653
......@@ -418,7 +418,7 @@ HGDIOBJ WINAPI GetCurrentObject( HDC hdc, UINT type )
/***********************************************************************
* GetStockObject (GDI32.@)
*/
HGDIOBJ WINAPI GetStockObject( INT obj )
HGDIOBJ WINAPI DECLSPEC_HOTPATCH GetStockObject( INT obj )
{
if (obj < 0 || obj > STOCK_LAST + 1 || obj == 9) return 0;
......
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