diff --git a/dlls/gdi32/gdiobj.c b/dlls/gdi32/gdiobj.c index af74071aa6d..7068bc5bb91 100644 --- a/dlls/gdi32/gdiobj.c +++ b/dlls/gdi32/gdiobj.c @@ -882,7 +882,7 @@ void GDI_CheckNotLock(void) /*********************************************************************** - * DeleteObject (GDI32.@) + * NtGdiDeleteObjectApp (win32u.@) * * Delete a Gdi object. * @@ -895,7 +895,7 @@ void GDI_CheckNotLock(void) * Failure: FALSE, if obj is not a valid Gdi object, or is currently selected * into a DC. */ -BOOL WINAPI DeleteObject( HGDIOBJ obj ) +BOOL WINAPI NtGdiDeleteObjectApp( HGDIOBJ obj ) { GDI_HANDLE_ENTRY *entry; struct hdc_list *hdcs_head; diff --git a/dlls/gdi32/objects.c b/dlls/gdi32/objects.c index b83ee139387..16c03f56508 100644 --- a/dlls/gdi32/objects.c +++ b/dlls/gdi32/objects.c @@ -76,6 +76,16 @@ DWORD WINAPI GetObjectType( HGDIOBJ handle ) return result; } +/*********************************************************************** + * DeleteObject (GDI32.@) + * + * Delete a Gdi object. + */ +BOOL WINAPI DeleteObject( HGDIOBJ obj ) +{ + return NtGdiDeleteObjectApp( obj ); +} + /*********************************************************************** * SelectObject (GDI32.@) *