| Win32-2.1.1.0: A binding to part of the Win32 library | Source code | Contents | Index

System.Win32.Registry |

Portability | portable
Stability | provisional
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>

Description
A collection of FFI declarations for accessing the Win32 registry.
Documentation

hKEY_CLASSES_ROOT :: HKEY | Source

hKEY_CURRENT_CONFIG :: HKEY | Source

hKEY_CURRENT_USER :: HKEY | Source

hKEY_LOCAL_MACHINE :: HKEY | Source

hKEY_USERS :: HKEY | Source

regCloseKey :: HKEY -> IO () | Source

c_RegCloseKey :: PKEY -> IO ErrCode | Source

regConnectRegistry :: Maybe String -> HKEY -> IO HKEY | Source

c_RegConnectRegistry :: LPCTSTR -> PKEY -> Ptr PKEY -> IO ErrCode | Source

regCreateKey :: HKEY -> String -> IO HKEY | Source

c_RegCreateKey :: PKEY -> LPCTSTR -> Ptr PKEY -> IO ErrCode | Source

type RegCreateOptions = DWORD | Source

rEG_OPTION_NON_VOLATILE :: RegCreateOptions | Source

rEG_OPTION_VOLATILE :: RegCreateOptions | Source

type REGSAM = Word32 | Source

kEY_ALL_ACCESS :: REGSAM | Source

kEY_CREATE_LINK :: REGSAM | Source

kEY_CREATE_SUB_KEY :: REGSAM | Source

kEY_ENUMERATE_SUB_KEYS :: REGSAM | Source

kEY_EXECUTE :: REGSAM | Source

kEY_NOTIFY :: REGSAM | Source

kEY_QUERY_VALUE :: REGSAM | Source

kEY_READ :: REGSAM | Source

kEY_SET_VALUE :: REGSAM | Source

kEY_WRITE :: 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

regDeleteKey :: HKEY -> String -> IO () | Source

c_RegDeleteKey :: PKEY -> LPCTSTR -> IO ErrCode | Source

regDeleteValue :: HKEY -> String -> IO () | Source

c_RegDeleteValue :: PKEY -> LPCTSTR -> IO ErrCode | Source

regEnumKeys :: HKEY -> IO [String] | Source

regEnumKeyVals :: HKEY -> IO [(String, String, RegValueType)] | Source

regEnumKey :: HKEY -> DWORD -> LPTSTR -> DWORD -> IO (String, Int) | Source

c_RegEnumKey :: PKEY -> DWORD -> LPTSTR -> DWORD -> IO ErrCode | 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

eRROR_NO_MORE_ITEMS :: ErrCode | Source

regFlushKey :: HKEY -> IO () | Source

c_RegFlushKey :: PKEY -> IO ErrCode | Source

regLoadKey :: HKEY -> String -> String -> IO () | Source

c_RegLoadKey :: PKEY -> LPCTSTR -> LPCTSTR -> IO ErrCode | Source

type RegNotifyOptions = DWORD | Source

rEG_NOTIFY_CHANGE_NAME :: RegNotifyOptions | Source

rEG_NOTIFY_CHANGE_ATTRIBUTES :: RegNotifyOptions | Source

rEG_NOTIFY_CHANGE_LAST_SET :: RegNotifyOptions | Source

rEG_NOTIFY_CHANGE_SECURITY :: RegNotifyOptions | Source

regNotifyChangeKeyValue :: HKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO () | Source

c_RegNotifyChangeKeyValue :: PKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ErrCode | Source

regOpenKey :: HKEY -> String -> IO HKEY | Source

c_RegOpenKey :: PKEY -> LPCTSTR -> Ptr PKEY -> IO ErrCode | Source

regOpenKeyEx :: HKEY -> String -> REGSAM -> IO HKEY | Source

c_RegOpenKeyEx :: PKEY -> LPCTSTR -> DWORD -> REGSAM -> Ptr PKEY -> IO ErrCode | Source

data RegInfoKey | Source

Constructors

RegInfoKey |

class_string :: String |
class_id :: Int |
subkeys :: Word32 |
max_subkey_len :: Word32 |
max_class_len :: Word32 |
values :: Word32 |
max_value_name_len :: Word32 |
max_value_len :: Word32 |
sec_len :: Int |
lastWrite_lo :: Word32 |
lastWrite_hi :: Word32 |

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

regQueryValueKey :: HKEY -> Maybe String -> IO String | Source

c_RegQueryValue :: PKEY -> LPCTSTR -> LPTSTR -> Ptr LONG -> IO ErrCode | Source

regQueryValue :: HKEY -> Maybe String -> IO String | Source

regQueryValueEx :: HKEY -> String -> LPBYTE -> Int -> IO RegValueType | Source

c_RegQueryValueEx :: PKEY -> LPCTSTR -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCode | Source

regReplaceKey :: HKEY -> String -> String -> String -> IO () | Source

c_RegReplaceKey :: PKEY -> LPCTSTR -> LPCTSTR -> LPCTSTR -> IO ErrCode | Source

type RegRestoreFlags = DWORD | Source

rEG_WHOLE_HIVE_VOLATILE :: RegRestoreFlags | Source

rEG_REFRESH_HIVE :: RegRestoreFlags | Source

rEG_NO_LAZY_FLUSH :: RegRestoreFlags | 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

regSetValue :: HKEY -> String -> String -> IO () | Source

c_RegSetValue :: PKEY -> LPCTSTR -> DWORD -> LPCTSTR -> Int -> IO ErrCode | Source

type RegValueType = DWORD | Source

rEG_BINARY :: RegValueType | Source

rEG_DWORD :: RegValueType | Source

rEG_DWORD_LITTLE_ENDIAN :: RegValueType | Source

rEG_DWORD_BIG_ENDIAN :: RegValueType | Source

rEG_EXPAND_SZ :: RegValueType | Source

rEG_LINK :: RegValueType | Source

rEG_MULTI_SZ :: RegValueType | Source

rEG_NONE :: RegValueType | Source

rEG_RESOURCE_LIST :: RegValueType | Source

rEG_SZ :: RegValueType | Source

regSetStringValue :: HKEY -> String -> String -> IO () | 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

c_RegUnLoadKey :: PKEY -> LPCTSTR -> IO ErrCode | Source

Produced by Haddock version 0.8