Copyright | (c) Alastair Reid, 1997-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell98 |
A collection of FFI declarations for accessing the Win32 registry.
Documentation
hKEY_USERS :: HKEY Source
regCloseKey :: HKEY -> IO () Source
c_RegCloseKey :: PKEY -> IO ErrCode Source
type RegCreateOptions = DWORD Source
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 ErrCode Source
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 ErrCode Source
regFlushKey :: HKEY -> IO () Source
c_RegFlushKey :: PKEY -> IO ErrCode Source
type RegNotifyOptions = DWORD Source
regNotifyChangeKeyValue :: HKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO () Source
c_RegNotifyChangeKeyValue :: PKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ErrCode Source
data RegInfoKey Source
RegInfoKey | |
|
regQueryInfoKey :: HKEY -> IO RegInfoKey Source
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 ErrCode Source
regQueryValueEx :: HKEY -> String -> LPBYTE -> Int -> IO RegValueType Source
c_RegQueryValueEx :: PKEY -> LPCTSTR -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCode Source
type RegRestoreFlags = DWORD Source
regRestoreKey :: HKEY -> String -> RegRestoreFlags -> IO () Source
c_RegRestoreKey :: PKEY -> LPCTSTR -> RegRestoreFlags -> IO ErrCode Source
regSaveKey :: HKEY -> String -> Maybe LPSECURITY_ATTRIBUTES -> IO () Source
c_RegSaveKey :: PKEY -> LPCTSTR -> LPSECURITY_ATTRIBUTES -> IO ErrCode Source
type RegValueType = DWORD Source
regSetValueEx :: HKEY -> String -> RegValueType -> LPTSTR -> Int -> IO () Source
c_RegSetValueEx :: PKEY -> LPCTSTR -> DWORD -> RegValueType -> LPTSTR -> Int -> IO ErrCode Source
regUnLoadKey :: HKEY -> String -> IO () Source