Uninstalls the driver from the system
BOOL __stdcall UninstallA(
const char* CabFileName,
const char* ProductName,
const char * InstalledPath,
BOOL __stdcall UninstallW( const unsigned short* CabFileName, const unsigned short* ProductName, const wchar_t * InstalledPath, DWORD *RebootNeeded);
TRUE / true if the function succeeded or FALSE / false if the function failed.
Use this function to uninstall the driver 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.
This method does not remove EldoS CallbackRegistry. You need to use cbreginst.dll installer DLL, shipped with CallbackRegistry, to uninstall that previous version. Alternatively, use UninstallEx method.
NOTE: you must NOT uninstall the driver, if you upgrade the installation. In other words, use Uninstall method only to completely remove CBFS Registry from the system.
Read more about installing and uninstalling the drivers.