RawDisk.UninstallDrivers method
Filter:
Pascal C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Uninstalls the driver from the system
Declaration
[Pascal]
class function UninstallDriver(
ProgramName : AnsiString;
var RebootNeeded : boolean) : BOOL;
[C++ (DLL/Lib)]
static BOOL UninstallDriver(
const char * ProgramName,
bool *RebootNeeded);
[C++ (VCL)]
static BOOL __fastcall UninstallDriver(
const char * ProgramName,
bool RebootNeeded);
[C++ (.NET)]
static BOOL UninstallDriver(
String* ProgramName,
bool &RebootNeeded);
[C#]
static BOOL UninstallDriver(
string ProgramName,
ref bool RebootNeeded)
[VB.NET]
Shared Function UninstallDriver(
ByVal ProgramName As String,
ByRef RebootNeeded As Boolean) As BOOL
Parameters
- ProgramName - the ProgramName 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.
Return values
TRUE (non-zero value) if the function succeeded or FALSE (0) if the function failed. When 0 is returned, use GetLastError() WinAPI function to get the return code.
Description
Use this function to uninstall the driver from the system.
