#include <registry_value.h>

Inheritance diagram for registry_value:

Public Member Functions

 registry_value (const std::basic_string< TCHAR > &name, HKEY base_)
 
virtual ~registry_value ()
 
bool exists ()
 
void remove_value (void)
 
void remove_key (void)
 

Protected Member Functions

bool open (bool write_access)
 
void close (void)
 
bool query_value (DWORD *type, DWORD *size, void *buffer)
 
bool set_value (DWORD type, DWORD size, const void *buffer)
 

Detailed Description

Non-template common base class for Windows registry access

#include <libpf/utility/registry_value.h>

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ registry_value()

registry_value::registry_value ( const std::basic_string< TCHAR > &  name,
HKEY  base_ 
)
inline

◆ ~registry_value()

virtual registry_value::~registry_value ( )
inlinevirtual

Member Function Documentation

◆ close()

void registry_value::close ( void  )
inlineprotected

◆ exists()

bool registry_value::exists ( )
inline

◆ open()

bool registry_value::open ( bool  write_access)
inlineprotected

◆ query_value()

bool registry_value::query_value ( DWORD *  type,
DWORD *  size,
void *  buffer 
)
inlineprotected

◆ remove_key()

void registry_value::remove_key ( void  )
inline

◆ remove_value()

void registry_value::remove_value ( void  )
inline

◆ set_value()

bool registry_value::set_value ( DWORD  type,
DWORD  size,
const void *  buffer 
)
inlineprotected

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