ReactOS 0.4.16-dev-550-g2186ce3
|
#include <RegistryKey.h>
Public Member Functions | |
STDMETHODIMP | QueryInterface (REFIID InterfaceId, PVOID *Interface) |
CRegistryKey (IUnknown *OuterUnknown, HANDLE hKey, BOOL CanDelete) | |
virtual | ~CRegistryKey () |
CRegistryKey () | |
HRESULT | InitRoot (const TCHAR *pszMachineName=NULL) |
HRESULT | Init (HKEY hKey, const TCHAR *pszPath, const TCHAR *pszKeyName, REGSAM CurrentAccess) |
HRESULT | Uninit () |
virtual | ~CRegistryKey () |
const TCHAR * | GetKeyName () |
BOOL | IsRoot () |
LONG | OpenSubkey (REGSAM samDesired, const TCHAR *pszSubkeyName, HKEY &rhKey) |
LONG | OpenSubkey (REGSAM samDesired, const TCHAR *pszSubkeyName, CRegistryKey &rKey) |
LONG | GetSubkeyNameMaxLength (DWORD &rdwMaxSubkeyNameLength) |
void | InitSubkeyEnumeration (TCHAR *pchSubkeyNameBuffer, DWORD dwBufferSize) |
LONG | GetNextSubkeyName (DWORD *pdwActualSize=NULL) |
LONG | GetSubkeyCount (DWORD &rdwSubkeyCount) |
LONG | GetMaxValueNameLength (DWORD &rdwMaxValueNameBufferSize) |
LONG | GetMaxValueDataSize (DWORD &rdwMaxValueDataBufferSize) |
void | InitValueEnumeration (TCHAR *pszValueNameBuffer, DWORD dwValueNameBufferSize, BYTE *pbValueDataBuffer, DWORD dwValueDataBufferSize, DWORD *pdwType) |
LONG | GetNextValue (DWORD *pdwNameActualSize=NULL, DWORD *pdwDataActualSize=NULL) |
LONG | GetValueCount (DWORD &rdwValueCount) |
LONG | GetDefaultValue (DWORD *pdwType, BYTE *pbValueDataBuffer, DWORD dwValueDataBufferSize, DWORD *pdwValueDataActualSize) |
DWORD | GetValue (TCHAR *pchValueName, DWORD *pdwType, LPBYTE lpValueDataBuffer, DWORD *pdwValueDataSize) |
LONG | CreateSubkey (REGSAM samDesired, const TCHAR *pszKeyName, HKEY &rhKey, BOOL *pblnOpened=NULL, BOOL blnVolatile=FALSE) |
LONG | GetLastWriteTime (SYSTEMTIME &st) |
const TCHAR * | GetLastWriteTime () |
LONG | DeleteValue (const TCHAR *pszValueName) |
LONG | DeleteSubkey (const TCHAR *pszPatternSubkeyName) |
LONG | SetValue (LPCTSTR pszValueName, DWORD dwType, BYTE *lpData, DWORD dwDataSize) |
TCHAR * | GetSubKeyNameByIndex (DWORD dwIndex) |
LONG | GetSecurityDescriptor (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, LPDWORD lpcbSecurityDescriptor) |
LONG | GetSecurityDescriptorLength (DWORD *pdwSecurityDescriptor) |
BOOL | IsPredefined () |
operator HKEY () | |
Public Member Functions inherited from CUnknownImpl< IRegistryKey > | |
STDMETHODIMP_ (ULONG) AddRef() | |
STDMETHODIMP_ (ULONG) Release() | |
Static Public Member Functions | |
static BOOL | IsHive (HKEY hKey) |
static const TCHAR * | GetValueTypeName (DWORD dwType) |
Public Attributes | |
IMP_IRegistryKey | |
Protected Attributes | |
HANDLE | m_hKey |
BOOL | m_Deleted |
BOOL | m_CanDelete |
Additional Inherited Members | |
Protected Member Functions inherited from CUnknownImpl< IRegistryKey > | |
CUnknownImpl () | |
virtual | ~CUnknownImpl () |
Definition at line 14 of file registry.cpp.
Definition at line 20 of file registry.cpp.
|
virtual |
CRegistryKey::CRegistryKey | ( | ) |
Definition at line 44 of file RegistryKey.cpp.
|
virtual |
LONG CRegistryKey::CreateSubkey | ( | REGSAM | samDesired, |
const TCHAR * | pszKeyName, | ||
HKEY & | rhKey, | ||
BOOL * | pblnOpened = NULL , |
||
BOOL | blnVolatile = FALSE |
||
) |
Definition at line 501 of file RegistryKey.cpp.
Referenced by CRegistryTree::NewKey().
Definition at line 562 of file RegistryKey.cpp.
Referenced by CRegistryTree::DeleteSubkeys().
Definition at line 572 of file RegistryKey.cpp.
LONG CRegistryKey::GetDefaultValue | ( | DWORD * | pdwType, |
BYTE * | pbValueDataBuffer, | ||
DWORD | dwValueDataBufferSize, | ||
DWORD * | pdwValueDataActualSize | ||
) |
Definition at line 450 of file RegistryKey.cpp.
Definition at line 156 of file RegistryKey.cpp.
Referenced by CRegistryTree::DeleteSubkeys(), CRegistryTree::GetCurrentPath(), CRegistryTree::GetKey(), and OpenSubkey().
Definition at line 540 of file RegistryKey.cpp.
Referenced by GetLastWriteTime().
LONG CRegistryKey::GetLastWriteTime | ( | SYSTEMTIME & | st | ) |
Definition at line 526 of file RegistryKey.cpp.
Definition at line 385 of file RegistryKey.cpp.
Definition at line 333 of file RegistryKey.cpp.
Referenced by CRegistryTree::DeleteSubkeys(), and CRegistryTree::InternalGetSubkey().
LONG CRegistryKey::GetNextValue | ( | DWORD * | pdwNameActualSize = NULL , |
DWORD * | pdwDataActualSize = NULL |
||
) |
Definition at line 416 of file RegistryKey.cpp.
LONG CRegistryKey::GetSecurityDescriptor | ( | SECURITY_INFORMATION | SecurityInformation, |
PSECURITY_DESCRIPTOR | pSecurityDescriptor, | ||
LPDWORD | lpcbSecurityDescriptor | ||
) |
Definition at line 557 of file RegistryKey.cpp.
Definition at line 300 of file RegistryKey.cpp.
Referenced by CRegistryTree::DeleteSubkeys(), and CRegistryTree::InternalGetSubkey().
DWORD CRegistryKey::GetValue | ( | TCHAR * | pchValueName, |
DWORD * | pdwType, | ||
LPBYTE | lpValueDataBuffer, | ||
DWORD * | pdwValueDataSize | ||
) |
Definition at line 496 of file RegistryKey.cpp.
Definition at line 465 of file RegistryKey.cpp.
Referenced by CShellCommandDir::Execute(), and CShellCommandValue::Execute().
HRESULT CRegistryKey::Init | ( | HKEY | hKey, |
const TCHAR * | pszPath, | ||
const TCHAR * | pszKeyName, | ||
REGSAM | CurrentAccess | ||
) |
Definition at line 91 of file RegistryKey.cpp.
Referenced by CRegistryTree::InternalGetSubkey(), and OpenSubkey().
Definition at line 52 of file RegistryKey.cpp.
Referenced by CRegistryTree::CRegistryTree(), CRegistryTree::GetKey(), and CRegistryTree::SetMachineName().
Definition at line 326 of file RegistryKey.cpp.
Referenced by CRegistryTree::DeleteSubkeys(), and CRegistryTree::InternalGetSubkey().
void CRegistryKey::InitValueEnumeration | ( | TCHAR * | pszValueNameBuffer, |
DWORD | dwValueNameBufferSize, | ||
BYTE * | pbValueDataBuffer, | ||
DWORD | dwValueDataBufferSize, | ||
DWORD * | pdwType | ||
) |
Definition at line 398 of file RegistryKey.cpp.
BOOL CRegistryKey::IsPredefined | ( | ) |
BOOL CRegistryKey::IsRoot | ( | ) |
Definition at line 161 of file RegistryKey.cpp.
Referenced by CRegistryTree::CRegistryTree(), CRegistryTree::GetKey(), CRegistryTree::GotoRoot(), CRegistryTree::InternalChangeCurrentKey(), CRegistryTree::IsCurrentRoot(), and CRegistryTree::~CRegistryTree().
LONG CRegistryKey::OpenSubkey | ( | REGSAM | samDesired, |
const TCHAR * | pszSubkeyName, | ||
CRegistryKey & | rKey | ||
) |
Definition at line 266 of file RegistryKey.cpp.
Definition at line 166 of file RegistryKey.cpp.
Referenced by CRegistryTree::DeleteSubkeys(), CRegistryTree::InternalGetSubkey(), and OpenSubkey().
|
inline |
Definition at line 239 of file RegistryKey.h.
Definition at line 46 of file registry.cpp.
Referenced by PcNewRegistryKey().
Definition at line 567 of file RegistryKey.cpp.
HRESULT CRegistryKey::Uninit | ( | ) |
Definition at line 117 of file RegistryKey.cpp.
Referenced by Init(), and InitRoot().
CRegistryKey::IMP_IRegistryKey |
Definition at line 19 of file registry.cpp.
|
protected |
Definition at line 32 of file registry.cpp.
|
private |
Definition at line 255 of file RegistryKey.h.
Referenced by CRegistryKey(), Init(), and InitRoot().
|
protected |
Definition at line 31 of file registry.cpp.
Referenced by ~CRegistryKey().
|
private |
Definition at line 241 of file RegistryKey.h.
Referenced by GetNextSubkeyName(), and InitSubkeyEnumeration().
|
private |
Definition at line 245 of file RegistryKey.h.
Referenced by GetNextValue(), and InitValueEnumeration().
|
private |
Definition at line 243 of file RegistryKey.h.
Referenced by GetNextSubkeyName(), and InitSubkeyEnumeration().
|
private |
Definition at line 249 of file RegistryKey.h.
Referenced by GetNextValue(), and InitValueEnumeration().
|
private |
Definition at line 247 of file RegistryKey.h.
Referenced by GetNextValue(), and InitValueEnumeration().
|
protected |
Definition at line 30 of file registry.cpp.
Referenced by CreateSubkey(), CRegistryKey(), DeleteSubkey(), DeleteValue(), GetDefaultValue(), GetLastWriteTime(), GetMaxValueDataSize(), GetMaxValueNameLength(), GetNextSubkeyName(), GetNextValue(), GetSecurityDescriptor(), GetSecurityDescriptorLength(), GetSubkeyCount(), GetSubkeyNameMaxLength(), GetValue(), GetValueCount(), Init(), InitRoot(), IsRoot(), OpenSubkey(), operator HKEY(), SetValue(), Uninit(), and ~CRegistryKey().
|
private |
Definition at line 252 of file RegistryKey.h.
|
private |
Definition at line 248 of file RegistryKey.h.
Referenced by GetNextValue(), and InitValueEnumeration().
|
private |
Definition at line 242 of file RegistryKey.h.
Referenced by GetNextSubkeyName(), and InitSubkeyEnumeration().
|
private |
Definition at line 250 of file RegistryKey.h.
Referenced by GetNextValue(), and InitValueEnumeration().
|
private |
Definition at line 253 of file RegistryKey.h.
Referenced by CRegistryKey(), GetKeyName(), Init(), InitRoot(), and Uninit().
|
private |
Definition at line 254 of file RegistryKey.h.
Referenced by CRegistryKey(), GetKeyName(), GetNextSubkeyName(), InitRoot(), OpenSubkey(), and Uninit().
|
private |
Definition at line 246 of file RegistryKey.h.
Referenced by GetNextValue(), and InitValueEnumeration().