Send comments on this topic
GetDriverVersion function (Installer DLL)
Overview
Returns version information from the driver file (not necessarily installed)
Declaration
BOOL __stdcall GetDriverVersionA(
const char * DriverFile,
unsigned long *FileVersionHigh,
unsigned long *FileVersionLow);
BOOL __stdcall GetDriverVersionW(
const unsigned short* DriverFile,
unsigned long *FileVersionHigh,
unsigned long *FileVersionLow);
Parameters
- DriverFile - the fully qualified file name of the driver whose version is to be extracted
- 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 the version numbers from the driver file. The driver doesn't need to be installed for the function to succeed.
