Added support for WinAPI version specification.