Jacek Caban <jacek(a)codeweavers.com> writes:
> @@ -186,8 +186,15 @@ static HRESULT WINAPI HTMLScreen_get_updateInterval(IHTMLScreen *iface, LONG *p)
> static HRESULT WINAPI HTMLScreen_get_availHeight(IHTMLScreen *iface, LONG *p)
> {
> HTMLScreen *This = impl_from_IHTMLScreen(iface);
> - FIXME("(%p)->(%p)\n", This, p);
> - return E_NOTIMPL;
> + RECT work_area;
> +
> + TRACE("(%p)->(%p)\n", This, p);
> +
> + if(!SystemParametersInfoW(SPI_GETWORKAREA, 0, &work_area, 0))
> + return E_FAIL;
> +
> + *p = work_area.bottom;
You probably want work_area.bottom - work_area.top.
--
Alexandre Julliard
julliard(a)winehq.org