http://bugs.winehq.org/show_bug.cgi?id=19870
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2009-08-28 08:41:47 --- Your callback has the wrong calling convention, so of course it crashes:
BOOL EnumMonitor(HMONITOR hMon, HDC hdcMonitor, LPRECT rect, LPARAM parm)
That needs to be: BOOL WINAPI EnumMonitor(HMONITOR hMon, HDC hdcMonitor, LPRECT rect, LPARAM parm)
See the definition of MONITORENUMPROC in winuser.h.