IShellUIHelper2::SearchGuideUrl Method

Not supported. Retrieves the URL of a page that can be used to install additional search providers.

Syntax


HRESULT SearchGuideUrl(
    BSTR *pbstrUrl
);

Parameters

pbstrUrl
[out, retval] BSTR that contains the alternate URL from the registry, or the default URL if an alternate has not been set. Caller frees the memory with SysFreeString.

Return Value

Returns one of the following values:

S_OK Success.
E_ACCESSDENIED Method is not allowed in the current domain.

Remarks

IShellUIHelper2::SearchGuideUrl was introduced in Windows Internet Explorer 7.

This method can only be called from a "first run" page in the correct domain.

This method reads from the following registry key.

HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
     Software
          Microsoft
               Internet Explorer
                    SearchUrl
                         FindProvidersURL

See Also

IShellUIHelper2::AddSearchProvider

Community Additions

Show: