Function get_operating_system_id


#include "breeze/environment/windows_only/get_operating_system_id.hpp"

operating_system_id get_operating_system_id()


Returns the operating_system_id of the running operating system (Windows only).

This "determines" the running OS based on information returned by Windows itself: initially the implementation used GetVersionEx(), which "lies" when the executable runs in compatibility mode; now it uses an API which doesn't appear to be affected by the compatibility settings, so we should detect the "true" OS, anyway.


Line 34 in breeze/environment/windows_only/get_operating_system_id.hpp.