Commit 18e9da8a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Introduce NtGdiDeleteObjectApp.

parent 23d2d0c5
...@@ -882,7 +882,7 @@ void GDI_CheckNotLock(void) ...@@ -882,7 +882,7 @@ void GDI_CheckNotLock(void)
/*********************************************************************** /***********************************************************************
* DeleteObject (GDI32.@) * NtGdiDeleteObjectApp (win32u.@)
* *
* Delete a Gdi object. * Delete a Gdi object.
* *
...@@ -895,7 +895,7 @@ void GDI_CheckNotLock(void) ...@@ -895,7 +895,7 @@ void GDI_CheckNotLock(void)
* Failure: FALSE, if obj is not a valid Gdi object, or is currently selected * Failure: FALSE, if obj is not a valid Gdi object, or is currently selected
* into a DC. * into a DC.
*/ */
BOOL WINAPI DeleteObject( HGDIOBJ obj ) BOOL WINAPI NtGdiDeleteObjectApp( HGDIOBJ obj )
{ {
GDI_HANDLE_ENTRY *entry; GDI_HANDLE_ENTRY *entry;
struct hdc_list *hdcs_head; struct hdc_list *hdcs_head;
......
...@@ -77,6 +77,16 @@ DWORD WINAPI GetObjectType( HGDIOBJ handle ) ...@@ -77,6 +77,16 @@ DWORD WINAPI GetObjectType( HGDIOBJ handle )
} }
/*********************************************************************** /***********************************************************************
* DeleteObject (GDI32.@)
*
* Delete a Gdi object.
*/
BOOL WINAPI DeleteObject( HGDIOBJ obj )
{
return NtGdiDeleteObjectApp( obj );
}
/***********************************************************************
* SelectObject (GDI32.@) * SelectObject (GDI32.@)
* *
* Select a Gdi object into a device context. * Select a Gdi object into a device context.
......
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