mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Other functions, like GetVersion(), will lie about the OS version depending on various win32 and manifest compatibility shims in place. Calling RtlGetVersion is the proper way to retrieve the true OS version. Change-Id: I2bd6d097dd763df51617cd825dc0ad300abf6212 Reviewed-on: https://go-review.googlesource.com/c/sys/+/182718 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>