Re: hhctrl: Add the WebBrowser implementation [take 5]
25 Jul
2005
25 Jul
'05
6:23 a.m.
James Hawkins <truiken(a)gmail.com> writes:
+typedef struct IOleInPlaceFrameImpl +{ + IOleInPlaceFrame frame; + HWND window; +} IOleInPlaceFrameImpl; + +typedef struct IOleInPlaceSiteImpl +{ + IOleInPlaceSite inplace; + IOleInPlaceFrameImpl frame; +} IOleInPlaceSiteImpl; + +typedef struct IOleClientSiteImpl +{ + IOleClientSite client; + IOleInPlaceSiteImpl inplace; + IDocHostUIHandler ui; +} IOleClientSiteImpl;
You should define a single structure with multiple vtbl pointers, and compute the This pointer based on structure offsets. Look at how this is done in other places, like shelllink.c for instance. -- Alexandre Julliard julliard(a)winehq.org
7442
Age (days ago)
7442
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard