Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.UninstallDrivers method (OS edition, Windows platform)

Filter:

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

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Uinstalls the drivers from Windows

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    class procedure UninstallDrivers( var RebootNeeded : boolean);
    class procedure UninstallDrivers( var RebootNeeded : boolean; ProgramName : string);

[Plain C]
    long _stdcall StorageUninstallDrivers(bool *RebootNeeded);

[C++ (DLL/Lib)]
    static void UninstallDrivers( bool *RebootNeeded);
    static void UninstallDrivers( bool *RebootNeeded, char* ProgramName);

[C++ (VCL)]
    static void __fastcall UninstallDrivers( bool RebootNeeded);
    static void __fastcall UninstallDrivers( bool RebootNeeded, AnsiString ProgramName);

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

[C#]
    static void UninstallDrivers( ref bool RebootNeeded)
    static void UninstallDrivers( ref bool RebootNeeded, string ProgramName)

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

[Java]
    not applicable;

Parameters

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

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Description

Use this function to uninstall the drivers from the system. ProgramName 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

GetDriverStatus     InstallDrivers

Back to top