Lines Matching refs:PW32G
191 if (!PW32G(registry_directories)) { in UpdateIniFromRegistry()
192 PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); in UpdateIniFromRegistry()
193 if (!PW32G(registry_directories)) { in UpdateIniFromRegistry()
196 zend_hash_init(PW32G(registry_directories), 0, NULL, delete_internal_hashtable, 1); in UpdateIniFromRegistry()
197 if (!OpenPhpRegistryKey("\\Per Directory Values", &PW32G(registry_key))) { in UpdateIniFromRegistry()
198 PW32G(registry_key) = NULL; in UpdateIniFromRegistry()
201 PW32G(registry_event) = CreateEvent(NULL, TRUE, FALSE, NULL); in UpdateIniFromRegistry()
202 if (PW32G(registry_event)) { in UpdateIniFromRegistry()
203 RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE); in UpdateIniFromRegistry()
205 if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) { in UpdateIniFromRegistry()
208 …} else if (PW32G(registry_event) && WaitForSingleObject(PW32G(registry_event), 0) == WAIT_OBJECT_0… in UpdateIniFromRegistry()
209 RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE); in UpdateIniFromRegistry()
210 zend_hash_clean(PW32G(registry_directories)); in UpdateIniFromRegistry()
211 if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) { in UpdateIniFromRegistry()
214 } else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) { in UpdateIniFromRegistry()
262 HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len); in UpdateIniFromRegistry()