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
Eq FILETIME Source # | |
Ord FILETIME Source # | |
Show FILETIME Source # | |
Storable FILETIME Source # | |
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 # |
data SYSTEMTIME Source #
SYSTEMTIME | |
|
Instances
Eq SYSTEMTIME Source # | |
(==) :: SYSTEMTIME -> SYSTEMTIME -> Bool # (/=) :: SYSTEMTIME -> SYSTEMTIME -> Bool # | |
Ord SYSTEMTIME Source # | |
compare :: SYSTEMTIME -> SYSTEMTIME -> Ordering # (<) :: SYSTEMTIME -> SYSTEMTIME -> Bool # (<=) :: SYSTEMTIME -> SYSTEMTIME -> Bool # (>) :: SYSTEMTIME -> SYSTEMTIME -> Bool # (>=) :: SYSTEMTIME -> SYSTEMTIME -> Bool # max :: SYSTEMTIME -> SYSTEMTIME -> SYSTEMTIME # min :: SYSTEMTIME -> SYSTEMTIME -> SYSTEMTIME # | |
Show SYSTEMTIME Source # | |
Storable SYSTEMTIME # | |
sizeOf :: SYSTEMTIME -> Int Source # alignment :: SYSTEMTIME -> Int Source # peekElemOff :: Ptr SYSTEMTIME -> Int -> IO SYSTEMTIME Source # pokeElemOff :: Ptr SYSTEMTIME -> Int -> SYSTEMTIME -> IO () Source # peekByteOff :: Ptr b -> Int -> IO SYSTEMTIME Source # pokeByteOff :: Ptr b -> Int -> SYSTEMTIME -> IO () Source # peek :: Ptr SYSTEMTIME -> IO SYSTEMTIME Source # poke :: Ptr SYSTEMTIME -> SYSTEMTIME -> IO () Source # |
data TIME_ZONE_INFORMATION Source #
Instances
data TimeZoneId Source #
Instances
Eq TimeZoneId Source # | |
(==) :: TimeZoneId -> TimeZoneId -> Bool # (/=) :: TimeZoneId -> TimeZoneId -> Bool # | |
Ord TimeZoneId Source # | |
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 # | |
c_GetSystemTime :: Ptr SYSTEMTIME -> IO () Source #
c_SetSystemTime :: Ptr SYSTEMTIME -> IO BOOL Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
c_GetLocalTime :: Ptr SYSTEMTIME -> IO () Source #
c_SetLocalTime :: Ptr SYSTEMTIME -> IO BOOL Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getTickCount :: IO DWORD Source #
c_SystemTimeToFileTime :: Ptr SYSTEMTIME -> Ptr FILETIME -> IO BOOL Source #
c_FileTimeToSystemTime :: Ptr FILETIME -> Ptr SYSTEMTIME -> IO BOOL Source #
type GetTimeFormatFlags = DWORD Source #
c_GetTimeFormat :: LCID -> GetTimeFormatFlags -> Ptr SYSTEMTIME -> LPCTSTR -> LPTSTR -> CInt -> IO CInt Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO String Source #