Returns information about the installed driver or helper DLL
BOOL __stdcall GetModuleStatusA(
const char * ProductName,
unsigned long *FileVersionHigh,
unsigned long *FileVersionLow);
BOOL __stdcall GetModuleStatusW( const unsigned short* ProductName, DWORD Module, BOOL *Installed, unsigned long *FileVersionHigh, unsigned long *FileVersionLow);
TRUE / true if the function succeeded or FALSE / false if the function failed.
Use this method to get information about the installed driver or helper DLL. Use Module parameter to specify, which module (driver itself or one of the helper DLLs) should be installed.
ProductName is used to distinguish between installations of the package made by different applications and to prevent the situation when the package is installed by two applications and further deinstallation of one of them removes the package.
FileVersionHigh and FileVersionLow both contain two values - one in the upper 16 bits and the other in the lower 16 bits.
For example for 188.8.131.52
FileVersionHigh - 0x00020020 = "2.32" FileVersionLow - 0x0006001C = "6.28"