aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_mswin.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-28 16:54:46 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-28 16:54:46 +0000
commit9360830ab81c51dfe7b40be7b617e8dfd1378c72 (patch)
tree9a8c5aaa373c62fccef76f0733a5404a699586cd /gtk/print_mswin.c
parent6f71ea20911267da551bc4225e4a13d622d03776 (diff)
collect some thoughts about a GTK win32 printing dialog (from Guy Harris and me)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11553 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/print_mswin.c')
-rw-r--r--gtk/print_mswin.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/print_mswin.c b/gtk/print_mswin.c
index fb830448d3..65727ab288 100644
--- a/gtk/print_mswin.c
+++ b/gtk/print_mswin.c
@@ -37,6 +37,22 @@
#include <winspool.h>
#endif
+/*
+Some thoughts about a GTK win32 printer dialog:
+
+"EnumPrinters()", asking for information level 2 - the PRINTER_INFO_2
+structure contains a pLocation string pointer, along with other
+information.
+
+"PrinterProperties", could be used to show a native printer property page?!?
+
+See
+
+ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_62ia.asp
+
+for information on printer APIs.
+
+*/
BOOL CALLBACK abort_proc( HDC hDC, int Error );
HDC get_printer_dc(void);
void init_doc_struct( DOCINFO* di, char* docname);