Export (0) Print
Expand All

IShellUIHelper2::DefaultSearchProvider Method

Not supported. Retrieves the name of the user's default search provider.

Syntax


HRESULT DefaultSearchProvider(
    BSTR *pbstrName
);

Parameters

pbstrName
[out, retval] BSTR that contains the default search provider name. 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::DefaultSearchProvider was introduced in Windows Internet Explorer 7.

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

See Also

Community Additions

ADD
Show:
© 2014 Microsoft