http://bugs.winehq.org/show_bug.cgi?id=12358
--- Comment #18 from Dmitry Timoshkov dmitry@codeweavers.com 2008-05-03 21:43:35 --- (In reply to comment #17)
The culprit is in the line if (dmA->dmDriverExtra) memcpy((char *)dmW + dmW_size, (const char *)dmA + dmA_size, dmA->dmDriverExtra);
What values do have dmA->dmSize and dmA->dmDriverExtra on GdiConvertToDevmodeW entry?