CallbackDisk

Create and manage virtual disk drives from your Windows applications

CBDisk.UninstallIcon method

Filter:

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

CBDisk     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 wchar_t * 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)

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

InstallIcon     ResetIcon     SetIcon    

Back to top