IHTMLWindow2::window Property

Retrieves an interface pointer to the current window.

Syntax


HRESULT IHTMLWindow2::get_window(IHTMLWindow2 **p);

Parameters

p
Address of a pointer to a variable of type IHTMLWindow2 interface that receives the current window.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use the IHTMLWindow2::self property to disambiguate a window property from a form of the same name.

Community Additions

Show: