LONG CPropertyArchiveRegistry::Close() const
{
	LONG lRes = ERROR_SUCCESS;
	while (m_stackKeys.GetSize() > 0)
	{
		lRes = RegCloseKey(PopKey());
	}
	return lRes;
}
Ejemplo n.º 2
0
Archivo: key.c Proyecto: paud/d2x-xl
KEYCODE KeyInKeyTime(fix * pTime)
{
	KEYCODE kcKey = 0;

	keyboard_handler ();

	PopKey (&kcKey, pTime);

	return kcKey;
}
Ejemplo n.º 3
0
Archivo: key.c Proyecto: paud/d2x-xl
int key_getch()
{
	KEYCODE kcKey;
		keyboard_handler();
	while (!PopKey (&kcKey, NULL))
	{
		keyboard_handler ();
	}

	return kcKey;
}
HKEY CPropertyArchiveRegistry::Detach()
{
	HKEY hKey = PopKey();
	return hKey;
}
bool CPropertyArchiveRegistry::EndSection()
{
	LONG lRes = ERROR_SUCCESS;
	lRes = RegCloseKey(PopKey());
	return lRes == ERROR_SUCCESS;
}