Copyright | (c) Esa Ilari Vuokko 2006 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
getTimeFormatEx :: Maybe WindowsString -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe WindowsString -> IO String Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO WindowsString Source #
type GetTimeFormatFlags = DWORD Source #
data TimeZoneId Source #
Instances
Eq TimeZoneId Source # | |
Defined in System.Win32.Time.Internal (==) :: TimeZoneId -> TimeZoneId -> Bool (/=) :: TimeZoneId -> TimeZoneId -> Bool | |
Ord TimeZoneId Source # | |
Defined in System.Win32.Time.Internal compare :: TimeZoneId -> TimeZoneId -> Ordering (<) :: TimeZoneId -> TimeZoneId -> Bool (<=) :: TimeZoneId -> TimeZoneId -> Bool (>) :: TimeZoneId -> TimeZoneId -> Bool (>=) :: TimeZoneId -> TimeZoneId -> Bool max :: TimeZoneId -> TimeZoneId -> TimeZoneId min :: TimeZoneId -> TimeZoneId -> TimeZoneId | |
Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal showsPrec :: Int -> TimeZoneId -> ShowS show :: TimeZoneId -> String showList :: [TimeZoneId] -> ShowS |
data TIME_ZONE_INFORMATION Source #
TIME_ZONE_INFORMATION | |
|
Instances
data SYSTEMTIME Source #
SYSTEMTIME | |
|
Instances
Instances
Eq FILETIME Source # | |
Ord FILETIME Source # | |
Defined in System.Win32.Time.Internal | |
Show FILETIME Source # | |
Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal peekElemOff :: Ptr FILETIME -> Int -> IO FILETIME pokeElemOff :: Ptr FILETIME -> Int -> FILETIME -> IO () peekByteOff :: Ptr b -> Int -> IO FILETIME pokeByteOff :: Ptr b -> Int -> FILETIME -> IO () |
getTickCount :: IO DWORD Source #
getSystemTime :: IO SYSTEMTIME Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
getLocalTime :: IO SYSTEMTIME Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getSystemTimeAdjustment :: IO (Maybe (Int, Int)) Source #
getLastInputInfo :: IO DWORD Source #
getIdleTime :: IO Integer Source #
setSystemTimeAdjustment :: Maybe Int -> IO () Source #
systemTimeToFileTime :: SYSTEMTIME -> IO FILETIME Source #
fileTimeToSystemTime :: FILETIME -> IO SYSTEMTIME Source #
fileTimeToLocalFileTime :: FILETIME -> IO FILETIME Source #
localFileTimeToFileTime :: FILETIME -> IO FILETIME Source #
queryPerformanceFrequency :: IO Integer Source #
queryPerformanceCounter :: IO Integer Source #