Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.UninstallIcon method (OS edition, Windows platform)

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Removes the ICO file from the icon list

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    class procedure UninstallIcon( IconId : TSolFSString; var RebootNeeded : boolean );
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageUninstallIcon(PSolFSChar IconPath, PSolFSWideChar CabFileName, PSolFSWideChar PathToInstall, SolFSBool SupportPnP, SolFSLongWord ModulesToInstall, SolFSBool *RebootNeeded);

[C++ (Lib)]
    static void UninstallIcon( const wchar_t * IconId, bool * RebootNeeded );

[C++ (VCL)]
    static void __fastcall UninstallIcon( TSolFSString IconId, bool & RebootNeeded );

[C++ (.NET)]
    static void UninstallIcon( String* IconId, bool & RebootNeeded);

[C#]
    static void UninstallIcon( String IconId, ref bool RebootNeeded)

[VB.NET]
    Shared Sub UninstallIcon( ByVal IconId As String, ByRef RebootNeeded As Boolean)

[Java]
    not applicable

Parameters

  • IconId - Icon identifier, used for various operations with this icon.
  • RebootNeeded - On return indicates if the system needs to be restarted.

Description

Use this function to remove previously installed icon (.ICO) file from the list of installed icons. After deinstallation the icon can't be used as a custom icon anymore.

Call from...

This method may be called only from outside of callback / event handlers.

See also

IconInstalled     InstallIcon     ResetIcon     SetIcon    

Back to top