Home
last modified time | relevance | path

Searched refs:hSectionKey (Results 1 – 3 of 3) sorted by relevance

/vim-8.2.3635/src/VisVim/
H A DCommands.cpp92 HKEY hSectionKey = GetSectionKey(hAppKey, "VisVim"); in SetApplicationObject() local
93 if (hSectionKey) in SetApplicationObject()
97 g_bDevStudioEditor = GetRegistryInt(hSectionKey, in SetApplicationObject()
99 g_bNewTabs = GetRegistryInt(hSectionKey, "NewTabs", in SetApplicationObject()
101 g_ChangeDir = GetRegistryInt(hSectionKey, "ChangeDir", in SetApplicationObject()
103 RegCloseKey(hSectionKey); in SetApplicationObject()
392 if (hSectionKey) in BEGIN_MESSAGE_MAP()
394 WriteRegistryInt(hSectionKey, "DevStudioEditor", in BEGIN_MESSAGE_MAP()
396 WriteRegistryInt(hSectionKey, "NewTabs", in BEGIN_MESSAGE_MAP()
399 RegCloseKey(hSectionKey); in BEGIN_MESSAGE_MAP()
[all …]
H A DReg.cpp32 HKEY hSectionKey = NULL; in GetSectionKey() local
36 &hSectionKey, &Dummy); in GetSectionKey()
37 return hSectionKey; in GetSectionKey()
40 int GetRegistryInt (HKEY hSectionKey, LPCTSTR Entry, int Default) in GetRegistryInt() argument
45 if (RegQueryValueEx (hSectionKey, (LPTSTR) Entry, NULL, &Type, in GetRegistryInt()
51 bool WriteRegistryInt (HKEY hSectionKey, char* Entry, int nValue) in WriteRegistryInt() argument
53 return RegSetValueEx (hSectionKey, Entry, NULL, REG_DWORD, in WriteRegistryInt()
H A DVisVim.h25 int GetRegistryInt (HKEY hSectionKey, LPCTSTR Entry, int Default);
26 bool WriteRegistryInt (HKEY hSectionKey, char* Entry, int nValue);