Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2006-03-09 16:23:24 +0300
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2006-03-09 16:23:24 +0300
commit82f0f1394c1ad85759eaa3749fca0f8331f608ef (patch)
treebdf4bd66de9173d22e4fff16c36a6d83f3f4bdb6
parente9c8cb31930bd203942b326443e2112c1babf9a1 (diff)
* include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).
(FORM_USER,FORM_PRINTER): Define (DWORD type). * include/winspool.h [_WIN32_WINNT >= 0x0500] (DSPRINT_*): Define (DWORD type). Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/winspool.h12
2 files changed, 18 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 559bd2a4e..27d22bbb7 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,4 +1,11 @@
2006-03-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+ * include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).
+ (FORM_USER,FORM_PRINTER): Define (DWORD type).
+ * include/winspool.h [_WIN32_WINNT >= 0x0500]
+ (DSPRINT_*): Define (DWORD type).
+ Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
+
+2006-03-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.
Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
diff --git a/winsup/w32api/include/winspool.h b/winsup/w32api/include/winspool.h
index 5c9aa945f..5acae161d 100644
--- a/winsup/w32api/include/winspool.h
+++ b/winsup/w32api/include/winspool.h
@@ -10,7 +10,17 @@ extern "C" {
#define DI_CHANNEL 1
#define DI_CHANNEL_WRITE 2
#define DI_READ_SPOOL_JOB 3
-#define FORM_BUILTIN 1
+#define DI_MEMORYMAP_WRITE 0x1
+#define FORM_USER 0x0
+#define FORM_BUILTIN 0x1
+#define FORM_PRINTER 0x2
+#if (_WIN32_WINNT >= 0x0500)
+#define DSPRINT_PUBLISH 0x00000001
+#define DSPRINT_UPDATE 0x00000002
+#define DSPRINT_UNPUBLISH 0x00000004
+#define DSPRINT_REPUBLISH 0x00000008
+#define DSPRINT_PENDING 0x80000000
+#endif
#define JOB_CONTROL_PAUSE 1
#define JOB_CONTROL_RESUME 2
#define JOB_CONTROL_CANCEL 3