IWebBrowser2::Quit Method

Closes the object.

Syntax

HRESULT Quit(VOID);

Return Value

Returns S_OK to indicate that the operation was successful.

Remarks

The WebBrowser object returns an error from this method.

See Also

IWebBrowser2::Stop, DWebBrowserEvents2::OnQuit