1 /* GTK - The GIMP Toolkit
2 * gtkprint-win32.h: Win32 Print utils
3 * Copyright (C) 2006, Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __GTK_PRINT_WIN32_H__
20 #define __GTK_PRINT_WIN32_H__
22 #include "win32/gdkwin32.h"
26 #ifndef START_PAGE_GENERAL
27 #define START_PAGE_GENERAL 0xffffffff
30 #ifndef PD_RESULT_CANCEL
31 #define PD_RESULT_CANCEL 0
32 #define PD_RESULT_PRINT 1
33 #define PD_RESULT_APPLY 2
36 #ifndef PD_NOCURRENTPAGE
37 #define PD_NOCURRENTPAGE 0x00800000
40 #ifndef PD_CURRENTPAGE
41 #define PD_CURRENTPAGE 0x00400000
49 } GtkPrintWin32Devnames;
51 void gtk_print_win32_devnames_free (GtkPrintWin32Devnames *devnames);
52 GtkPrintWin32Devnames *gtk_print_win32_devnames_from_win32 (HGLOBAL global);
53 GtkPrintWin32Devnames *gtk_print_win32_devnames_from_printer_name (const char *printer);
54 HGLOBAL gtk_print_win32_devnames_to_win32 (const GtkPrintWin32Devnames *devnames);
55 HGLOBAL gtk_print_win32_devnames_to_win32_from_printer_name (const char *printer);
59 #endif /* __GTK_PRINT_WIN32_H__ */