libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::NTUtils::RegistryKey Class Reference

#include <RegistryKey.hpp>

Inherits non_copyable.

Public Types

typedef win_exception exception_type
 

Public Member Functions

__stdcall RegistryKey ()
 
__stdcall RegistryKey (HKEY p, const tstring &n)
 
__stdcall ~RegistryKey ()
 
long __fastcall Create (HKEY p, const tstring &n)
 
long __fastcall Open (HKEY parent, const tstring &n)
 
long __fastcall SetValue (const tstring &val, const tstring &key_name)
 
long __fastcall SetValue (const tstring &val, const tstring &key_name, const DWORD type)
 
long __fastcall SetValue (const unsigned long val, const tstring &key_name)
 
HKEY __fastcall hkey () noexcept(true)
 

Detailed Description

Definition at line 32 of file RegistryKey.hpp.

Member Typedef Documentation

◆ exception_type

Definition at line 34 of file RegistryKey.hpp.

Constructor & Destructor Documentation

◆ RegistryKey() [1/2]

jmmcg::NTUtils::RegistryKey::RegistryKey ( void  )
inline

Definition at line 54 of file RegistryKey.hpp.

◆ RegistryKey() [2/2]

jmmcg::NTUtils::RegistryKey::RegistryKey ( HKEY  p,
const tstring n 
)
inline

Definition at line 58 of file RegistryKey.hpp.

◆ ~RegistryKey()

RegistryKey::~RegistryKey ( void  )

Definition at line 49 of file RegistryKey.cpp.

Member Function Documentation

◆ Create()

long RegistryKey::Create ( HKEY  p,
const tstring n 
)
inline

Definition at line 58 of file RegistryKey.cpp.

◆ hkey()

HKEY jmmcg::NTUtils::RegistryKey::hkey ( )
inlinenoexcept

Definition at line 63 of file RegistryKey.hpp.

◆ Open()

long RegistryKey::Open ( HKEY  parent,
const tstring n 
)
inline

Definition at line 76 of file RegistryKey.cpp.

◆ SetValue() [1/3]

long RegistryKey::SetValue ( const tstring val,
const tstring key_name 
)
inline

Definition at line 94 of file RegistryKey.cpp.

◆ SetValue() [2/3]

long RegistryKey::SetValue ( const tstring val,
const tstring key_name,
const DWORD  type 
)
inline

Definition at line 105 of file RegistryKey.cpp.

◆ SetValue() [3/3]

long RegistryKey::SetValue ( const unsigned long  val,
const tstring key_name 
)
inline

Definition at line 117 of file RegistryKey.cpp.


The documentation for this class was generated from the following files: