Win32-2.14.1.0: A binding to Windows Win32 API.
Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

System.Win32.Registry

Description

A collection of FFI declarations for accessing the Win32 registry.

Synopsis

HKEY

Creation options

REGSAM

type REGSAM = Word32 Source #

Registry operations

regCloseKey :: HKEY -> IO () Source #

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

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

regCreateKeyEx :: HKEY -> String -> Maybe String -> RegCreateOptions -> REGSAM -> Maybe LPSECURITY_ATTRIBUTES -> IO (HKEY, Bool) Source #

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

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

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

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

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

regEnumValue :: HKEY -> DWORD -> LPTSTR -> DWORD -> LPBYTE -> DWORD -> IO (RegValueType, String, Int) Source #

regFlushKey :: HKEY -> IO () Source #

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

regUnLoadKey :: HKEY -> String -> IO () Source #

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

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

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

data RegInfoKey Source #

Constructors

RegInfoKey 

Fields

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

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

Deprecated: Use regQueryValue instead.

regQueryDefaultValue :: HKEY -> String -> IO String Source #

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

regReplaceKey :: HKEY -> Maybe String -> String -> String -> IO () Source #

regRestoreKey :: HKEY -> String -> RegRestoreFlags -> IO () Source #

regSaveKey :: HKEY -> String -> Maybe LPSECURITY_ATTRIBUTES -> IO () Source #

regGetValue :: HKEY -> Maybe String -> Maybe String -> RegTypeRestriction -> Maybe LPDWORD -> Maybe LPVOID -> Maybe LPDWORD -> IO () Source #

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

regSetValueEx :: HKEY -> String -> RegValueType -> LPTSTR -> Int -> IO () Source #

regSetStringValue :: HKEY -> String -> String -> IO () Source #