Copyright | (c) Alastair Reid 1997-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Esa Ilari Vuokko <[email protected]> |
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 #
type RegCreateOptions = DWORD Source #
kEY_EXECUTE :: REGSAM Source #
kEY_NOTIFY :: REGSAM 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 #
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 #
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 #