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 | Haskell98 |
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
data SYSTEMTIME Source #
SYSTEMTIME | |
|
data TimeZoneId Source #
c_GetSystemTime :: Ptr SYSTEMTIME -> IO () Source #
c_SetSystemTime :: Ptr SYSTEMTIME -> IO BOOL Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
c_GetLocalTime :: Ptr SYSTEMTIME -> IO () Source #
c_SetLocalTime :: Ptr SYSTEMTIME -> IO BOOL Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getTickCount :: IO DWORD Source #
c_SystemTimeToFileTime :: Ptr SYSTEMTIME -> Ptr FILETIME -> IO BOOL Source #
c_FileTimeToSystemTime :: Ptr FILETIME -> Ptr SYSTEMTIME -> IO BOOL Source #
type GetTimeFormatFlags = DWORD Source #
c_GetTimeFormat :: LCID -> GetTimeFormatFlags -> Ptr SYSTEMTIME -> LPCTSTR -> LPTSTR -> CInt -> IO CInt Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> SYSTEMTIME -> String -> IO String Source #