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 | Safe |
Language | Haskell2010 |
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
Instances
Storable FILETIME Source # | |
Defined in System.Win32.Time sizeOf :: FILETIME -> Int Source # alignment :: FILETIME -> Int Source # peekElemOff :: Ptr FILETIME -> Int -> IO FILETIME Source # pokeElemOff :: Ptr FILETIME -> Int -> FILETIME -> IO () Source # peekByteOff :: Ptr b -> Int -> IO FILETIME Source # pokeByteOff :: Ptr b -> Int -> FILETIME -> IO () Source # | |
Show FILETIME Source # | |
Eq FILETIME Source # | |
Ord FILETIME Source # | |
Defined in System.Win32.Time |
data SYSTEMTIME Source #
SYSTEMTIME | |
|
Instances
data TIME_ZONE_INFORMATION Source #
Instances
data TimeZoneId Source #
Instances
Show TimeZoneId Source # | |
Defined in System.Win32.Time | |
Eq TimeZoneId Source # | |
Defined in System.Win32.Time (==) :: TimeZoneId -> TimeZoneId -> Bool # (/=) :: TimeZoneId -> TimeZoneId -> Bool # | |
Ord TimeZoneId Source # | |
Defined in System.Win32.Time compare :: TimeZoneId -> TimeZoneId -> Ordering # (<) :: TimeZoneId -> TimeZoneId -> Bool # (<=) :: TimeZoneId -> TimeZoneId -> Bool # (>) :: TimeZoneId -> TimeZoneId -> Bool # (>=) :: TimeZoneId -> TimeZoneId -> Bool # max :: TimeZoneId -> TimeZoneId -> TimeZoneId # min :: TimeZoneId -> TimeZoneId -> TimeZoneId # |
setSystemTime :: SYSTEMTIME -> IO () Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getTickCount :: IO DWORD Source #
getIdleTime :: IO Integer Source #
type GetTimeFormatFlags = DWORD Source #
getTimeFormatEx :: Maybe String -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO String Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO String Source #