Lines Matching refs:PW32G
65 if (INVALID_HANDLE_VALUE != PW32G(log_source)) { in closelog()
66 DeregisterEventSource(PW32G(log_source)); in closelog()
67 PW32G(log_source) = INVALID_HANDLE_VALUE; in closelog()
69 if (PW32G(log_header)) { in closelog()
70 free(PW32G(log_header)); in closelog()
71 PW32G(log_header) = NULL; in closelog()
99 if (INVALID_HANDLE_VALUE == PW32G(log_source)) in vsyslog()
118 strsw[0] = php_win32_cp_any_to_w(PW32G(log_header)); in vsyslog()
123 ReportEventW(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strsw, NULL); in vsyslog()
133 strs[0] = PW32G(log_header); /* write header */ in vsyslog()
136 ReportEventA(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL); in vsyslog()
152 PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION); in openlog()
154 PW32G(log_header) = malloc(header_len*sizeof(char)); in openlog()
155 sprintf_s(PW32G(log_header), header_len, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid()); in openlog()