Commit 9db8e593 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

comdlg32: Copy additional structure members if present.

parent 16c7653c
......@@ -804,6 +804,12 @@ static void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW,
else /* numbered resource */
ofnW->lpTemplateName = (LPCWSTR) ofnA->lpTemplateName;
}
if (ofnW->lStructSize > OPENFILENAME_SIZE_VERSION_400W)
{
ofnW->pvReserved = ofnA->pvReserved;
ofnW->dwReserved = ofnA->dwReserved;
ofnW->FlagsEx = ofnA->FlagsEx;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment