static HRESULT WINAPI HTMLScreen_get_colorDepth(IHTMLScreen *iface, LONG *p) { HTMLScreen *This = impl_from_IHTMLScreen(iface); TRACE("(%p)->(%p)\n", This, p); *p = GetDeviceCaps(get_display_dc(), BITSPIXEL); return S_OK; }
static HRESULT WINAPI HTMLScreen_get_height(IHTMLScreen *iface, LONG *p) { HTMLScreen *This = impl_from_IHTMLScreen(iface); TRACE("(%p)->(%p)\n", This, p); *p = GetDeviceCaps(get_display_dc(), VERTRES); return S_OK; }
static HRESULT WINAPI HTMLScreen_get_width(IHTMLScreen *iface, LONG *p) { HTMLScreen *This = HTMLSCREEN_THIS(iface); TRACE("(%p)->(%p)\n", This, p); *p = GetDeviceCaps(get_display_dc(), HORZRES); return S_OK; }