netstat: Initial implementation.
[wine] / dlls / localui / localui.h
1 /*
2  * internal include file of the Local Printmonitor User Interface
3  *
4  * Copyright 2007 Detlef Riekenberg
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #ifndef __WINE_LOCALUI__
22 #define __WINE_LOCALUI__
23
24 #include <windef.h>
25 #include <winuser.h>
26
27 /* ## Resource-ID ## */
28 #define ADDPORT_DIALOG  100
29 #define ADDPORT_EDIT    101
30
31 #define LPTCONFIG_DIALOG 200
32 #define LPTCONFIG_GROUP  201
33 #define LPTCONFIG_EDIT   202
34
35 #define IDS_LOCALPORT       300
36 #define IDS_INVALIDNAME     301
37 #define IDS_PORTEXISTS      302
38 #define IDS_NOTHINGTOCONFIG 303
39
40 /* ## Reserved memorysize for the strings (in WCHAR) ## */
41 #define IDS_LOCALPORT_MAXLEN 32
42 #define IDS_INVALIDNAME_MAXLEN 48
43 #define IDS_PORTEXISTS_MAXLEN  48
44 #define IDS_NOTHINGTOCONFIG_MAXLEN 80
45
46 /* ## Type of Ports ## */
47 /* windows types */
48 #define PORT_IS_UNKNOWN  0
49 #define PORT_IS_LPT      1
50 #define PORT_IS_COM      2
51 #define PORT_IS_FILE     3
52 #define PORT_IS_FILENAME 4
53
54 /* wine extensions */
55 #define PORT_IS_WINE     5
56 #define PORT_IS_UNIXNAME 5
57 #define PORT_IS_PIPE     6
58 #define PORT_IS_CUPS     7
59 #define PORT_IS_LPR      8
60
61
62 #endif /* __WINE_LOCALUI__ */