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-Inferred |
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 #
Instances
Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal 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.Internal |
data SYSTEMTIME Source #
SYSTEMTIME | |
|
Instances
data TIME_ZONE_INFORMATION Source #
Instances
data TimeZoneId Source #
Instances
Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal | |
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 # |
type GetTimeFormatFlags = DWORD Source #
getTickCount :: IO DWORD Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getIdleTime :: IO Integer Source #