winapi::um::winnt

Constant VER_MAJORVERSION

Source
pub const VER_MAJORVERSION: DWORD = 0x0000002;