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 Source #
type RegRestoreFlags = DWORD Source #
data RegInfoKey Source #
RegInfoKey | |
|
type RegNotifyOptions = DWORD Source #
type RegCreateOptions = DWORD Source #
c_RegSaveKey :: PKEY -> LPCTSTR -> LPSECURITY_ATTRIBUTES -> IO ErrCode Source #
c_RegRestoreKey :: PKEY -> LPCTSTR -> RegRestoreFlags -> IO ErrCode Source #
c_RegQueryValueEx :: PKEY -> LPCTSTR -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCode 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 #
c_RegNotifyChangeKeyValue :: PKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ErrCode Source #
c_RegEnumValue :: PKEY -> DWORD -> LPTSTR -> Ptr DWORD -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCode Source #
c_RegCreateKeyEx :: PKEY -> LPCTSTR -> DWORD -> LPCTSTR -> RegCreateOptions -> REGSAM -> LPSECURITY_ATTRIBUTES -> Ptr PKEY -> Ptr DWORD -> IO ErrCode Source #
hKEY_USERS :: HKEY Source #
regCloseKey :: HKEY -> IO () Source #
kEY_EXECUTE :: REGSAM Source #
kEY_NOTIFY :: REGSAM Source #
regCreateKeyEx :: HKEY -> String -> Maybe String -> RegCreateOptions -> REGSAM -> Maybe LPSECURITY_ATTRIBUTES -> IO (HKEY, Bool) Source #
regEnumKeyVals :: HKEY -> IO [(String, String, RegValueType)] Source #
regEnumValue :: HKEY -> DWORD -> LPTSTR -> DWORD -> LPBYTE -> DWORD -> IO (RegValueType, String, Int) Source #
regFlushKey :: HKEY -> IO () Source #
regNotifyChangeKeyValue :: HKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO () Source #
regQueryInfoKey :: HKEY -> IO RegInfoKey Source #
regQueryValueEx :: HKEY -> String -> LPBYTE -> Int -> IO RegValueType Source #
regRestoreKey :: HKEY -> String -> RegRestoreFlags -> IO () Source #
regSaveKey :: HKEY -> String -> Maybe LPSECURITY_ATTRIBUTES -> IO () Source #
regSetValueEx :: HKEY -> String -> RegValueType -> LPTSTR -> Int -> IO () Source #