gdi32/tests: Mark tests failing randomly on Windows as flaky.
[wine.git] / dlls / winspool.drv / wspool.h
bloba464e2aaf127fc38a6daadc4ed4f08a9f24806fc
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 DECLSPEC_HIDDEN;
28 extern PRINTPROVIDOR * backend DECLSPEC_HIDDEN;
29 extern BOOL load_backend(void) DECLSPEC_HIDDEN;
31 extern void WINSPOOL_LoadSystemPrinters(void) DECLSPEC_HIDDEN;
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 struct schedule_job_params
69 const WCHAR *filename;
70 const WCHAR *port;
71 const WCHAR *document_title;
72 const WCHAR *wine_port;
75 extern unixlib_handle_t winspool_handle DECLSPEC_HIDDEN;
77 #define UNIX_CALL( func, params ) __wine_unix_call( winspool_handle, unix_ ## func, params )
79 enum cups_funcs
81 unix_process_attach,
82 unix_enum_printers,
83 unix_get_default_page_size,
84 unix_get_ppd,
85 unix_schedule_job,