Portability | portable |
---|---|
Stability | provisional |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Safe Haskell | Trustworthy |
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
data TimeZoneId Source
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