with GNATCOM.Dispinterface;

package IE.IShellUIHelper5_Interface is

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

   procedure Initialize (This : in out IShellUIHelper5_Type);

   function Pointer (This : IShellUIHelper5_Type)
     return Pointer_To_IShellUIHelper5;

   procedure Attach (This    : in out IShellUIHelper5_Type;
                     Pointer : in     Pointer_To_IShellUIHelper5);

   procedure ResetFirstBootMode
     (This : IShellUIHelper5_Type);

   procedure ResetSafeMode
     (This : IShellUIHelper5_Type);

   procedure RefreshOfflineDesktop
     (This : IShellUIHelper5_Type);

   procedure AddFavorite
     (This  : IShellUIHelper5_Type;
      URL   : GNATCOM.Types.BSTR;
      Title : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free  : Boolean := True);

   procedure AddChannel
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   procedure AddDesktopComponent
     (This   : IShellUIHelper5_Type;
      URL    : GNATCOM.Types.BSTR;
      uType  : GNATCOM.Types.BSTR;
      Left   : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Top    : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Width  : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Height : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free   : Boolean := True);

   function IsSubscribed
     (This  : IShellUIHelper5_Type;
      URL   : GNATCOM.Types.BSTR;
      Free  : Boolean := True)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure NavigateAndFind
     (This           : IShellUIHelper5_Type;
      URL            : GNATCOM.Types.BSTR;
      strQuery       : GNATCOM.Types.BSTR;
      varTargetFrame : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free           : Boolean := True);

   procedure ImportExportFavorites
     (This          : IShellUIHelper5_Type;
      fImport       : GNATCOM.Types.VARIANT_BOOL;
      strImpExpPath : GNATCOM.Types.BSTR;
      Free          : Boolean := True);

   procedure AutoCompleteSaveForm
     (This : IShellUIHelper5_Type;
      Form : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING);

   procedure AutoScan
     (This            : IShellUIHelper5_Type;
      strSearch       : GNATCOM.Types.BSTR;
      strFailureUrl   : GNATCOM.Types.BSTR;
      pvarTargetFrame : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free            : Boolean := True);

   procedure AutoCompleteAttach
     (This     : IShellUIHelper5_Type;
      Reserved : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING);

   function ShowBrowserUI
     (This     : IShellUIHelper5_Type;
      bstrName : GNATCOM.Types.BSTR;
      pvarIn   : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free     : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure AddSearchProvider
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   procedure RunOnceShown
     (This : IShellUIHelper5_Type);

   procedure SkipRunOnce
     (This : IShellUIHelper5_Type);

   procedure CustomizeSettings
     (This       : IShellUIHelper5_Type;
      fSQM       : GNATCOM.Types.VARIANT_BOOL;
      fPhishing  : GNATCOM.Types.VARIANT_BOOL;
      bstrLocale : GNATCOM.Types.BSTR;
      Free       : Boolean := True);

   function SqmEnabled
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function PhishingEnabled
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function BrandImageUri
     (This     : IShellUIHelper5_Type)
     return GNATCOM.Types.BSTR;

   procedure SkipTabsWelcome
     (This : IShellUIHelper5_Type);

   procedure DiagnoseConnection
     (This : IShellUIHelper5_Type);

   procedure CustomizeClearType
     (This : IShellUIHelper5_Type;
      fSet : GNATCOM.Types.VARIANT_BOOL);

   function IsSearchProviderInstalled
     (This      : IShellUIHelper5_Type;
      URL       : GNATCOM.Types.BSTR;
      Free      : Boolean := True)
     return Interfaces.C.unsigned_long;

   function IsSearchMigrated
     (This       : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function DefaultSearchProvider
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.BSTR;

   procedure RunOnceRequiredSettingsComplete
     (This      : IShellUIHelper5_Type;
      fComplete : GNATCOM.Types.VARIANT_BOOL);

   function RunOnceHasShown
     (This    : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function SearchGuideUrl
     (This     : IShellUIHelper5_Type)
     return GNATCOM.Types.BSTR;

   procedure AddService
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   function IsServiceInstalled
     (This      : IShellUIHelper5_Type;
      URL       : GNATCOM.Types.BSTR;
      Verb      : GNATCOM.Types.BSTR;
      Free      : Boolean := True)
     return Interfaces.C.unsigned_long;

   function InPrivateFilteringEnabled
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure AddToFavoritesBar
     (This  : IShellUIHelper5_Type;
      URL   : GNATCOM.Types.BSTR;
      Title : GNATCOM.Types.BSTR;
      uType : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free  : Boolean := True);

   procedure BuildNewTabPage
     (This : IShellUIHelper5_Type);

   procedure SetRecentlyClosedVisible
     (This     : IShellUIHelper5_Type;
      fVisible : GNATCOM.Types.VARIANT_BOOL);

   procedure SetActivitiesVisible
     (This     : IShellUIHelper5_Type;
      fVisible : GNATCOM.Types.VARIANT_BOOL);

   procedure ContentDiscoveryReset
     (This : IShellUIHelper5_Type);

   function IsSuggestedSitesEnabled
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure EnableSuggestedSites
     (This    : IShellUIHelper5_Type;
      fEnable : GNATCOM.Types.VARIANT_BOOL);

   procedure NavigateToSuggestedSites
     (This            : IShellUIHelper5_Type;
      bstrRelativeUrl : GNATCOM.Types.BSTR;
      Free            : Boolean := True);

   procedure ShowTabsHelp
     (This : IShellUIHelper5_Type);

   procedure ShowInPrivateHelp
     (This : IShellUIHelper5_Type);

   function msIsSiteMode
     (This       : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure msSiteModeShowThumbBar
     (This : IShellUIHelper5_Type);

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

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

   procedure msSiteModeSetIconOverlay
     (This            : IShellUIHelper5_Type;
      IconUrl         : GNATCOM.Types.BSTR;
      pvarDescription : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free            : Boolean := True);

   procedure msSiteModeClearIconOverlay
     (This : IShellUIHelper5_Type);

   procedure msAddSiteMode
     (This : IShellUIHelper5_Type);

   procedure msSiteModeCreateJumpList
     (This       : IShellUIHelper5_Type;
      bstrHeader : GNATCOM.Types.BSTR;
      Free       : Boolean := True);

   procedure msSiteModeAddJumpListItem
     (This           : IShellUIHelper5_Type;
      bstrName       : GNATCOM.Types.BSTR;
      bstrActionUri  : GNATCOM.Types.BSTR;
      bstrIconUri    : GNATCOM.Types.BSTR;
      pvarWindowType : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free           : Boolean := True);

   procedure msSiteModeClearJumpList
     (This : IShellUIHelper5_Type);

   procedure msSiteModeShowJumpList
     (This : IShellUIHelper5_Type);

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

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

   procedure msSiteModeActivate
     (This : IShellUIHelper5_Type);

   function msIsSiteModeFirstRun
     (This           : IShellUIHelper5_Type;
      fPreserveState : GNATCOM.Types.VARIANT_BOOL)
     return GNATCOM.Types.VARIANT;

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

   function msTrackingProtectionEnabled
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function msActiveXFilteringEnabled
     (This      : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function msProvisionNetworks
     (This                : IShellUIHelper5_Type;
      bstrProvisioningXml : GNATCOM.Types.BSTR;
      Free                : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure msReportSafeUrl
     (This : IShellUIHelper5_Type);

   procedure msSiteModeRefreshBadge
     (This : IShellUIHelper5_Type);

   procedure msSiteModeClearBadge
     (This : IShellUIHelper5_Type);

   procedure msDiagnoseConnectionUILess
     (This : IShellUIHelper5_Type);

   procedure msLaunchNetworkClientHelp
     (This : IShellUIHelper5_Type);

   procedure msChangeDefaultBrowser
     (This    : IShellUIHelper5_Type;
      fChange : GNATCOM.Types.VARIANT_BOOL);

end IE.IShellUIHelper5_Interface;

