GetWindowsVersion for Windows 98 Second Edition
I needed to detect for Windows 98 Second Edition in my installer. I added a few lines of code which will detect Windows 98 Second Edition. This function also requires the use of the strstr function. Here it is for anyone interested.
[edited by kichik, please don't paste in large blocks of code, attach. attached below]