[GDI] GetObject fails on buffer=NULL
Alexandre Julliard
julliard at winehq.org
Mon Jun 16 12:49:04 CDT 2003
Kelly Leahy <kellyleahy at swbell.net> writes:
> @@ -60,6 +64,9 @@
> INT (*pGetObjectW)( HGDIOBJ handle, void *obj, INT count, LPVOID
> buffer );
> BOOL (*pUnrealizeObject)( HGDIOBJ handle, void *obj );
> BOOL (*pDeleteObject)( HGDIOBJ handle, void *obj );
> + INT (*pGetObjectSizeA)( HGDIOBJ handle, void *obj );
> + INT (*pGetObjectSizeW)( HGDIOBJ handle, void *obj );
> + INT (*pGetObjectSize16)( HGDIOBJ handle, void *obj );
You should put the fix directly in the pGetObject[AW] functions,
instead of adding new functions that don't correspond to anything in
the Windows API. Even though this is an internal interface it should
be kept as similar as possible to the exported interface.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list