InstallDriver function (Installer DLL)
Installs the driver into the system
BOOL __stdcall InstallDriverA(
const char* BinaryPathName32,
const char* BinaryPathName64,
const char* ProgramName,
BOOL __stdcall InstallDriverW( const unsigned short* BinaryPathName32, const unsigned short* BinaryPathName64, const unsigned short* ProgramName, BOOL *RebootNeeded);
- BinaryPathName32 - the fully qualified file name of the 32-bit driver (cbfs.sys) for installing on 32-bit systems
- BinaryPathName64 - the fully qualified file name of the 64-bit driver (cbfs.sys) for installing on 64-bit systems
- ProgramName - the string that identifies installation of the driver by your application
- RebootNeeded - On return this parameter specifies if system restart is necessary for driver installation to be successful
TRUE / true if the function succeeded or FALSE / false if the function failed.
Use this function to install the driver to the system. Once installed, the driver is loaded using user-mode API. 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.
Install the correct drivers:
On 64-bit systems you must install 64-bit drivers. 32-bit drivers won't work there. The installer DLL automatically determines if the system is 32-bit or 64-bit, but you need to have a 64-bit driver ready for installation. Important: 64-bit driver requires signing as described in installing and uninstalling the drivers topic.