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?