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.Internal | |
Show FILETIME Source # | |
Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal peekElemOff :: Ptr FILETIME -> Int -> IO FILETIME pokeElemOff :: Ptr FILETIME -> Int -> FILETIME -> IO () peekByteOff :: Ptr b -> Int -> IO FILETIME pokeByteOff :: Ptr b -> Int -> FILETIME -> IO () |
data SYSTEMTIME Source #
SYSTEMTIME | |
|
Instances
data TIME_ZONE_INFORMATION Source #
TIME_ZONE_INFORMATION | |
|
Instances
data TimeZoneId Source #
Instances
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 | |
Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal showsPrec :: Int -> TimeZoneId -> ShowS show :: TimeZoneId -> String showList :: [TimeZoneId] -> ShowS |
getSystemTime :: IO SYSTEMTIME Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
getLocalTime :: IO SYSTEMTIME Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getSystemTimeAdjustment :: IO (Maybe (Int, Int)) Source #
getTickCount :: IO DWORD Source #
getLastInputInfo :: IO DWORD Source #
getIdleTime :: IO Integer Source #
setSystemTimeAdjustment :: Maybe Int -> IO () Source #
systemTimeToFileTime :: SYSTEMTIME -> IO FILETIME Source #
fileTimeToSystemTime :: FILETIME -> IO SYSTEMTIME Source #
fileTimeToLocalFileTime :: FILETIME -> IO FILETIME Source #
localFileTimeToFileTime :: FILETIME -> IO FILETIME Source #
queryPerformanceFrequency :: IO Integer Source #
queryPerformanceCounter :: 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 #