http://bugs.winehq.org/show_bug.cgi?id=12358
--- Comment #21 from Dmitry Timoshkov dmitry@codeweavers.com 2008-05-03 22:51:54 --- (In reply to comment #19)
dmA->dmDriverExtra = 32160 adress of dmA = 0x32fddc
Here I have address of dmA 0033fddc, dmA->dmSize 148, dmA->dmDriverExtra 0
If I set dmA->dmDriverExtra to 32160 and call GdiConvertToDevmodeW XP crashes. You need to figure out why dmA->dmDriverExtra is set to 32160 on your system, i.e. where it comes from.