Sets a value that indicates whether the WebBrowser control is registered as a top-level browser for target name resolution.
Syntax
HRESULT put_RegisterAsBrowser( VARIANT_BOOL bRegister );
Parameters
- bRegister
- Boolean value that determines whether Microsoft® Internet Explorer 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