Lines Matching refs:nhk
286 HKEY nhk; in wpa_config_read_network() local
292 ret = RegOpenKeyEx(hk, netw, 0, KEY_QUERY_VALUE, &nhk); in wpa_config_read_network()
302 RegCloseKey(nhk); in wpa_config_read_network()
316 ret = RegEnumValue(nhk, i, name, &namelen, NULL, &type, in wpa_config_read_network()
342 RegCloseKey(nhk); in wpa_config_read_network()
374 HKEY nhk; in wpa_config_read_networks() local
381 &nhk); in wpa_config_read_networks()
393 ret = RegEnumKeyEx(nhk, i, name, &namelen, NULL, NULL, NULL, in wpa_config_read_networks()
409 ssid = wpa_config_read_network(nhk, name, i); in wpa_config_read_networks()
430 RegCloseKey(nhk); in wpa_config_read_networks()
635 HKEY nhk; in wpa_config_delete_subkeys() local
639 ret = RegOpenKeyEx(hk, key, 0, KEY_ENUMERATE_SUB_KEYS | DELETE, &nhk); in wpa_config_delete_subkeys()
652 ret = RegEnumKeyEx(nhk, i, name, &namelen, NULL, NULL, NULL, in wpa_config_delete_subkeys()
668 ret = RegDeleteKey(nhk, name); in wpa_config_delete_subkeys()
676 RegCloseKey(nhk); in wpa_config_delete_subkeys()
834 HKEY nhk, netw; in wpa_config_write_network() local
838 ret = RegOpenKeyEx(hk, TEXT("networks"), 0, KEY_CREATE_SUB_KEY, &nhk); in wpa_config_write_network()
851 ret = RegCreateKeyEx(nhk, name, 0, NULL, 0, KEY_WRITE, NULL, &netw, in wpa_config_write_network()
853 RegCloseKey(nhk); in wpa_config_write_network()