Win32-2.13.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 HaskellSafe
LanguageHaskell2010

System.Win32.Time

Description

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

Documentation

newtype FILETIME Source #

Constructors

Instances
Instance details

Defined in System.Win32.Time

Methods

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

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

Instance details

Defined in System.Win32.Time

Instance details

Defined in System.Win32.Time

data SYSTEMTIME Source #

Constructors

Instances
Instance details

Defined in System.Win32.Time

Instance details

Defined in System.Win32.Time

data TIME_ZONE_INFORMATION Source #

Constructors

Instances

data TimeZoneId Source #

Constructors

Instances
Instance details

Defined in System.Win32.Time

Instance details

Defined in System.Win32.Time

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 #

getTickCount :: IO DWORD 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 #

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

invalidFileTime :: FILETIME Source #

fileTimeToLocalFileTime :: FILETIME -> IO FILETIME Source #

localFileTimeToFileTime :: FILETIME -> IO FILETIME Source #

queryPerformanceFrequency :: IO Integer Source #

queryPerformanceCounter :: IO Integer Source #

type GetTimeFormatFlags = 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 #

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

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

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