CallbackDisk

Create and manage virtual disk drives from your Windows applications

CBDisk.UninstallDriver method

Filter:

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

CBDisk     See also    

Overview

Uninstalls the driver from the system

Declaration

[Pascal]
    class procedure UninstallDriver( GUID : string; var RebootNeeded : boolean);

[C++ (Lib)]
    static void UninstallDriver( const char * GUID, bool *RebootNeeded);

[C++ (VCL)]
    static void __fastcall UninstallDriver( const char * GUID, bool RebootNeeded);

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

[C#]
    static void UninstallDriver( string GUID, ref bool RebootNeeded)

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

Parameters

  • GUID - the GUID string that identifies installation of the driver by your application
  • RebootNeeded - On return this parameter specifies if system restart is necessary for driver deinstallation to be successful.

Description

Use this function to uninstall the driver from the system. GUID is used to distinguish between installations of the driver made by different applications and to prevent the situation when the driver is installed by two applications and further deinstallation of one of them removes the driver.

Read more about installing and uninstalling the drivers.

See also

InstallDriver    

Back to top