IShellUIHelper::ShowBrowserUI Method

Opens the specified browser dialog box.

Syntax

HRESULT ShowBrowserUI(
    BSTR bstrName,
    VARIANT *pvarIn,
    VARIANT pvarOut
);

Parameters

  • bstrName
    [in] A BSTR that specifies a browser dialog box, using one of the following values.
    • LanguageDialog
      Opens the Language Preference dialog box.
    • OrganizeFavorites
      Opens the Organize Favorites dialog box.
    • PrivacySettings
      Microsoft Internet Explorer 6 and later. Opens the Privacy Preferences dialog box.
    • ProgramAccessAndDefaults
      Windows XP Service Pack 1 (SP1) and later. Opens the Set Program Access and Defaults dialog box.
  • pvarIn
    [in] A pointer to a VARIANT that is specific to the UI.
  • pvarOut
    [out, retval] A pointer to a VARIANT that is specific to the UI.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Internet Explorer 5, a new "PrivacySetting" option allows access to the Privacy Preferences dialog box.