http://bugs.winehq.org/show_bug.cgi?id=16867
Summary: Issues with DD_STRUCT_COPY_BYSIZE Product: Wine Version: 1.1.12 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: spam@graph-ix.net
DD_STRUCT_COPY_BYSIZE does not properly copy all DDraw structs or is not properly called in at least one location of the Wine code. The example I found is in IDirectDrawImpl_GetCaps, where the ddsCaps within DDCAPS are not correctly copied. There are possibly more occurrences.
DD_STRUCT_COPY_BYSIZE is defined in ddraw_private.h