Searched refs:PW32G (Results 1 – 4 of 4) sorted by relevance
/PHP-7.0/win32/ |
H A D | wsyslog.c | 64 if (INVALID_HANDLE_VALUE != PW32G(log_source)) { in closelog() 65 DeregisterEventSource(PW32G(log_source)); in closelog() 66 PW32G(log_source) = INVALID_HANDLE_VALUE; in closelog() 68 if (PW32G(log_header)) { in closelog() 69 efree(PW32G(log_header)); in closelog() 70 PW32G(log_header) = NULL; in closelog() 89 if (INVALID_HANDLE_VALUE == PW32G(log_source)) in syslog() 107 strs[0] = PW32G(log_header); /* write header */ in syslog() 110 ReportEvent(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL); in syslog() 127 PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION); in openlog() [all …]
|
H A D | registry.c | 191 if (!PW32G(registry_directories)) { in UpdateIniFromRegistry() 193 if (!PW32G(registry_directories)) { 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() [all …]
|
H A D | sendmail.c | 221 strcpy(PW32G(mail_host), host); in TSendMail() 339 shutdown(PW32G(mail_socket), 0); in TSMClose() 340 closesocket(PW32G(mail_socket)); in TSMClose() 412 snprintf(PW32G(mail_buffer), sizeof(PW32G(mail_buffer)), "HELO %s\r\n", PW32G(mail_local_host)); in SendText() 800 closesocket(PW32G(mail_socket)); in MailConnect() 804 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect() 807 closesocket(PW32G(mail_socket)); in MailConnect() 820 closesocket(PW32G(mail_socket)); in MailConnect() 824 strcpy(PW32G(mail_local_host), "["); in MailConnect() 829 closesocket(PW32G(mail_socket)); in MailConnect() [all …]
|
H A D | php_win32_globals.h | 31 # define PW32G(v) ZEND_TSRMG(php_win32_core_globals_id, php_win32_core_globals*, v) macro 34 # define PW32G(v) (the_php_win32_core_globals.v) macro
|
Completed in 11 milliseconds