Click to return to the Reusing Browser Technology home page    
IWebBrowser2::get_ReadySt...     IWebBrowser2::get_Registe...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::get_RegisterAsBrowser Method


Retrieves a Boolean value that indicates whether the WebBrowser control is registered as a top-level browser for target name resolution.

Syntax

HRESULT get_RegisterAsBrowser(
    VARIANT_BOOL* pbRegister
);

Parameters

pbRegister
Address of a VARIANT_BOOL structure that determines whether the object is registered as a top-level browser. If TRUE, the WebBrowser is registered as a top-level browser; if FALSE, it isn't. The default value is FALSE.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.