PW32G             182 win32/registry.c 	if (!PW32G(registry_directories)) {
PW32G             183 win32/registry.c 		PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable));
PW32G             184 win32/registry.c 		if (!PW32G(registry_directories)) {
PW32G             187 win32/registry.c 		zend_hash_init(PW32G(registry_directories), 0, NULL, delete_internal_hashtable, 1);
PW32G             188 win32/registry.c 		if (!OpenPhpRegistryKey("\\Per Directory Values", &PW32G(registry_key))) {
PW32G             189 win32/registry.c 			PW32G(registry_key) = NULL;
PW32G             192 win32/registry.c 		PW32G(registry_event) = CreateEvent(NULL, TRUE, FALSE, NULL);
PW32G             193 win32/registry.c 		if (PW32G(registry_event)) {
PW32G             194 win32/registry.c 			RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE);
PW32G             196 win32/registry.c 		if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) {
PW32G             199 win32/registry.c 	} else if (PW32G(registry_event) && WaitForSingleObject(PW32G(registry_event), 0) == WAIT_OBJECT_0) {
PW32G             200 win32/registry.c 		RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE);
PW32G             201 win32/registry.c 		zend_hash_clean(PW32G(registry_directories));
PW32G             202 win32/registry.c 		if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) {
PW32G             205 win32/registry.c 	} else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) {
PW32G             252 win32/registry.c 		if (zend_hash_find(PW32G(registry_directories), path, path_len+1, (void**)&pht) == SUCCESS) {
PW32G              65 win32/wsyslog.c 	if (PW32G(log_source)) {
PW32G              66 win32/wsyslog.c 		DeregisterEventSource(PW32G(log_source));
PW32G              67 win32/wsyslog.c 		PW32G(log_source) = NULL;
PW32G              69 win32/wsyslog.c 	if (PW32G(log_header)) {
PW32G              70 win32/wsyslog.c 		STR_FREE(PW32G(log_header));
PW32G              71 win32/wsyslog.c 		PW32G(log_header) = NULL;
PW32G              91 win32/wsyslog.c 	if (!PW32G(log_source))
PW32G             109 win32/wsyslog.c 	strs[0] = PW32G(log_header);	/* write header */
PW32G             112 win32/wsyslog.c 	ReportEvent(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL);
PW32G             128 win32/wsyslog.c 	if (PW32G(log_source)) {
PW32G             132 win32/wsyslog.c 	STR_FREE(PW32G(log_header));
PW32G             134 win32/wsyslog.c 	PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION);
PW32G             135 win32/wsyslog.c 	spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid());