comparison src/os/win32/ngx_gui.c @ 503:b1648294f693 release-0.1.26

nginx-0.1.26-RELEASE import *) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Mar 2005 16:02:46 +0000
parents a88a3e4e158f
children 9b8c906f6e63
comparison
equal deleted inserted replaced
502:2017b79d7db5 503:b1648294f693
9 9
10 10
11 #define NGX_MAX_TEXT 2048 11 #define NGX_MAX_TEXT 2048
12 12
13 13
14 void ngx_message_box(char *title, ngx_uint_t type, ngx_err_t err, 14 void ngx_cdecl ngx_message_box(char *title, ngx_uint_t type, ngx_err_t err,
15 const char *fmt, ...) 15 const char *fmt, ...)
16 { 16 {
17 va_list args; 17 va_list args;
18 u_char text[NGX_MAX_TEXT], *p, *last; 18 u_char text[NGX_MAX_TEXT], *p, *last;
19 19
20 last = text + NGX_MAX_TEXT; 20 last = text + NGX_MAX_TEXT;
57 57
58 MessageBox(NULL, (char *) text, title, type); 58 MessageBox(NULL, (char *) text, title, type);
59 } 59 }
60 60
61 61
62 ngx_int_t ngx_system_tray_icon(HWND window, u_long action, 62 ngx_int_t
63 HICON icon, u_char *tip) 63 ngx_system_tray_icon(HWND window, u_long action, HICON icon, u_char *tip)
64 { 64 {
65 NOTIFYICONDATA ni; 65 NOTIFYICONDATA ni;
66 66
67 ni.cbSize = sizeof(NOTIFYICONDATA); 67 ni.cbSize = sizeof(NOTIFYICONDATA);
68 ni.hWnd = window; 68 ni.hWnd = window;