Discuss this help topic in CBFS Forum

CallbackFileSystem.UninstallIcon method

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    

Overview

Removes the ICO file from the icon list

Declaration

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

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

[C++ (VCL)]
    static void __fastcall UninstallIcon( const TCBString 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]
    void uninstallIcon( String iconId, boolRef rebootNeeded)

Parameters

  • IconId - ID of the previously installed .ico file, which should be uninstalled.
  • 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    

Discuss this help topic in CBFS Forum