"Paul J. Lucas" wrote: > So this really looks like a bug in the declaration.
It looks like you're right. I believe that the w32api headers are maintained by the mingw project so the best thing to do would probably be submit a patch here <http://sourceforge.net/tracker/?group_id=2435&atid=302435> or a message here <http://sourceforge.net/forum/forum.php?forum_id=286641> alerting them of the issue. Note that for w32api you have to be careful not to submit patches that are based on code found in e.g. the platform SDK or MS sample code, so that there isn't any question of taint. I don't think a patch that just changes DWORD to LPDWORD would have any issues though. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/