-
Notifications
You must be signed in to change notification settings - Fork 0
/
httpui.h
67 lines (51 loc) · 1.25 KB
/
httpui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// HTTPUI.H HTTPサーバー
//
// シングルスレッドモデル
//
#ifndef _HTTPUI_H
#define _HTTPUI_H
#include <winsock.h>
#include <windowsx.h>
#include <commctrl.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include "httpA.h"
#include "resource.h"
////////////////////////////////////////////////////////////
//
// HTTP1.C -- User Interface Function Prototypes
//
BOOL OnInitDialog(HWND hwnd,
HWND hwndFocus,
LPARAM lParam);
void OnCommand(HWND hwnd,
int nId,
HWND hwndCtl,
UINT codeNotify);
BOOL CALLBACK MainWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
BOOL CALLBACK InfoWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
void FileRequested(HWND hwnd,
int nError,
LPCSTR lpFileName);
void Statistics(HWND hwnd, LPHTTPSTATS lpStats);
void ShowEvent(HWND hwnd, LPCSTR lpEvent);
////////////////////////////////////////////////////////////
//
// Message Handler macro for dialog boxes
//
#define HANDLE_DLG_MSG(hwnd, message, fn) \
case(message): \
return (BOOL) HANDLE_##message((hwnd), \
(wParam), \
(lParam), \
(fn))
#endif _HTTPUI_H