System.Win32.Info.Version

Copyright 2013 shelarcy
License BSD-style
Maintainer [email protected]
Stability Provisional
Portability Non-portable (Win32 API)
Safe Haskell Safe-Inferred
Language Haskell2010

Description

Version information about your computer.

Version Info

data OSVERSIONINFOEX

type POSVERSIONINFOEX = Ptr OSVERSIONINFOEX

type LPOSVERSIONINFOEX = Ptr OSVERSIONINFOEX

data ProductType

getVersionEx :: IO OSVERSIONINFOEX

c_GetVersionEx :: LPOSVERSIONINFOEX -> IO BOOL

Verify OS version

isVistaOrLater :: IO Bool

is7OrLater :: IO Bool

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/Win32-2.6.1.0/System-Win32-Info-Version.html