gdi32: SetAbortProc is not a 16bit function but a 32bit one.

This commit is contained in:
Michael Stefaniuc 2009-02-16 22:09:01 +01:00 committed by Alexandre Julliard
parent 68e887004a
commit 056359cc4e
2 changed files with 15 additions and 14 deletions

View File

@ -197,3 +197,18 @@ INT WINAPI AbortDoc(HDC hdc)
release_dc_ptr( dc );
return ret;
}
/**********************************************************************
* SetAbortProc (GDI32.@)
*
*/
INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc)
{
DC *dc = get_dc_ptr( hdc );
if (!dc) return FALSE;
dc->pAbortProc = abrtprc;
release_dc_ptr( dc );
return TRUE;
}

View File

@ -122,20 +122,6 @@ INT16 WINAPI SetAbortProc16(HDC16 hdc16, ABORTPROC16 abrtprc)
return TRUE;
}
/**********************************************************************
* SetAbortProc (GDI32.@)
*
*/
INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc)
{
DC *dc = get_dc_ptr( hdc );
if (!dc) return FALSE;
dc->pAbortProc = abrtprc;
release_dc_ptr( dc );
return TRUE;
}
/****************** misc. printer related functions */