Apply 1695494: fix version number in the Win32 registry, add API_VERSION variable...