http://bugs.winehq.org/show_bug.cgi?id=12358
--- Comment #17 from joaopa jeremielapuree@yahoo.fr 2008-05-03 17:38:08 --- The culprit is in the line
if (dmA->dmDriverExtra) memcpy((char *)dmW + dmW_size, (const char *)dmA + dmA_size, dmA->dmDriverExtra);
Joaopa