Lines Matching refs:nhk
297 HKEY nhk; in wpa_config_read_network() local
303 ret = RegOpenKeyEx(hk, netw, 0, KEY_QUERY_VALUE, &nhk); in wpa_config_read_network()
313 RegCloseKey(nhk); in wpa_config_read_network()
327 ret = RegEnumValue(nhk, i, name, &namelen, NULL, &type, in wpa_config_read_network()
353 RegCloseKey(nhk); in wpa_config_read_network()
385 HKEY nhk; in wpa_config_read_networks() local
392 &nhk); in wpa_config_read_networks()
404 ret = RegEnumKeyEx(nhk, i, name, &namelen, NULL, NULL, NULL, in wpa_config_read_networks()
420 ssid = wpa_config_read_network(nhk, name, i); in wpa_config_read_networks()
441 RegCloseKey(nhk); in wpa_config_read_networks()
652 HKEY nhk; in wpa_config_delete_subkeys() local
656 ret = RegOpenKeyEx(hk, key, 0, KEY_ENUMERATE_SUB_KEYS | DELETE, &nhk); in wpa_config_delete_subkeys()
669 ret = RegEnumKeyEx(nhk, i, name, &namelen, NULL, NULL, NULL, in wpa_config_delete_subkeys()
685 ret = RegDeleteKey(nhk, name); in wpa_config_delete_subkeys()
693 RegCloseKey(nhk); in wpa_config_delete_subkeys()
853 HKEY nhk, netw; in wpa_config_write_network() local
857 ret = RegOpenKeyEx(hk, TEXT("networks"), 0, KEY_CREATE_SUB_KEY, &nhk); in wpa_config_write_network()
870 ret = RegCreateKeyEx(nhk, name, 0, NULL, 0, KEY_WRITE, NULL, &netw, in wpa_config_write_network()
872 RegCloseKey(nhk); in wpa_config_write_network()