Portability | portable |
---|---|
Stability | provisional |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Safe Haskell | Trustworthy |
A collection of FFI declarations for accessing the Win32 registry.
Documentation
regCloseKey :: HKEY -> IO ()Source
c_RegCloseKey :: PKEY -> IO ErrCodeSource
type RegCreateOptions = DWORDSource
regCreateKeyEx :: HKEY -> String -> String -> RegCreateOptions -> REGSAM -> Maybe LPSECURITY_ATTRIBUTES -> IO (HKEY, Bool)Source
c_RegCreateKeyEx :: PKEY -> LPCTSTR -> DWORD -> LPCTSTR -> RegCreateOptions -> REGSAM -> LPSECURITY_ATTRIBUTES -> Ptr PKEY -> Ptr DWORD -> IO ErrCodeSource
regDeleteKey :: HKEY -> String -> IO ()Source
regDeleteValue :: HKEY -> String -> IO ()Source
mallocWideChars :: Int -> IO (Ptr a)Source
regEnumKeys :: HKEY -> IO [String]Source
regEnumKeyVals :: HKEY -> IO [(String, String, RegValueType)]Source
regEnumValue :: HKEY -> DWORD -> LPTSTR -> DWORD -> LPBYTE -> DWORD -> IO (RegValueType, String, Int)Source
c_RegEnumValue :: PKEY -> DWORD -> LPTSTR -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCodeSource
regFlushKey :: HKEY -> IO ()Source
c_RegFlushKey :: PKEY -> IO ErrCodeSource
type RegNotifyOptions = DWORDSource
regNotifyChangeKeyValue :: HKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ()Source
c_RegNotifyChangeKeyValue :: PKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ErrCodeSource
data RegInfoKey Source
RegInfoKey | |
|
c_RegQueryInfoKey :: PKEY -> LPTSTR -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> Ptr FILETIME -> IO ErrCodeSource
regQueryValueEx :: HKEY -> String -> LPBYTE -> Int -> IO RegValueTypeSource
c_RegQueryValueEx :: PKEY -> LPCTSTR -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCodeSource
type RegRestoreFlags = DWORDSource
regRestoreKey :: HKEY -> String -> RegRestoreFlags -> IO ()Source
c_RegRestoreKey :: PKEY -> LPCTSTR -> RegRestoreFlags -> IO ErrCodeSource
regSaveKey :: HKEY -> String -> Maybe LPSECURITY_ATTRIBUTES -> IO ()Source
c_RegSaveKey :: PKEY -> LPCTSTR -> LPSECURITY_ATTRIBUTES -> IO ErrCodeSource
type RegValueType = DWORDSource
regSetValueEx :: HKEY -> String -> RegValueType -> LPTSTR -> Int -> IO ()Source
c_RegSetValueEx :: PKEY -> LPCTSTR -> DWORD -> RegValueType -> LPTSTR -> Int -> IO ErrCodeSource
regUnLoadKey :: HKEY -> String -> IO ()Source