mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 09:46:16 +00:00
comdlg32: Copy additional structure members if present.
This commit is contained in:
parent
16c7653c2d
commit
9db8e593bf
|
@ -804,6 +804,12 @@ static void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW,
|
||||||
else /* numbered resource */
|
else /* numbered resource */
|
||||||
ofnW->lpTemplateName = (LPCWSTR) ofnA->lpTemplateName;
|
ofnW->lpTemplateName = (LPCWSTR) ofnA->lpTemplateName;
|
||||||
}
|
}
|
||||||
|
if (ofnW->lStructSize > OPENFILENAME_SIZE_VERSION_400W)
|
||||||
|
{
|
||||||
|
ofnW->pvReserved = ofnA->pvReserved;
|
||||||
|
ofnW->dwReserved = ofnA->dwReserved;
|
||||||
|
ofnW->FlagsEx = ofnA->FlagsEx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue