gdi32: Introduce NtGdiDeleteObjectApp.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-07-07 15:02:17 +02:00 committed by Alexandre Julliard
parent 23d2d0c5a7
commit 18e9da8a8d
2 changed files with 12 additions and 2 deletions

View File

@ -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;

View File

@ -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.@)
*