package body IE.IShellUIHelper5_Object is

   procedure ResetFirstBootMode
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_ResetFirstBootMode);
   end ResetFirstBootMode;

   procedure ResetSafeMode
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_ResetSafeMode);
   end ResetSafeMode;

   procedure RefreshOfflineDesktop
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_RefreshOfflineDesktop);
   end RefreshOfflineDesktop;

   procedure AddFavorite
     (This  : IShellUIHelper5_Type;
      URL   : GNATCOM.Types.VARIANT;
      Title : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AddFavorite,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => Title,
          2 => URL),
         Free);
   end AddFavorite;

   procedure AddChannel
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AddChannel,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => URL),
         Free);
   end AddChannel;

   procedure AddDesktopComponent
     (This   : IShellUIHelper5_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)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AddDesktopComponent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => Height,
          2 => Width,
          3 => Top,
          4 => Left,
          5 => uType,
          6 => URL),
         Free);
   end AddDesktopComponent;

   function IsSubscribed
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_IsSubscribed,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => URL),
         Free);
   end IsSubscribed;

   procedure NavigateAndFind
     (This           : IShellUIHelper5_Type;
      URL            : GNATCOM.Types.VARIANT;
      strQuery       : GNATCOM.Types.VARIANT;
      varTargetFrame : GNATCOM.Types.VARIANT;
      Free           : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_NavigateAndFind,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => varTargetFrame,
          2 => strQuery,
          3 => URL),
         Free);
   end NavigateAndFind;

   procedure ImportExportFavorites
     (This          : IShellUIHelper5_Type;
      fImport       : GNATCOM.Types.VARIANT;
      strImpExpPath : GNATCOM.Types.VARIANT;
      Free          : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_ImportExportFavorites,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => strImpExpPath,
          2 => fImport),
         Free);
   end ImportExportFavorites;

   procedure AutoCompleteSaveForm
     (This : IShellUIHelper5_Type;
      Form : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AutoCompleteSaveForm,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => Form),
         Free);
   end AutoCompleteSaveForm;

   procedure AutoScan
     (This            : IShellUIHelper5_Type;
      strSearch       : GNATCOM.Types.VARIANT;
      strFailureUrl   : GNATCOM.Types.VARIANT;
      pvarTargetFrame : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AutoScan,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => pvarTargetFrame,
          2 => strFailureUrl,
          3 => strSearch),
         Free);
   end AutoScan;

   procedure AutoCompleteAttach
     (This     : IShellUIHelper5_Type;
      Reserved : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free     : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AutoCompleteAttach,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => Reserved),
         Free);
   end AutoCompleteAttach;

   function ShowBrowserUI
     (This     : IShellUIHelper5_Type;
      bstrName : GNATCOM.Types.VARIANT;
      pvarIn   : GNATCOM.Types.VARIANT;
      Free     : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_ShowBrowserUI,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => pvarIn,
          2 => bstrName),
         Free);
   end ShowBrowserUI;

   procedure AddSearchProvider
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AddSearchProvider,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => URL),
         Free);
   end AddSearchProvider;

   procedure RunOnceShown
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_RunOnceShown);
   end RunOnceShown;

   procedure SkipRunOnce
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_SkipRunOnce);
   end SkipRunOnce;

   procedure CustomizeSettings
     (This       : IShellUIHelper5_Type;
      fSQM       : GNATCOM.Types.VARIANT;
      fPhishing  : GNATCOM.Types.VARIANT;
      bstrLocale : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_CustomizeSettings,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrLocale,
          2 => fPhishing,
          3 => fSQM),
         Free);
   end CustomizeSettings;

   function SqmEnabled
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_SqmEnabled);
   end SqmEnabled;

   function PhishingEnabled
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_PhishingEnabled);
   end PhishingEnabled;

   function BrandImageUri
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_BrandImageUri);
   end BrandImageUri;

   procedure SkipTabsWelcome
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_SkipTabsWelcome);
   end SkipTabsWelcome;

   procedure DiagnoseConnection
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_DiagnoseConnection);
   end DiagnoseConnection;

   procedure CustomizeClearType
     (This : IShellUIHelper5_Type;
      fSet : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_CustomizeClearType,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fSet),
         Free);
   end CustomizeClearType;

   function IsSearchProviderInstalled
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_IsSearchProviderInstalled,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => URL),
         Free);
   end IsSearchProviderInstalled;

   function IsSearchMigrated
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_IsSearchMigrated);
   end IsSearchMigrated;

   function DefaultSearchProvider
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_DefaultSearchProvider);
   end DefaultSearchProvider;

   procedure RunOnceRequiredSettingsComplete
     (This      : IShellUIHelper5_Type;
      fComplete : GNATCOM.Types.VARIANT;
      Free      : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_RunOnceRequiredSettingsComplete,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fComplete),
         Free);
   end RunOnceRequiredSettingsComplete;

   function RunOnceHasShown
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_RunOnceHasShown);
   end RunOnceHasShown;

   function SearchGuideUrl
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_SearchGuideUrl);
   end SearchGuideUrl;

   procedure AddService
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AddService,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => URL),
         Free);
   end AddService;

   function IsServiceInstalled
     (This : IShellUIHelper5_Type;
      URL  : GNATCOM.Types.VARIANT;
      Verb : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_IsServiceInstalled,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => Verb,
          2 => URL),
         Free);
   end IsServiceInstalled;

   function InPrivateFilteringEnabled
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_InPrivateFilteringEnabled);
   end InPrivateFilteringEnabled;

   procedure AddToFavoritesBar
     (This  : IShellUIHelper5_Type;
      URL   : GNATCOM.Types.VARIANT;
      Title : GNATCOM.Types.VARIANT;
      uType : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_AddToFavoritesBar,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => uType,
          2 => Title,
          3 => URL),
         Free);
   end AddToFavoritesBar;

   procedure BuildNewTabPage
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_BuildNewTabPage);
   end BuildNewTabPage;

   procedure SetRecentlyClosedVisible
     (This     : IShellUIHelper5_Type;
      fVisible : GNATCOM.Types.VARIANT;
      Free     : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_SetRecentlyClosedVisible,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fVisible),
         Free);
   end SetRecentlyClosedVisible;

   procedure SetActivitiesVisible
     (This     : IShellUIHelper5_Type;
      fVisible : GNATCOM.Types.VARIANT;
      Free     : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_SetActivitiesVisible,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fVisible),
         Free);
   end SetActivitiesVisible;

   procedure ContentDiscoveryReset
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_ContentDiscoveryReset);
   end ContentDiscoveryReset;

   function IsSuggestedSitesEnabled
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_IsSuggestedSitesEnabled);
   end IsSuggestedSitesEnabled;

   procedure EnableSuggestedSites
     (This    : IShellUIHelper5_Type;
      fEnable : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_EnableSuggestedSites,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fEnable),
         Free);
   end EnableSuggestedSites;

   procedure NavigateToSuggestedSites
     (This            : IShellUIHelper5_Type;
      bstrRelativeUrl : GNATCOM.Types.VARIANT;
      Free            : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_NavigateToSuggestedSites,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrRelativeUrl),
         Free);
   end NavigateToSuggestedSites;

   procedure ShowTabsHelp
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_ShowTabsHelp);
   end ShowTabsHelp;

   procedure ShowInPrivateHelp
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_ShowInPrivateHelp);
   end ShowInPrivateHelp;

   function msIsSiteMode
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_msIsSiteMode);
   end msIsSiteMode;

   procedure msSiteModeShowThumbBar
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeShowThumbBar);
   end msSiteModeShowThumbBar;

   function msSiteModeAddThumbBarButton
     (This        : IShellUIHelper5_Type;
      bstrIconURL : GNATCOM.Types.VARIANT;
      bstrTooltip : GNATCOM.Types.VARIANT;
      Free        : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_msSiteModeAddThumbBarButton,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrTooltip,
          2 => bstrIconURL),
         Free);
   end msSiteModeAddThumbBarButton;

   procedure msSiteModeUpdateThumbBarButton
     (This     : IShellUIHelper5_Type;
      ButtonID : GNATCOM.Types.VARIANT;
      fEnabled : GNATCOM.Types.VARIANT;
      fVisible : GNATCOM.Types.VARIANT;
      Free     : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msSiteModeUpdateThumbBarButton,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fVisible,
          2 => fEnabled,
          3 => ButtonID),
         Free);
   end msSiteModeUpdateThumbBarButton;

   procedure msSiteModeSetIconOverlay
     (This            : IShellUIHelper5_Type;
      IconUrl         : GNATCOM.Types.VARIANT;
      pvarDescription : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msSiteModeSetIconOverlay,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => pvarDescription,
          2 => IconUrl),
         Free);
   end msSiteModeSetIconOverlay;

   procedure msSiteModeClearIconOverlay
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeClearIconOverlay);
   end msSiteModeClearIconOverlay;

   procedure msAddSiteMode
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msAddSiteMode);
   end msAddSiteMode;

   procedure msSiteModeCreateJumpList
     (This       : IShellUIHelper5_Type;
      bstrHeader : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msSiteModeCreateJumpList,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrHeader),
         Free);
   end msSiteModeCreateJumpList;

   procedure msSiteModeAddJumpListItem
     (This           : IShellUIHelper5_Type;
      bstrName       : GNATCOM.Types.VARIANT;
      bstrActionUri  : GNATCOM.Types.VARIANT;
      bstrIconUri    : GNATCOM.Types.VARIANT;
      pvarWindowType : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free           : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msSiteModeAddJumpListItem,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => pvarWindowType,
          2 => bstrIconUri,
          3 => bstrActionUri,
          4 => bstrName),
         Free);
   end msSiteModeAddJumpListItem;

   procedure msSiteModeClearJumpList
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeClearJumpList);
   end msSiteModeClearJumpList;

   procedure msSiteModeShowJumpList
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeShowJumpList);
   end msSiteModeShowJumpList;

   function msSiteModeAddButtonStyle
     (This        : IShellUIHelper5_Type;
      uiButtonID  : GNATCOM.Types.VARIANT;
      bstrIconURL : GNATCOM.Types.VARIANT;
      bstrTooltip : GNATCOM.Types.VARIANT;
      Free        : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_msSiteModeAddButtonStyle,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrTooltip,
          2 => bstrIconURL,
          3 => uiButtonID),
         Free);
   end msSiteModeAddButtonStyle;

   procedure msSiteModeShowButtonStyle
     (This       : IShellUIHelper5_Type;
      uiButtonID : GNATCOM.Types.VARIANT;
      uiStyleID  : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msSiteModeShowButtonStyle,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => uiStyleID,
          2 => uiButtonID),
         Free);
   end msSiteModeShowButtonStyle;

   procedure msSiteModeActivate
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeActivate);
   end msSiteModeActivate;

   function msIsSiteModeFirstRun
     (This           : IShellUIHelper5_Type;
      fPreserveState : GNATCOM.Types.VARIANT;
      Free           : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_msIsSiteModeFirstRun,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fPreserveState),
         Free);
   end msIsSiteModeFirstRun;

   procedure msAddTrackingProtectionList
     (This           : IShellUIHelper5_Type;
      URL            : GNATCOM.Types.VARIANT;
      bstrFilterName : GNATCOM.Types.VARIANT;
      Free           : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msAddTrackingProtectionList,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrFilterName,
          2 => URL),
         Free);
   end msAddTrackingProtectionList;

   function msTrackingProtectionEnabled
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_msTrackingProtectionEnabled);
   end msTrackingProtectionEnabled;

   function msActiveXFilteringEnabled
     (This : IShellUIHelper5_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke (This, IShellUIHelper5_msActiveXFilteringEnabled);
   end msActiveXFilteringEnabled;

   function msProvisionNetworks
     (This                : IShellUIHelper5_Type;
      bstrProvisioningXml : GNATCOM.Types.VARIANT;
      Free                : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IShellUIHelper5_msProvisionNetworks,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrProvisioningXml),
         Free);
   end msProvisionNetworks;

   procedure msReportSafeUrl
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msReportSafeUrl);
   end msReportSafeUrl;

   procedure msSiteModeRefreshBadge
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeRefreshBadge);
   end msSiteModeRefreshBadge;

   procedure msSiteModeClearBadge
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msSiteModeClearBadge);
   end msSiteModeClearBadge;

   procedure msDiagnoseConnectionUILess
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msDiagnoseConnectionUILess);
   end msDiagnoseConnectionUILess;

   procedure msLaunchNetworkClientHelp
     (This : IShellUIHelper5_Type)
   is
   begin
      Invoke (This, IShellUIHelper5_msLaunchNetworkClientHelp);
   end msLaunchNetworkClientHelp;

   procedure msChangeDefaultBrowser
     (This    : IShellUIHelper5_Type;
      fChange : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
   is
   begin
      Invoke
        (This,
         IShellUIHelper5_msChangeDefaultBrowser,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => fChange),
         Free);
   end msChangeDefaultBrowser;

end IE.IShellUIHelper5_Object;

