server: Use a shared_object_t for the dummy object.
[wine.git] / dlls / winspool.drv / wspool.h
blob29a459ed91c0a4a7df56527250f96a23f534359a
1 /******************************************************************************
2 * winspool internal include file
5 * Copyright 2005 Huw Davies
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <windef.h>
23 #include <winuser.h>
24 #include <winternl.h>
26 extern HINSTANCE WINSPOOL_hInstance;
28 extern PRINTPROVIDOR * backend;
29 extern BOOL load_backend(void);
31 extern void WINSPOOL_LoadSystemPrinters(void);
33 #define IDS_CAPTION 10
34 #define IDS_FILE_EXISTS 11
35 #define IDS_CANNOT_OPEN 12
37 #define FILENAME_DIALOG 100
38 #define EDITBOX 201
40 struct printer_info
42 WCHAR *name;
43 WCHAR *comment;
44 WCHAR *location;
45 BOOL is_default;
48 struct enum_printers_params
50 struct printer_info *printers;
51 unsigned int *size;
52 unsigned int *num;
55 struct get_default_page_size_params
57 WCHAR *name;
58 unsigned int *name_size;
61 struct get_ppd_params
63 const WCHAR *printer; /* set to NULL to unlink */
64 const WCHAR *ppd;
67 #define UNIX_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
69 enum cups_funcs
71 unix_process_attach,
72 unix_enum_printers,
73 unix_get_default_page_size,
74 unix_get_ppd,
75 unix_funcs_count,