CBDisk.UninstallIcon method
Filter:
Pascal C++ (Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
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
Got questions or comments about this topic? Tell us about them.

