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
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
48 struct enum_printers_params
50 struct printer_info
*printers
;
55 struct get_default_page_size_params
58 unsigned int *name_size
;
63 const WCHAR
*printer
; /* set to NULL to unlink */
67 struct schedule_job_params
69 const WCHAR
*filename
;
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 )
83 unix_get_default_page_size
,