IHTMLWindow2::screen Property

Retrieves an interface pointer to a screen object that provides information about the client's screen and rendering abilities

Syntax

HRESULT IHTMLWindow2::get_screen(IHTMLScreen **p);

Parameters

  • p
    Address of a pointer to an IHTMLScreen interface that receives the screen object.

Return Value

Returns S_OK if successful, or an error value otherwise.