This is the mail archive of the
cygwin
mailing list for the Cygwin project.
w32api bug: GetDCBrushColor
- From: Reini Urban <rurban at x-ray dot at>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 21 Jul 2009 11:08:08 +0200
- Subject: w32api bug: GetDCBrushColor
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@4
[ 8](sec 5)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000
__imp__GetDCBrushColor@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