Win32-2.14.0.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

getTimeFormatEx :: Maybe WindowsString -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe WindowsString -> IO String Source #

getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO WindowsString Source #

type GetTimeFormatFlags = DWORD Source #

data TimeZoneId Source #

Constructors

Instances

Instances details
Instance details

Defined in System.Win32.Time.Internal

Methods

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

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

Instance details

Defined in System.Win32.Time.Internal

Instance details

Defined in System.Win32.Time.Internal

Methods

showsPrec :: Int -> TimeZoneId -> ShowS

show :: TimeZoneId -> String

showList :: [TimeZoneId] -> ShowS

data TIME_ZONE_INFORMATION Source #

Constructors

Instances

Instances details
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

data SYSTEMTIME Source #

Constructors

Instances

Instances details
Instance details

Defined in System.Win32.Time.Internal

Methods

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

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

Instance details

Defined in System.Win32.Time.Internal

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

Instances

Instances details
Instance details

Defined in System.Win32.Time.Internal

Methods

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

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

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

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 ()

getTickCount :: IO DWORD Source #

lOCALE_NOUSEROVERRIDE :: GetTimeFormatFlags Source #

lOCALE_USE_CP_ACP :: GetTimeFormatFlags Source #

tIME_NOMINUTESORSECONDS :: GetTimeFormatFlags Source #

tIME_NOSECONDS :: GetTimeFormatFlags Source #

tIME_NOTIMEMARKER :: GetTimeFormatFlags Source #

tIME_FORCE24HOURFORMAT :: GetTimeFormatFlags Source #

getSystemTime :: IO SYSTEMTIME Source #

setSystemTime :: SYSTEMTIME -> IO () Source #

getSystemTimeAsFileTime :: IO FILETIME Source #

getLocalTime :: IO SYSTEMTIME Source #

setLocalTime :: SYSTEMTIME -> IO () Source #

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

getLastInputInfo :: IO DWORD Source #

getIdleTime :: IO Integer Source #

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

getTimeZoneInformation :: IO (TimeZoneId, TIME_ZONE_INFORMATION) Source #

systemTimeToFileTime :: SYSTEMTIME -> IO FILETIME Source #

fileTimeToSystemTime :: FILETIME -> IO SYSTEMTIME Source #

getFileTime :: HANDLE -> IO (FILETIME, FILETIME, FILETIME) Source #

invalidFileTime :: FILETIME Source #

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

fileTimeToLocalFileTime :: FILETIME -> IO FILETIME Source #

localFileTimeToFileTime :: FILETIME -> IO FILETIME Source #

queryPerformanceFrequency :: IO Integer Source #

queryPerformanceCounter :: IO Integer Source #

AltStyle によって変換されたページ (->オリジナル) /