Create and manage virtual disk drives from your Windows applications

CBDisk.UninstallDriver method


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

CBDisk     See also    


Uninstalls the driver from the system


    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);

    static void UninstallDriver( string GUID, ref bool RebootNeeded)

    Shared Sub UninstallDriver( ByVal GUID As String, ByRef RebootNeeded As Boolean)


  • 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.


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


Back to top