LONG CPropertyArchiveRegistry::Close() const { LONG lRes = ERROR_SUCCESS; while (m_stackKeys.GetSize() > 0) { lRes = RegCloseKey(PopKey()); } return lRes; }
KEYCODE KeyInKeyTime(fix * pTime) { KEYCODE kcKey = 0; keyboard_handler (); PopKey (&kcKey, pTime); return kcKey; }
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; }