| 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 |
System.Win32.Time
Description
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
Instances
| Eq FILETIME Source # | |
| Ord FILETIME Source # | |
Defined in System.Win32.Time.Internal | |
| Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal Methods 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 # | |
data SYSTEMTIME Source #
Constructors
| SYSTEMTIME | |
Instances
data TIME_ZONE_INFORMATION Source #
Constructors
| TIME_ZONE_INFORMATION | |
Fields | |
Instances
data TimeZoneId Source #
Constructors
| TzIdUnknown | |
| TzIdStandard | |
| TzIdDaylight |
Instances
| Eq TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods (==) :: TimeZoneId -> TimeZoneId -> Bool Source # (/=) :: TimeZoneId -> TimeZoneId -> Bool Source # | |
| Ord TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods compare :: TimeZoneId -> TimeZoneId -> Ordering Source # (<) :: TimeZoneId -> TimeZoneId -> Bool Source # (<=) :: TimeZoneId -> TimeZoneId -> Bool Source # (>) :: TimeZoneId -> TimeZoneId -> Bool Source # (>=) :: TimeZoneId -> TimeZoneId -> Bool Source # max :: TimeZoneId -> TimeZoneId -> TimeZoneId Source # min :: TimeZoneId -> TimeZoneId -> TimeZoneId Source # | |
| Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal | |
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 #