Remove unused function from regedit/treeview.c.

This commit is contained in:
Vincent Béron 2005-09-29 10:33:34 +00:00 committed by Alexandre Julliard
parent a0c185ee1b
commit 6e7cf127db
1 changed files with 0 additions and 13 deletions

View File

@ -124,19 +124,6 @@ static LPTSTR get_path_component(LPCTSTR *lplpKeyName) {
return lpResult; return lpResult;
} }
#define CHECK_PAIR(name) \
if (!_tcsicmp(lpKeyName, _T(#name))) return name;
static HKEY get_predefined_key(LPCTSTR lpKeyName) {
CHECK_PAIR(HKEY_CLASSES_ROOT)
CHECK_PAIR(HKEY_CURRENT_USER)
CHECK_PAIR(HKEY_LOCAL_MACHINE)
CHECK_PAIR(HKEY_USERS)
CHECK_PAIR(HKEY_DYN_DATA)
CHECK_PAIR(HKEY_PERFORMANCE_DATA)
return NULL;
}
HTREEITEM FindPathInTree(HWND hwndTV, LPCTSTR lpKeyName) { HTREEITEM FindPathInTree(HWND hwndTV, LPCTSTR lpKeyName) {
TVITEMEX tvi; TVITEMEX tvi;
TCHAR buf[261]; /* tree view has 260 character limitation on item name */ TCHAR buf[261]; /* tree view has 260 character limitation on item name */