summaryrefslogtreecommitdiff
path: root/source3/include/rpc_spoolss.h
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-06-10 22:35:52 +0000
committerJean-François Micouleau <jfm@samba.org>2000-06-10 22:35:52 +0000
commit4ec7597d1154c60f0f55feab93f2dc9c776d56f8 (patch)
tree2af152c02a5013ed5bd954303e6a0829f7aff8ec /source3/include/rpc_spoolss.h
parent26848a3478ab132cd924f14a66f85f74c2433329 (diff)
downloadsamba-4ec7597d1154c60f0f55feab93f2dc9c776d56f8.tar.gz
samba-4ec7597d1154c60f0f55feab93f2dc9c776d56f8.tar.bz2
samba-4ec7597d1154c60f0f55feab93f2dc9c776d56f8.zip
parsing code for reply[open|close]printer in preparation of the event
stuff. J.F. (This used to be commit 1871d4a3f64401f9a6f749ce26d1715e3bcdeac3)
Diffstat (limited to 'source3/include/rpc_spoolss.h')
-rwxr-xr-xsource3/include/rpc_spoolss.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index 40851533cf..de3f04ca3d 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -1680,10 +1680,38 @@ typedef struct spool_r_getjob
NEW_BUFFER *buffer;
uint32 needed;
uint32 status;
-
}
SPOOL_R_GETJOB;
+typedef struct spool_q_replyopenprinter
+{
+ UNISTR2 string;
+ uint32 printer;
+ uint32 type;
+ NEW_BUFFER *buffer;
+}
+SPOOL_Q_REPLYOPENPRINTER;
+
+typedef struct spool_r_replyopenprinter
+{
+ POLICY_HND handle;
+ uint32 status;
+}
+SPOOL_R_REPLYOPENPRINTER;
+
+typedef struct spool_q_replycloseprinter
+{
+ POLICY_HND handle;
+}
+SPOOL_Q_REPLYCLOSEPRINTER;
+
+typedef struct spool_r_replycloseprinter
+{
+ POLICY_HND handle;
+ uint32 status;
+}
+SPOOL_R_REPLYCLOSEPRINTER;
+
#define PRINTER_DRIVER_VERSION 2
#define PRINTER_DRIVER_ARCHITECTURE "Windows NT x86"