CallbackFileSystem.UninstallDriver method
Filter:
Pascal C++ (Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Uninstalls the driver from the system
Declaration
[Pascal]
class procedure UninstallDriver(
ProductName : AnsiString;
var RebootNeeded : boolean);
[C++ (Lib)]
static void UninstallDriver(
const char * ProductName,
bool *RebootNeeded);
[C++ (VCL)]
static void __fastcall UninstallDriver(
const char * ProductName,
bool RebootNeeded);
[C++ (.NET)]
static void UninstallDriver(
String* ProductName,
bool &RebootNeeded);
[C#]
static void UninstallDriver(
string ProductName,
ref bool RebootNeeded)
[VB.NET]
Shared Sub UninstallDriver(
ByVal ProductName As String,
ByRef RebootNeeded As Boolean)
Parameters
- ProductName - the ProductName 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. ProductName 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.
