From c87248b6fabe6695ee79715deca0dd0cf09044cc Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Date: Thu, 9 Mar 2006 08:26:24 +0000 Subject: * include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define. Thanks to: Roland Schwingel --- winsup/w32api/include/winspool.h | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'winsup/w32api/include') 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 -- cgit v1.2.3