OWLNext 7.0
Borland's Object Windows Library for the modern age
|
delay loading SHLWAPI.DLL More...
#include <owl/shelwapi.h>
Static Public Member Functions | |
static DWORD | DeleteEmptyKey (HKEY hkey, LPCTSTR pszSubKey) |
DeleteEmptyKey mimics RegDeleteKey as it behaves on NT - delete the subkey only if it does not contain any subkeys and values. | |
static DWORD | DeleteKey (HKEY hkey, LPCTSTR pszSubKey) |
DeleteKey mimics RegDeleteKey as it behaves on Win95 - deletes a subkey and all its values and descendants. | |
static HKEY | DuplicateKey (HKEY hkey) |
Duplicates a registry key's HKEY handle. | |
static DWORD | DeleteValue (HKEY hkey, LPCTSTR pszSubKey, LPCTSTR pszValue) |
These functions open the key, get/set/delete the value, then close the key. | |
static DWORD | GetValue (HKEY hkey, LPCTSTR pszSubKey, LPCTSTR pszValue, LPDWORD pdwType, LPVOID pvData, LPDWORD pcbData) |
static DWORD | SetValue (HKEY hkey, LPCTSTR pszSubKey, LPCTSTR pszValue, DWORD dwType, LPCVOID pvData, DWORD cbData) |
static DWORD | QueryValueEx (HKEY hkey, LPCTSTR pszValue, LPDWORD pdwReserved, LPDWORD pdwType, LPVOID pvData, LPDWORD pcbData) |
This functions work just like RegQueryValueEx, except if the data type is REG_EXPAND_SZ, then these will go ahead and expand out the string. | |
static LONG | EnumKeyEx (HKEY hkey, DWORD dwIndex, TCHAR *pszName, LPDWORD pcchName) |
Enumerates the subkeys of the specified open registry key. | |
static LONG | EnumValue (HKEY hkey, DWORD dwIndex, TCHAR *pszValueName, LPDWORD pcchValueName, LPDWORD pdwType, LPVOID pvData, LPDWORD pcbData) |
Enumerates the values of the specified open registry key. | |
static LONG | QueryInfoKey (HKEY hkey, LPDWORD pcSubKeys, LPDWORD pcchMaxSubKeyLen, LPDWORD pcValues, LPDWORD pcchMaxValueNameLen) |
Retrieves information about a specified registry key. | |
static DWORD | CopyKey (HKEY hkeySrc, LPCTSTR szSrcSubKey, HKEY hkeyDest, DWORD fReserved) |
Recursively copies the subkeys and values of the source subkey to the destination key. | |
static DWORD | RegGetPath (HKEY hkey, LPCTSTR pcszSubKey, LPCTSTR pcszValue, TCHAR *pszPath, DWORD dwFlags) |
Retrieves a file path from the registry, expanding environment variables as needed. | |
static DWORD | RegSetPath (HKEY hkey, LPCTSTR pcszSubKey, LPCTSTR pcszValue, LPCTSTR pcszPath, DWORD dwFlags) |
Takes a file path, replaces folder names with environment strings, and places the resulting string in the registry. | |
static TModule & | GetModule () |
delay loading SHLWAPI.DLL
Definition at line 35 of file shelwapi.h.
|
static |
Recursively copies the subkeys and values of the source subkey to the destination key.
Definition at line 145 of file shelwapi.cpp.
References GetModule().
DeleteEmptyKey mimics RegDeleteKey as it behaves on NT - delete the subkey only if it does not contain any subkeys and values.
Definition at line 64 of file shelwapi.cpp.
References GetModule().
DeleteKey mimics RegDeleteKey as it behaves on Win95 - deletes a subkey and all its values and descendants.
Definition at line 72 of file shelwapi.cpp.
References GetModule().
These functions open the key, get/set/delete the value, then close the key.
Definition at line 88 of file shelwapi.cpp.
References GetModule().
Duplicates a registry key's HKEY handle.
Definition at line 80 of file shelwapi.cpp.
References GetModule().
Enumerates the subkeys of the specified open registry key.
Definition at line 120 of file shelwapi.cpp.
References GetModule().
|
static |
Enumerates the values of the specified open registry key.
Definition at line 128 of file shelwapi.cpp.
References GetModule().
|
static |
Definition at line 57 of file shelwapi.cpp.
|
static |
Definition at line 96 of file shelwapi.cpp.
References GetModule().
|
static |
Retrieves information about a specified registry key.
Definition at line 136 of file shelwapi.cpp.
References GetModule().
|
static |
This functions work just like RegQueryValueEx, except if the data type is REG_EXPAND_SZ, then these will go ahead and expand out the string.
*pdwType will always be massaged to REG_SZ if this happens. REG_SZ values are also guaranteed to be null terminated.
Definition at line 112 of file shelwapi.cpp.
References GetModule().
|
static |
Retrieves a file path from the registry, expanding environment variables as needed.
Definition at line 154 of file shelwapi.cpp.
References GetModule().
|
static |
Takes a file path, replaces folder names with environment strings, and places the resulting string in the registry.
Definition at line 162 of file shelwapi.cpp.
References GetModule().
|
static |
Definition at line 104 of file shelwapi.cpp.
References GetModule().