Win32-2.14.1.0: A binding to Windows Win32 API.
Copyright(c) Esa Ilari Vuokko 2006
LicenseBSD-style (see the file LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

System.Win32.WindowsString.Time

Description

A collection of FFI declarations for interfacing with Win32 Time API.

Documentation

data TimeZoneId Source #

Instances

Instances details
Eq TimeZoneId Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

(==) :: TimeZoneId -> TimeZoneId -> Bool

(/=) :: TimeZoneId -> TimeZoneId -> Bool

Ord TimeZoneId Source # 
Instance details

Defined in System.Win32.Time.Internal

Show TimeZoneId Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

showsPrec :: Int -> TimeZoneId -> ShowS

show :: TimeZoneId -> String

showList :: [TimeZoneId] -> ShowS

data TIME_ZONE_INFORMATION Source #

Instances

Instances details
Eq TIME_ZONE_INFORMATION Source # 
Instance details

Defined in System.Win32.Time.Internal

Ord TIME_ZONE_INFORMATION Source # 
Instance details

Defined in System.Win32.Time.Internal

Show TIME_ZONE_INFORMATION Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

showsPrec :: Int -> TIME_ZONE_INFORMATION -> ShowS

show :: TIME_ZONE_INFORMATION -> String

showList :: [TIME_ZONE_INFORMATION] -> ShowS

Storable TIME_ZONE_INFORMATION 
Instance details

Defined in System.Win32.Time.Internal

data SYSTEMTIME Source #

Instances

Instances details
Eq SYSTEMTIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

(==) :: SYSTEMTIME -> SYSTEMTIME -> Bool

(/=) :: SYSTEMTIME -> SYSTEMTIME -> Bool

Ord SYSTEMTIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Show SYSTEMTIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

showsPrec :: Int -> SYSTEMTIME -> ShowS

show :: SYSTEMTIME -> String

showList :: [SYSTEMTIME] -> ShowS

Storable SYSTEMTIME 
Instance details

Defined in System.Win32.Time.Internal

Methods

sizeOf :: SYSTEMTIME -> Int

alignment :: SYSTEMTIME -> Int

peekElemOff :: Ptr SYSTEMTIME -> Int -> IO SYSTEMTIME

pokeElemOff :: Ptr SYSTEMTIME -> Int -> SYSTEMTIME -> IO ()

peekByteOff :: Ptr b -> Int -> IO SYSTEMTIME

pokeByteOff :: Ptr b -> Int -> SYSTEMTIME -> IO ()

peek :: Ptr SYSTEMTIME -> IO SYSTEMTIME

poke :: Ptr SYSTEMTIME -> SYSTEMTIME -> IO ()

newtype FILETIME Source #

Constructors

FILETIME DDWORD 

Instances

Instances details
Eq FILETIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

(==) :: FILETIME -> FILETIME -> Bool

(/=) :: FILETIME -> FILETIME -> Bool

Ord FILETIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

compare :: FILETIME -> FILETIME -> Ordering

(<) :: FILETIME -> FILETIME -> Bool

(<=) :: FILETIME -> FILETIME -> Bool

(>) :: FILETIME -> FILETIME -> Bool

(>=) :: FILETIME -> FILETIME -> Bool

max :: FILETIME -> FILETIME -> FILETIME

min :: FILETIME -> FILETIME -> FILETIME

Show FILETIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

showsPrec :: Int -> FILETIME -> ShowS

show :: FILETIME -> String

showList :: [FILETIME] -> ShowS

Storable FILETIME Source # 
Instance details

Defined in System.Win32.Time.Internal

Methods

sizeOf :: FILETIME -> Int

alignment :: FILETIME -> Int

peekElemOff :: Ptr FILETIME -> Int -> IO FILETIME

pokeElemOff :: Ptr FILETIME -> Int -> FILETIME -> IO ()

peekByteOff :: Ptr b -> Int -> IO FILETIME

pokeByteOff :: Ptr b -> Int -> FILETIME -> IO ()

peek :: Ptr FILETIME -> IO FILETIME

poke :: Ptr FILETIME -> FILETIME -> IO ()

getSystemTimeAdjustment :: IO (Maybe (Int, Int)) Source #

getIdleTime :: IO Integer Source #

setSystemTimeAdjustment :: Maybe Int -> IO () Source #

setFileTime :: HANDLE -> Maybe FILETIME -> Maybe FILETIME -> Maybe FILETIME -> IO () Source #