JCL Help:GetWindowsServicePackVersion

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the installed service pack.


Pascal

 function GetWindowsServicePackVersion: Integer;


Return Value

The major version number of the latest installed Service Pack. In case of failure, or it no Service Pack is installed, the function returns 0.


Description

Returns the major version number of the latest installed Windows Service Pack.


See Also

GetWindowsVersion GetWindowsServicePackVersionString


About

Unit

JclSysInfo


Donator

Jean-Fabien Connault


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