http://bugs.winehq.com/show_bug.cgi?id=1511
Summary: GDI GetObject (at least for Bitmap) is not correct. Product: Wine Version: 20030508 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gdi AssignedTo: wine-bugs@winehq.com ReportedBy: kellyleahy@swbell.net CC: kellyleahy@swbell.net
The GDI function GetObject should return the number of bytes needed for the structure if a NULL pointer is passed as the "buffer" parameter. It should also allow this functionality if count = 0. Currently, it errors if count = 0 (from the general GetObjectA/W impl) and does not check for a NULL buffer pointer in the Bitmap implementation.