Click to return to the Reusing Browser Technology home page    
IShellUIHelper::AddDeskto...     IShellUIHelper::AutoCompl...     IShellUIHelper Interface    
Web Workshop  |  Reusing Browser Technology

IShellUIHelper::AddFavorite Method


Displays the default user interface for creating a favorite, which is initialized using the specified parameters.

Syntax

HRESULT AddFavorite(
    BSTR strURL,
    VARIANT Title
);

Parameters

strURL
String value that contains the URL.
Title
String value that contains the name to be associated with the URL. You may pass an empty string.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.