Lines Matching refs:PW32G
182 if (!PW32G(registry_directories)) { in UpdateIniFromRegistry()
183 PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); in UpdateIniFromRegistry()
184 if (!PW32G(registry_directories)) { in UpdateIniFromRegistry()
187 zend_hash_init(PW32G(registry_directories), 0, NULL, delete_internal_hashtable, 1); in UpdateIniFromRegistry()
188 if (!OpenPhpRegistryKey("\\Per Directory Values", &PW32G(registry_key))) { in UpdateIniFromRegistry()
189 PW32G(registry_key) = NULL; in UpdateIniFromRegistry()
192 PW32G(registry_event) = CreateEvent(NULL, TRUE, FALSE, NULL); in UpdateIniFromRegistry()
193 if (PW32G(registry_event)) { in UpdateIniFromRegistry()
194 RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE); in UpdateIniFromRegistry()
196 if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) { in UpdateIniFromRegistry()
199 …} else if (PW32G(registry_event) && WaitForSingleObject(PW32G(registry_event), 0) == WAIT_OBJECT_0… in UpdateIniFromRegistry()
200 RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE); in UpdateIniFromRegistry()
201 zend_hash_clean(PW32G(registry_directories)); in UpdateIniFromRegistry()
202 if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) { in UpdateIniFromRegistry()
205 } else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) { in UpdateIniFromRegistry()
252 if (zend_hash_find(PW32G(registry_directories), path, path_len+1, (void**)&pht) == SUCCESS) { in UpdateIniFromRegistry()