Registry support enhanced

This commit is contained in:
2016-09-07 14:02:41 +02:00
parent 3948924124
commit 983bcbf9a2
2 changed files with 152 additions and 19 deletions

View File

@@ -292,3 +292,20 @@ void winstd::vmemory::free_internal()
{
VirtualFreeEx(m_proc, m_h, 0, MEM_RELEASE);
}
//////////////////////////////////////////////////////////////////////
// winstd::reg_key
//////////////////////////////////////////////////////////////////////
winstd::reg_key::~reg_key()
{
if (m_h)
RegCloseKey(m_h);
}
void winstd::reg_key::free_internal()
{
RegCloseKey(m_h);
}