HyperDbg Debugger
Loading...
Searching...
No Matches
HKeyHolder Struct Reference

#include <kd.h>

Public Member Functions

 HKeyHolder ()
 
 HKeyHolder (const HKeyHolder &)=delete
 
HKeyHolderoperator= (const HKeyHolder &)=delete
 
 ~HKeyHolder ()
 
 operator HKEY () const
 
HKEY * operator& ()
 

Constructor & Destructor Documentation

◆ HKeyHolder() [1/2]

HKeyHolder::HKeyHolder ( )
inline
73 :
74 m_Key(nullptr) { }

◆ HKeyHolder() [2/2]

HKeyHolder::HKeyHolder ( const HKeyHolder & )
delete

◆ ~HKeyHolder()

HKeyHolder::~HKeyHolder ( )
inline
80 {
81 if (m_Key != nullptr)
82 RegCloseKey(m_Key);
83 }

Member Function Documentation

◆ operator HKEY()

HKeyHolder::operator HKEY ( ) const
inline
85{ return m_Key; }

◆ operator&()

HKEY * HKeyHolder::operator& ( )
inline
87{ return &m_Key; }

◆ operator=()

HKeyHolder & HKeyHolder::operator= ( const HKeyHolder & )
delete

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