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 | Haskell2010 |
A collection of FFI declarations for accessing the Win32 registry.
Documentation
type RegValueType = DWORD #
type RegRestoreFlags = DWORD #
data RegInfoKey #
RegInfoKey | |
|
type RegNotifyOptions = DWORD #
type RegCreateOptions = DWORD #
c_RegSetValueEx :: PKEY -> LPCTSTR -> DWORD -> RegValueType -> LPTSTR -> Int -> IO ErrCode #
c_RegSaveKey :: PKEY -> LPCTSTR -> LPSECURITY_ATTRIBUTES -> IO ErrCode #
c_RegRestoreKey :: PKEY -> LPCTSTR -> RegRestoreFlags -> IO ErrCode #
c_RegQueryValueEx :: PKEY -> LPCTSTR -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCode #
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 #
c_RegNotifyChangeKeyValue :: PKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ErrCode #
c_RegFlushKey :: PKEY -> IO ErrCode #
c_RegEnumValue :: PKEY -> DWORD -> LPTSTR -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCode #
c_RegCreateKeyEx :: PKEY -> LPCTSTR -> DWORD -> LPCTSTR -> RegCreateOptions -> REGSAM -> LPSECURITY_ATTRIBUTES -> Ptr PKEY -> Ptr DWORD -> IO ErrCode #
c_RegCloseKey :: PKEY -> IO ErrCode #
hKEY_USERS :: HKEY #
regCloseKey :: HKEY -> IO () #
kEY_EXECUTE :: REGSAM #
kEY_NOTIFY :: REGSAM #
kEY_SET_VALUE :: REGSAM #
regCreateKeyEx :: HKEY -> String -> Maybe String -> RegCreateOptions -> REGSAM -> Maybe LPSECURITY_ATTRIBUTES -> IO (HKEY, Bool) #
regDeleteKey :: HKEY -> String -> IO () #
regDeleteValue :: HKEY -> String -> IO () #
mallocWideChars :: Int -> IO (Ptr a) #
regEnumKeys :: HKEY -> IO [String] #
regEnumKeyVals :: HKEY -> IO [(String, String, RegValueType)] #
regEnumValue :: HKEY -> DWORD -> LPTSTR -> DWORD -> LPBYTE -> DWORD -> IO (RegValueType, String, Int) #
regFlushKey :: HKEY -> IO () #
regNotifyChangeKeyValue :: HKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO () #
regQueryInfoKey :: HKEY -> IO RegInfoKey #
regQueryValueEx :: HKEY -> String -> LPBYTE -> Int -> IO RegValueType #
regRestoreKey :: HKEY -> String -> RegRestoreFlags -> IO () #
regSaveKey :: HKEY -> String -> Maybe LPSECURITY_ATTRIBUTES -> IO () #
rEG_SZ :: RegValueType #
regSetValueEx :: HKEY -> String -> RegValueType -> LPTSTR -> Int -> IO () #
regUnLoadKey :: HKEY -> String -> IO () #