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 | Trustworthy |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
data TimeZoneIdSource
c_GetSystemTime :: Ptr SYSTEMTIME -> IO ()Source
c_SetSystemTime :: Ptr SYSTEMTIME -> IO BOOLSource
setSystemTime :: SYSTEMTIME -> IO ()Source
c_GetSystemTimeAsFileTime :: Ptr FILETIME -> IO ()Source
c_GetLocalTime :: Ptr SYSTEMTIME -> IO ()Source
c_SetLocalTime :: Ptr SYSTEMTIME -> IO BOOLSource
setLocalTime :: SYSTEMTIME -> IO ()Source
setSystemTimeAdjustment :: Maybe Int -> IO ()Source
c_SystemTimeToFileTime :: Ptr SYSTEMTIME -> Ptr FILETIME -> IO BOOLSource
c_FileTimeToSystemTime :: Ptr FILETIME -> Ptr SYSTEMTIME -> IO BOOLSource
type GetTimeFormatFlags = DWORDSource
c_GetTimeFormat :: LCID -> GetTimeFormatFlags -> Ptr SYSTEMTIME -> LPCTSTR -> LPTSTR -> CInt -> IO CIntSource
getTimeFormat :: LCID -> GetTimeFormatFlags -> SYSTEMTIME -> String -> IO StringSource