ReactOS
0.4.15-dev-5606-gf34e425
|
#include <RegistryTree.h>
Classes | |
class | CNode |
Public Member Functions | |
CRegistryTree () | |
virtual | ~CRegistryTree () |
const TCHAR * | GetLastErrorDescription () |
const TCHAR * | GetCurrentPath () const |
BOOL | IsCurrentRoot () |
BOOL | ChangeCurrentKey (const TCHAR *pchRelativePath) |
BOOL | GetKey (const TCHAR *pchRelativePath, REGSAM DesiredAccess, CRegistryKey &rKey) |
BOOL | DeleteSubkeys (const TCHAR *pszKeyPattern, const TCHAR *pszPath, BOOL blnRecursive=FALSE) |
BOOL | NewKey (const TCHAR *pszKeyName, const TCHAR *pszPath, BOOL blnVolatile=FALSE) |
BOOL | SetMachineName (LPCTSTR pszMachineName) |
Private Member Functions | |
CRegistryTree (const CRegistryTree &Tree) | |
const TCHAR * | GetErrorDescription (LONG nError) |
void | SetError (LONG nError) |
void | SetError (const TCHAR *pszFormat,...) |
void | SetErrorCommandNAOnRoot (const TCHAR *pszCommand) |
void | SetInternalError () |
void | AddErrorDescription (const TCHAR *pszFormat,...) |
BOOL | InternalChangeCurrentKey (const TCHAR *pszSubkeyName, REGSAM DesiredAccess) |
BOOL | InternalGetSubkey (const TCHAR *pszSubkeyName, REGSAM DesiredAccess, CRegistryKey &rKey) |
void | GotoRoot () |
BOOL | DeleteSubkeys (CRegistryKey &rKey, const TCHAR *pszKeyPattern, BOOL blnRecursive) |
Private Attributes | |
class CRegistryTree::CNode | m_Root |
CNode * | m_pCurrentKey |
TCHAR | m_ErrorMsg [ERROR_MSG_BUFFER_SIZE+1] |
LPTSTR | m_pszMachineName |
Definition at line 14 of file RegistryTree.h.
CRegistryTree::CRegistryTree | ( | ) |
Definition at line 29 of file RegistryTree.cpp.
|
virtual |
Definition at line 63 of file RegistryTree.cpp.
|
private |
Definition at line 39 of file RegistryTree.cpp.
Definition at line 368 of file RegistryTree.cpp.
Referenced by DeleteSubkeys().
Definition at line 91 of file RegistryTree.cpp.
Referenced by CRegistryTree(), CShellCommandChangeKey::Execute(), CShellCommandConnect::Execute(), GetKey(), main(), and NewKey().
BOOL CRegistryTree::DeleteSubkeys | ( | const TCHAR * | pszKeyPattern, |
const TCHAR * | pszPath, | ||
BOOL | blnRecursive = FALSE |
||
) |
Definition at line 262 of file RegistryTree.cpp.
Referenced by DeleteSubkeys(), and CShellCommandDeleteKey::Execute().
|
private |
Definition at line 271 of file RegistryTree.cpp.
Definition at line 81 of file RegistryTree.cpp.
Referenced by CRegistryTree(), InternalChangeCurrentKey(), InternalGetSubkey(), CCompletionList::IsNewCompletion(), NewKey(), and CPrompt::ShowPrompt().
Definition at line 332 of file RegistryTree.cpp.
Referenced by DeleteSubkeys(), GetKey(), InternalChangeCurrentKey(), InternalGetSubkey(), NewKey(), and SetError().
BOOL CRegistryTree::GetKey | ( | const TCHAR * | pchRelativePath, |
REGSAM | DesiredAccess, | ||
CRegistryKey & | rKey | ||
) |
Definition at line 548 of file RegistryTree.cpp.
Referenced by DeleteSubkeys(), CShellCommandValue::Execute(), CShellCommandDeleteValue::Execute(), CShellCommandSACL::Execute(), CShellCommandOwner::Execute(), CShellCommandDir::Execute(), CShellCommandSetValue::Execute(), CShellCommandDACL::Execute(), and FillCompletion().
Definition at line 151 of file RegistryTree.cpp.
Referenced by CShellCommandChangeKey::Execute(), CShellCommandValue::Execute(), CShellCommandConnect::Execute(), CShellCommandSACL::Execute(), CShellCommandOwner::Execute(), CShellCommandDir::Execute(), CShellCommandNewKey::Execute(), CShellCommandDeleteValue::Execute(), CShellCommandSetValue::Execute(), CShellCommandDACL::Execute(), CShellCommandDeleteKey::Execute(), GetKey(), and NewKey().
|
private |
Definition at line 156 of file RegistryTree.cpp.
Referenced by ChangeCurrentKey(), and SetMachineName().
|
private |
Definition at line 392 of file RegistryTree.cpp.
Referenced by ChangeCurrentKey(), and GetKey().
|
private |
Definition at line 463 of file RegistryTree.cpp.
Referenced by GetKey(), and InternalChangeCurrentKey().
BOOL CRegistryTree::IsCurrentRoot | ( | ) |
Definition at line 86 of file RegistryTree.cpp.
BOOL CRegistryTree::NewKey | ( | const TCHAR * | pszKeyName, |
const TCHAR * | pszPath, | ||
BOOL | blnVolatile = FALSE |
||
) |
Definition at line 216 of file RegistryTree.cpp.
Referenced by CShellCommandNewKey::Execute().
Definition at line 349 of file RegistryTree.cpp.
Referenced by ChangeCurrentKey(), DeleteSubkeys(), GetKey(), InternalChangeCurrentKey(), InternalGetSubkey(), NewKey(), SetErrorCommandNAOnRoot(), SetInternalError(), and SetMachineName().
Definition at line 354 of file RegistryTree.cpp.
|
private |
Definition at line 363 of file RegistryTree.cpp.
Referenced by GetKey(), InternalChangeCurrentKey(), and SetErrorCommandNAOnRoot().
Definition at line 172 of file RegistryTree.cpp.
Referenced by CRegistryTree(), and CShellCommandConnect::Execute().
|
private |
Definition at line 111 of file RegistryTree.h.
Referenced by AddErrorDescription(), CRegistryTree(), GetLastErrorDescription(), and SetError().
|
private |
Definition at line 110 of file RegistryTree.h.
Referenced by CRegistryTree(), GetCurrentPath(), GetKey(), GotoRoot(), InternalChangeCurrentKey(), InternalGetSubkey(), IsCurrentRoot(), NewKey(), and ~CRegistryTree().
|
private |
Definition at line 112 of file RegistryTree.h.
Referenced by CRegistryTree(), GetKey(), SetMachineName(), and ~CRegistryTree().
|
private |
Referenced by CRegistryTree(), GotoRoot(), SetMachineName(), and ~CRegistryTree().