Can anybody tell me what is the Win API function to get the Windows version if there is one.

Thanks in advance.
AstonK