Skip to content

Add Windows support to g_get_os_info()

LRN requested to merge lrn/glib:osinfo into master

Most of the info returned is static, the only thing that changes is the OS version.

This code relies on g_win32_check_windows_version() providing accurate information (hopefully, MS won't nix RtlGetVersion() on which we use for that) and supplements it with information from the registry for Windows >= 8.1.

Merge request reports