[PATCH 2/2] riched20: Implement IOleWindow::GetWindow.

Nikolay Sivov bunglehead at gmail.com
Mon Mar 16 02:44:20 CDT 2015


On 16.03.2015 10:36, Jactry Zeng wrote:

>  static HRESULT WINAPI IOleWindow_fnGetWindow(IOleWindow *iface, HWND *phwnd)
>  {
>      IOleClientSiteImpl *This = impl_from_IOleWindow(iface);
> -    FIXME("not implemented: (%p)->(%p)\n", This, phwnd);
> -    return E_NOTIMPL;
> +    TRACE("(%p)->(%p)\n", This, phwnd);
> +    *phwnd = This->reOle->editor->hWnd;
> +    return S_OK;
>  }

Could you add a test for NULL argument too?



More information about the wine-devel mailing list