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:
parent
23d2d0c5a7
commit
18e9da8a8d
|
@ -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;
|
||||
|
|
|
@ -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.@)
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue