mshtml,shdocvw: Initialize OLEINPLACEFRAMEINFO.cb for IOleInPlaceSite::GetWindowContext

Thomas Faber thfabba at
Wed Mar 16 05:21:26 CDT 2011


the documentation for the OLEINPLACEFRAMEINFO structure [1] says
that the 'cb' member must be initialized before passing the structure
to IOleInPlaceSite::GetWindowContext (where the rest of it will be
In addition to the fix, I have updated the corresponding
tests to check this member instead of setting it, and they pass
on Windows as expected [2]. I've used a >= compare for future
version compatibility.
I've done a grep on GetWindowContext, so I _think_ I didn't miss
any places where this should have been changed. ;)
This solves an issue over at ReactOS [3].


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-mshtml-shdocvw-Initialize-OLEINPLACEFRAMEINFO.cb-for.txt
URL: <>

More information about the wine-patches mailing list