JCL Help: SHDllGetVersion Function
- Project summary
Search in JCL HelpSearch in all projects
Reads version information from the specified file.
function SHDllGetVersion(const FileName: string; var Version: TDllVersionInfo): Boolean;
|const FileName: string||The fully qualified path name of the file for which you want to retrieve version information. Most likely the name of a shell DLL. If the DLL can be found on the search path then the filename is sufficient (for example Shell32.dll does not have to include the path).|
If the function succeeds the return value is True and the Version record is filled with the version information. If the function fails the return value is False and the Version record contains whatever it contained on entry.
SHDllGetVersion attempts to read version information from the specified file using the well-known DllGetVersion exported function. This function is exported by all the newer Windows shell related DLLs starting with shell version 4.71. FileName should be the fully qualified name of the file for which to return version information. If the function succeeds then the result is True, otherwise the result is False and the Version record contains garbage.
Marcel van Brakel
Record which is filled with version information if the function succeeds. See TDllVersionInfo
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page