reg: Stop parsing REG_SZ values containing NUL character sequences.
[wine/zf.git] / dlls / localui / localui.h
blob25424da568c115354d0411c9d9b3e292f2fd1833
1 /*
2 * internal include file of the Local Printmonitor User Interface
4 * Copyright 2007 Detlef Riekenberg
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.
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.
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
21 #ifndef __WINE_LOCALUI__
22 #define __WINE_LOCALUI__
24 #include <windef.h>
25 #include <winuser.h>
27 /* ## Resource-ID ## */
28 #define ADDPORT_DIALOG 100
29 #define ADDPORT_EDIT 101
31 #define LPTCONFIG_DIALOG 200
32 #define LPTCONFIG_GROUP 201
33 #define LPTCONFIG_EDIT 202
35 #define IDS_LOCALPORT 300
36 #define IDS_INVALIDNAME 301
37 #define IDS_PORTEXISTS 302
38 #define IDS_NOTHINGTOCONFIG 303
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
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
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
62 #endif /* __WINE_LOCALUI__ */