X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 21 Jul 2009 11:08:08 +0200 Message-ID: <6910a60907210208l40f23d0bv628a74c00ec54a06@mail.gmail.com> Subject: w32api bug: GetDCBrushColor From: Reini Urban To: The Cygwin Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com w32api latest: GetDCBrushColor is incorrectly imported from libmsimg32.a (msimg32.dll) but is defined in gdi32.dll See http://msdn.microsoft.com/en-us/library/dd144872(VS.85).aspx winxp sp2: $ objdump -t /usr/lib/w32api/libmsimg32.a|grep GetDCBrushColor [ 7](sec 1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 _GetDCBrushColor AT 4 [ 8](sec 5)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 __imp__GetDCBrushColor AT 4 $ grep GetDCBrushColor /cygdrive/c/windows/system32/gdi32.dll Binary file /cygdrive/c/windows/system32/gdi32.dll matches $ grep GetDCBrushColor /cygdrive/c/windows/system32/msimg32.dll -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple