Win32-2.2.0.0: A binding to part of the Win32 librarySource codeContentsIndex
System.Win32.Registry
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for accessing the Win32 registry.
Documentation
hKEY_CLASSES_ROOT :: HKEYSource
hKEY_CURRENT_CONFIG :: HKEYSource
hKEY_CURRENT_USER :: HKEYSource
hKEY_LOCAL_MACHINE :: HKEYSource
hKEY_USERS :: HKEYSource
regCloseKey :: HKEY -> IO ()Source
c_RegCloseKey :: PKEY -> IO ErrCodeSource
regConnectRegistry :: Maybe String -> HKEY -> IO HKEYSource
c_RegConnectRegistry :: LPCTSTR -> PKEY -> Ptr PKEY -> IO ErrCodeSource
regCreateKey :: HKEY -> String -> IO HKEYSource
c_RegCreateKey :: PKEY -> LPCTSTR -> Ptr PKEY -> IO ErrCodeSource
type RegCreateOptions = DWORDSource
rEG_OPTION_NON_VOLATILE :: RegCreateOptionsSource
rEG_OPTION_VOLATILE :: RegCreateOptionsSource
type REGSAM = Word32Source
kEY_ALL_ACCESS :: REGSAMSource
kEY_CREATE_LINK :: REGSAMSource
kEY_CREATE_SUB_KEY :: REGSAMSource
kEY_ENUMERATE_SUB_KEYS :: REGSAMSource
kEY_EXECUTE :: REGSAMSource
kEY_NOTIFY :: REGSAMSource
kEY_QUERY_VALUE :: REGSAMSource
regCreateKeyEx :: HKEY -> String -> String -> RegCreateOptions -> REGSAM -> Maybe LPSECURITY_ATTRIBUTES -> IO (HKEY, Bool)Source
kEY_READ :: REGSAMSource
kEY_SET_VALUE :: REGSAMSource
kEY_WRITE :: REGSAMSource
c_RegCreateKeyEx :: PKEY -> LPCTSTR -> DWORD -> LPCTSTR -> RegCreateOptions -> REGSAM -> LPSECURITY_ATTRIBUTES -> Ptr PKEY -> Ptr DWORD -> IO ErrCodeSource
regDeleteKey :: HKEY -> String -> IO ()Source
c_RegDeleteKey :: PKEY -> LPCTSTR -> IO ErrCodeSource
regDeleteValue :: HKEY -> String -> IO ()Source
c_RegDeleteValue :: PKEY -> LPCTSTR -> IO ErrCodeSource
mallocWideChars :: Int -> IO (Ptr a)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 ErrCodeSource
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 ErrCodeSource
eRROR_NO_MORE_ITEMS :: ErrCodeSource
regFlushKey :: HKEY -> IO ()Source
c_RegFlushKey :: PKEY -> IO ErrCodeSource
regLoadKey :: HKEY -> String -> String -> IO ()Source
c_RegLoadKey :: PKEY -> LPCTSTR -> LPCTSTR -> IO ErrCodeSource
type RegNotifyOptions = DWORDSource
rEG_NOTIFY_CHANGE_NAME :: RegNotifyOptionsSource
rEG_NOTIFY_CHANGE_ATTRIBUTES :: RegNotifyOptionsSource
rEG_NOTIFY_CHANGE_LAST_SET :: RegNotifyOptionsSource
rEG_NOTIFY_CHANGE_SECURITY :: RegNotifyOptionsSource
regNotifyChangeKeyValue :: HKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ()Source
c_RegNotifyChangeKeyValue :: PKEY -> Bool -> RegNotifyOptions -> HANDLE -> Bool -> IO ErrCodeSource
regOpenKey :: HKEY -> String -> IO HKEYSource
c_RegOpenKey :: PKEY -> LPCTSTR -> Ptr PKEY -> IO ErrCodeSource
regOpenKeyEx :: HKEY -> String -> REGSAM -> IO HKEYSource
c_RegOpenKeyEx :: PKEY -> LPCTSTR -> DWORD -> REGSAM -> Ptr PKEY -> IO ErrCodeSource
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 RegInfoKeySource
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 ErrCodeSource
regQueryValueKey :: HKEY -> Maybe String -> IO StringSource
c_RegQueryValue :: PKEY -> LPCTSTR -> LPTSTR -> Ptr LONG -> IO ErrCodeSource
regQueryValue :: HKEY -> Maybe String -> IO StringSource
regQueryValueEx :: HKEY -> String -> LPBYTE -> Int -> IO RegValueTypeSource
c_RegQueryValueEx :: PKEY -> LPCTSTR -> Ptr DWORD -> Ptr DWORD -> LPBYTE -> Ptr DWORD -> IO ErrCodeSource
regReplaceKey :: HKEY -> String -> String -> String -> IO ()Source
c_RegReplaceKey :: PKEY -> LPCTSTR -> LPCTSTR -> LPCTSTR -> IO ErrCodeSource
type RegRestoreFlags = DWORDSource
rEG_WHOLE_HIVE_VOLATILE :: RegRestoreFlagsSource
rEG_REFRESH_HIVE :: RegRestoreFlagsSource
rEG_NO_LAZY_FLUSH :: RegRestoreFlagsSource
regRestoreKey :: HKEY -> String -> RegRestoreFlags -> IO ()Source
c_RegRestoreKey :: PKEY -> LPCTSTR -> RegRestoreFlags -> IO ErrCodeSource
regSaveKey :: HKEY -> String -> Maybe LPSECURITY_ATTRIBUTES -> IO ()Source
c_RegSaveKey :: PKEY -> LPCTSTR -> LPSECURITY_ATTRIBUTES -> IO ErrCodeSource
regSetValue :: HKEY -> String -> String -> IO ()Source
c_RegSetValue :: PKEY -> LPCTSTR -> DWORD -> LPCTSTR -> Int -> IO ErrCodeSource
type RegValueType = DWORDSource
rEG_BINARY :: RegValueTypeSource
rEG_DWORD :: RegValueTypeSource
rEG_DWORD_LITTLE_ENDIAN :: RegValueTypeSource
rEG_DWORD_BIG_ENDIAN :: RegValueTypeSource
rEG_EXPAND_SZ :: RegValueTypeSource
rEG_LINK :: RegValueTypeSource
rEG_MULTI_SZ :: RegValueTypeSource
rEG_NONE :: RegValueTypeSource
rEG_RESOURCE_LIST :: RegValueTypeSource
regSetStringValue :: HKEY -> String -> String -> IO ()Source
rEG_SZ :: RegValueTypeSource
regSetValueEx :: HKEY -> String -> RegValueType -> LPTSTR -> Int -> IO ()Source
c_RegSetValueEx :: PKEY -> LPCTSTR -> DWORD -> RegValueType -> LPTSTR -> Int -> IO ErrCodeSource
regUnLoadKey :: HKEY -> String -> IO ()Source
c_RegUnLoadKey :: PKEY -> LPCTSTR -> IO ErrCodeSource
Produced by Haddock version 2.4.2