mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 04:26:32 +00:00
Little editing
svn path=/trunk/; revision=525
This commit is contained in:
parent
6709ff7e24
commit
da7f2bf2b2
1 changed files with 11 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: regnav.c,v 1.1 1999/05/16 17:23:22 ea Exp $
|
||||
/* $Id: regnav.c,v 1.2 1999/05/28 19:49:46 ea Exp $
|
||||
*
|
||||
* regnav.c
|
||||
*
|
||||
|
@ -36,16 +36,16 @@
|
|||
#define COMMAND_NOT_FOUND NULL
|
||||
#define CURRENT_PATH_SIZE 1024
|
||||
|
||||
LPCTSTR STR_HKEY_CLASSES_ROOT = _TEXT("HKEY_CLASSES_ROOT");
|
||||
LPCTSTR STR_HKEY_CURRENT_USER = _TEXT("HKEY_CURRENT_USER");
|
||||
LPCTSTR STR_HKEY_LOCAL_MACHINE = _TEXT("HKEY_LOCAL_MACHINE");
|
||||
LPCTSTR STR_HKEY_USERS = _TEXT("HKEY_USERS");
|
||||
LPCTSTR STR_HKEY_CURRENT_CONFIG = _TEXT("HKEY_CURRENT_CONFIG");
|
||||
LPCTSTR STR_HKEY_DYN_DATA = _TEXT("HKEY_DYN_DATA");
|
||||
LPCTSTR STR_HKEY_CLASSES_ROOT = _TEXT("HKEY_CLASSES_ROOT");
|
||||
LPCTSTR STR_HKEY_CURRENT_USER = _TEXT("HKEY_CURRENT_USER");
|
||||
LPCTSTR STR_HKEY_LOCAL_MACHINE = _TEXT("HKEY_LOCAL_MACHINE");
|
||||
LPCTSTR STR_HKEY_USERS = _TEXT("HKEY_USERS");
|
||||
LPCTSTR STR_HKEY_CURRENT_CONFIG = _TEXT("HKEY_CURRENT_CONFIG");
|
||||
LPCTSTR STR_HKEY_PERFORMANCE_DATA = _TEXT("HKEY_PERFORMANCE_DATA");
|
||||
|
||||
|
||||
LPTSTR app_name = _TEXT("regnav");
|
||||
LPCTSTR app_ver = _TEXT("1.0.3");
|
||||
LPCTSTR app_ver = _TEXT("1.0.4");
|
||||
HANDLE CurrentWorkingKey = INVALID_HANDLE_VALUE; /* \ */
|
||||
TCHAR CurrentPath [CURRENT_PATH_SIZE] = _TEXT("\\");
|
||||
BOOL Done = FALSE;
|
||||
|
@ -222,9 +222,9 @@ ParseKeyName(
|
|||
{
|
||||
k->Hive = HKEY_CURRENT_CONFIG;
|
||||
}
|
||||
else if (0 == lstrcmpi(STR_HKEY_DYN_DATA, SystemKey))
|
||||
else if (0 == lstrcmpi(STR_HKEY_PERFORMANCE_DATA, SystemKey))
|
||||
{
|
||||
k->Hive = HKEY_DYN_DATA;
|
||||
k->Hive = HKEY_PERFORMANCE_DATA;
|
||||
}
|
||||
/* SUBKEY */
|
||||
if (*r == _TEXT('\\')) ++r;
|
||||
|
@ -388,7 +388,7 @@ CMDPROTO(cmd_ls)
|
|||
);
|
||||
_tprintf(
|
||||
_TEXT("%s\\\n"),
|
||||
STR_HKEY_DYN_DATA
|
||||
STR_HKEY_PERFORMANCE_DATA
|
||||
);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue