diff options
author | Günther Deschner <gd@samba.org> | 2009-02-26 01:10:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-26 13:17:23 +0100 |
commit | 76ae2022ad239394c9122f65bd35c1523874e6f9 (patch) | |
tree | 935756603cde9e172bd2439b213de65dcd62e629 /librpc/idl | |
parent | 3e25d3bb15fd616fdf89fcb10aba27a9a7586e15 (diff) | |
download | samba-76ae2022ad239394c9122f65bd35c1523874e6f9.tar.gz samba-76ae2022ad239394c9122f65bd35c1523874e6f9.tar.bz2 samba-76ae2022ad239394c9122f65bd35c1523874e6f9.zip |
spoolss: add spoolss_JobStatus.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/spoolss.idl | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 2aebed5016..f356294d72 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -378,6 +378,27 @@ import "misc.idl", "security.idl", "winreg.idl"; /******************/ /* Function: 0x02 */ + + /* JOB status codes. */ + + const int JOB_STATUS_QUEUED = 0x0000; + + typedef [bitmap32bit] bitmap { + JOB_STATUS_PAUSED = 0x00000001, + JOB_STATUS_ERROR = 0x00000002, + JOB_STATUS_DELETING = 0x00000004, + JOB_STATUS_SPOOLING = 0x00000008, + JOB_STATUS_PRINTING = 0x00000010, + JOB_STATUS_OFFLINE = 0x00000020, + JOB_STATUS_PAPEROUT = 0x00000040, + JOB_STATUS_PRINTED = 0x00000080, + JOB_STATUS_DELETED = 0x00000100, + JOB_STATUS_BLOCKED_DEVQ = 0x00000200, + JOB_STATUS_USER_INTERVENTION = 0x00000400, + JOB_STATUS_RESTART = 0x00000800, + JOB_STATUS_COMPLETE = 0x00001000 + } spoolss_JobStatus; + typedef struct { uint32 job_id; [relative] nstring *printer_name; @@ -386,7 +407,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [relative] nstring *document_name; [relative] nstring *data_type; [relative] nstring *text_status; - uint32 status; + spoolss_JobStatus status; uint32 priority; uint32 position; uint32 total_pages; |