IHTMLScreen::width Property

Retrieves the horizontal resolution of the screen.

Syntax


HRESULT IHTMLScreen::get_width(long *p);

Parameters

p
Pointer to a variable of type long that receives the horizontal resolution, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

Community Additions

Show: