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 11:26:24 +0300
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2006-03-09 11:26:24 +0300
commitc87248b6fabe6695ee79715deca0dd0cf09044cc (patch)
treeac6ffd5a476b4df479cb138eee22eda189511b55
parent9aca6a48a57bca1a59a236cf6dd20c4da5f78fb2 (diff)
* include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.
Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winspool.h34
2 files changed, 23 insertions, 15 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 4edcd0ce8..559bd2a4e 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+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>
+
2006-03-07 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/shellapi.h [_WIN32_IE >= 0x0600]
(SEE_MASK_NOZONECHECKS,SEE_MASK_FLAG_LOG_USAGE): Define on
diff --git a/winsup/w32api/include/winspool.h b/winsup/w32api/include/winspool.h
index e18eeda88..5c9aa945f 100644
--- a/winsup/w32api/include/winspool.h
+++ b/winsup/w32api/include/winspool.h
@@ -11,22 +11,26 @@ extern "C" {
#define DI_CHANNEL_WRITE 2
#define DI_READ_SPOOL_JOB 3
#define FORM_BUILTIN 1
-#define JOB_CONTROL_PAUSE 1
-#define JOB_CONTROL_RESUME 2
-#define JOB_CONTROL_CANCEL 3
-#define JOB_CONTROL_RESTART 4
-#define JOB_CONTROL_DELETE 5
-#define JOB_STATUS_PAUSED 1
-#define JOB_STATUS_ERROR 2
-#define JOB_STATUS_DELETING 4
-#define JOB_STATUS_SPOOLING 8
-#define JOB_STATUS_PRINTING 16
-#define JOB_STATUS_OFFLINE 32
-#define JOB_STATUS_PAPEROUT 0x40
-#define JOB_STATUS_PRINTED 0x80
-#define JOB_STATUS_DELETED 0x100
-#define JOB_STATUS_BLOCKED_DEVQ 0x200
+#define JOB_CONTROL_PAUSE 1
+#define JOB_CONTROL_RESUME 2
+#define JOB_CONTROL_CANCEL 3
+#define JOB_CONTROL_RESTART 4
+#define JOB_CONTROL_DELETE 5
+#define JOB_CONTROL_SENT_TO_PRINTER 6
+#define JOB_CONTROL_LAST_PAGE_EJECTED 7
+#define JOB_STATUS_PAUSED 0x1
+#define JOB_STATUS_ERROR 0x2
+#define JOB_STATUS_DELETING 0x4
+#define JOB_STATUS_SPOOLING 0x8
+#define JOB_STATUS_PRINTING 0x10
+#define JOB_STATUS_OFFLINE 0x20
+#define JOB_STATUS_PAPEROUT 0x40
+#define JOB_STATUS_PRINTED 0x80
+#define JOB_STATUS_DELETED 0x100
+#define JOB_STATUS_BLOCKED_DEVQ 0x200
#define JOB_STATUS_USER_INTERVENTION 0x400
+#define JOB_STATUS_RESTART 0x800
+#define JOB_STATUS_COMPLETE 0x1000
#define JOB_POSITION_UNSPECIFIED 0
#define JOB_NOTIFY_TYPE 1
#define JOB_NOTIFY_FIELD_PRINTER_NAME 0