GetDriverStatus function (Installer DLL)
Overview
Returns information about the installed driver
Declaration
BOOL __stdcall GetDriverStatusA(
const char * ProgramName,
BOOL *DriverInstalled,
unsigned long *FileVersionHigh,
unsigned long *FileVersionLow);
BOOL __stdcall GetDriverStatusW(
const unsigned short* ProgramName,
BOOL *DriverInstalled,
unsigned long *FileVersionHigh,
unsigned long *FileVersionLow);
Parameters
- ProgramName - the ProgramName string that identifies installation of the driver by your application
- DriverInstalled - on return contains true if the driver has been installed or false otherwise.
- FileVersionHigh - on return contains driver file version (high-order values)
- FileVersionLow - on return contains driver file version (low-order values)
Return values
TRUE / true if the function succeeded or FALSE / false if the function failed.
Description
Use this method to get information about the installed driver. 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.
