with GNATCOM.Dispinterface;

package IE.IShellUIHelper4_Object is

   type IShellUIHelper4_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure ResetFirstBootMode
     (This : IShellUIHelper4_Type);

   procedure ResetSafeMode
     (This : IShellUIHelper4_Type);

   procedure RefreshOfflineDesktop
     (This : IShellUIHelper4_Type);

   procedure AddFavorite
     (This  : IShellUIHelper4_Type;
      URL   : GNATCOM.Types.VARIANT;
      Title : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True);

   procedure AddChannel
     (This : IShellUIHelper4_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   procedure AddDesktopComponent
     (This   : IShellUIHelper4_Type;
      URL    : GNATCOM.Types.VARIANT;
      uType  : GNATCOM.Types.VARIANT;
      Left   : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Top    : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Width  : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Height : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free   : Boolean := True);

   function IsSubscribed
     (This : IShellUIHelper4_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure NavigateAndFind
     (This           : IShellUIHelper4_Type;
      URL            : GNATCOM.Types.VARIANT;
      strQuery       : GNATCOM.Types.VARIANT;
      varTargetFrame : GNATCOM.Types.VARIANT;
      Free           : Boolean := True);

   procedure ImportExportFavorites
     (This          : IShellUIHelper4_Type;
      fImport       : GNATCOM.Types.VARIANT;
      strImpExpPath : GNATCOM.Types.VARIANT;
      Free          : Boolean := True);

   procedure AutoCompleteSaveForm
     (This : IShellUIHelper4_Type;
      Form : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free : Boolean := True);

   procedure AutoScan
     (This            : IShellUIHelper4_Type;
      strSearch       : GNATCOM.Types.VARIANT;
      strFailureUrl   : GNATCOM.Types.VARIANT;
      pvarTargetFrame : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True);

   procedure AutoCompleteAttach
     (This     : IShellUIHelper4_Type;
      Reserved : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free     : Boolean := True);

   function ShowBrowserUI
     (This     : IShellUIHelper4_Type;
      bstrName : GNATCOM.Types.VARIANT;
      pvarIn   : GNATCOM.Types.VARIANT;
      Free     : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure AddSearchProvider
     (This : IShellUIHelper4_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   procedure RunOnceShown
     (This : IShellUIHelper4_Type);

   procedure SkipRunOnce
     (This : IShellUIHelper4_Type);

   procedure CustomizeSettings
     (This       : IShellUIHelper4_Type;
      fSQM       : GNATCOM.Types.VARIANT;
      fPhishing  : GNATCOM.Types.VARIANT;
      bstrLocale : GNATCOM.Types.VARIANT;
      Free       : Boolean := True);

   function SqmEnabled
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   function PhishingEnabled
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   function BrandImageUri
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   procedure SkipTabsWelcome
     (This : IShellUIHelper4_Type);

   procedure DiagnoseConnection
     (This : IShellUIHelper4_Type);

   procedure CustomizeClearType
     (This : IShellUIHelper4_Type;
      fSet : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function IsSearchProviderInstalled
     (This : IShellUIHelper4_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT;

   function IsSearchMigrated
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   function DefaultSearchProvider
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   procedure RunOnceRequiredSettingsComplete
     (This      : IShellUIHelper4_Type;
      fComplete : GNATCOM.Types.VARIANT;
      Free      : Boolean := True);

   function RunOnceHasShown
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   function SearchGuideUrl
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   procedure AddService
     (This : IShellUIHelper4_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function IsServiceInstalled
     (This : IShellUIHelper4_Type;
      URL  : GNATCOM.Types.VARIANT;
      Verb : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT;

   function InPrivateFilteringEnabled
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   procedure AddToFavoritesBar
     (This  : IShellUIHelper4_Type;
      URL   : GNATCOM.Types.VARIANT;
      Title : GNATCOM.Types.VARIANT;
      uType : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True);

   procedure BuildNewTabPage
     (This : IShellUIHelper4_Type);

   procedure SetRecentlyClosedVisible
     (This     : IShellUIHelper4_Type;
      fVisible : GNATCOM.Types.VARIANT;
      Free     : Boolean := True);

   procedure SetActivitiesVisible
     (This     : IShellUIHelper4_Type;
      fVisible : GNATCOM.Types.VARIANT;
      Free     : Boolean := True);

   procedure ContentDiscoveryReset
     (This : IShellUIHelper4_Type);

   function IsSuggestedSitesEnabled
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   procedure EnableSuggestedSites
     (This    : IShellUIHelper4_Type;
      fEnable : GNATCOM.Types.VARIANT;
      Free    : Boolean := True);

   procedure NavigateToSuggestedSites
     (This            : IShellUIHelper4_Type;
      bstrRelativeUrl : GNATCOM.Types.VARIANT;
      Free            : Boolean := True);

   procedure ShowTabsHelp
     (This : IShellUIHelper4_Type);

   procedure ShowInPrivateHelp
     (This : IShellUIHelper4_Type);

   function msIsSiteMode
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   procedure msSiteModeShowThumbBar
     (This : IShellUIHelper4_Type);

   function msSiteModeAddThumbBarButton
     (This        : IShellUIHelper4_Type;
      bstrIconURL : GNATCOM.Types.VARIANT;
      bstrTooltip : GNATCOM.Types.VARIANT;
      Free        : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure msSiteModeUpdateThumbBarButton
     (This     : IShellUIHelper4_Type;
      ButtonID : GNATCOM.Types.VARIANT;
      fEnabled : GNATCOM.Types.VARIANT;
      fVisible : GNATCOM.Types.VARIANT;
      Free     : Boolean := True);

   procedure msSiteModeSetIconOverlay
     (This            : IShellUIHelper4_Type;
      IconUrl         : GNATCOM.Types.VARIANT;
      pvarDescription : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True);

   procedure msSiteModeClearIconOverlay
     (This : IShellUIHelper4_Type);

   procedure msAddSiteMode
     (This : IShellUIHelper4_Type);

   procedure msSiteModeCreateJumpList
     (This       : IShellUIHelper4_Type;
      bstrHeader : GNATCOM.Types.VARIANT;
      Free       : Boolean := True);

   procedure msSiteModeAddJumpListItem
     (This           : IShellUIHelper4_Type;
      bstrName       : GNATCOM.Types.VARIANT;
      bstrActionUri  : GNATCOM.Types.VARIANT;
      bstrIconUri    : GNATCOM.Types.VARIANT;
      pvarWindowType : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free           : Boolean := True);

   procedure msSiteModeClearJumpList
     (This : IShellUIHelper4_Type);

   procedure msSiteModeShowJumpList
     (This : IShellUIHelper4_Type);

   function msSiteModeAddButtonStyle
     (This        : IShellUIHelper4_Type;
      uiButtonID  : GNATCOM.Types.VARIANT;
      bstrIconURL : GNATCOM.Types.VARIANT;
      bstrTooltip : GNATCOM.Types.VARIANT;
      Free        : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure msSiteModeShowButtonStyle
     (This       : IShellUIHelper4_Type;
      uiButtonID : GNATCOM.Types.VARIANT;
      uiStyleID  : GNATCOM.Types.VARIANT;
      Free       : Boolean := True);

   procedure msSiteModeActivate
     (This : IShellUIHelper4_Type);

   function msIsSiteModeFirstRun
     (This           : IShellUIHelper4_Type;
      fPreserveState : GNATCOM.Types.VARIANT;
      Free           : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure msAddTrackingProtectionList
     (This           : IShellUIHelper4_Type;
      URL            : GNATCOM.Types.VARIANT;
      bstrFilterName : GNATCOM.Types.VARIANT;
      Free           : Boolean := True);

   function msTrackingProtectionEnabled
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

   function msActiveXFilteringEnabled
     (This : IShellUIHelper4_Type)
     return GNATCOM.Types.VARIANT;

end IE.IShellUIHelper4_Object;

