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 # | |
Defined in System.Win32.Time | |
Show FILETIME Source # | |
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 # |
data SYSTEMTIME Source #
SYSTEMTIME | |
|
Instances
data TIME_ZONE_INFORMATION Source #
Instances
data TimeZoneId Source #
Instances
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 # | |
Show TimeZoneId Source # | |
Defined in System.Win32.Time |
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 #