I also sent this patch to mingw's patch tracker on sourceforge.
Changelog:
2005-11-10 Brian Gunlogson
* lib/user32.def, include/winuser.h (Get/SetClassLongPtr): Added API and the related constants.
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com