summaryrefslogtreecommitdiff
path: root/source3/include/rpc_spoolss.h
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-02-26 23:01:02 +0000
committerJean-François Micouleau <jfm@samba.org>2000-02-26 23:01:02 +0000
commitfd3acf437acb923757e1b59b503c864b4d1c45cc (patch)
tree74b937fdf141db10b6a0f6199c38da47b1fffb71 /source3/include/rpc_spoolss.h
parentbadee62bca8b81db7ede74ac8ea7710b14a07b4c (diff)
downloadsamba-fd3acf437acb923757e1b59b503c864b4d1c45cc.tar.gz
samba-fd3acf437acb923757e1b59b503c864b4d1c45cc.tar.bz2
samba-fd3acf437acb923757e1b59b503c864b4d1c45cc.zip
added enumprintprocessordatatypes
now NT is happy and the "always send data in RAW mode" is checked J.F. (This used to be commit d7bcfe17cee64a513595d7c44456e93e88f2448b)
Diffstat (limited to 'source3/include/rpc_spoolss.h')
-rwxr-xr-xsource3/include/rpc_spoolss.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index 84812ed98a..b5aa50ecba 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -94,7 +94,7 @@
#define SPOOLSS_ENUMFORMS 0x22
#define SPOOLSS_ENUMPORTS 0x23
#define SPOOLSS_ENUMMONITORS 0x24
-#define SPOOLSS_ENUMPRINTPROCESSORDATATYPES 0x33
+#define SPOOLSS_ENUMPRINTPROCDATATYPES 0x33
#define SPOOLSS_GETPRINTERDRIVER2 0x35
/* find close printer notification */
#define SPOOLSS_FCPN 0x38
@@ -1328,28 +1328,29 @@ typedef struct spool_r_enumprintprocessors
uint32 status;
} SPOOL_R_ENUMPRINTPROCESSORS;
-typedef struct spool_q_enumprintprocessordatatypes
+typedef struct spool_q_enumprintprocdatatypes
{
+ uint32 name_ptr;
UNISTR2 name;
- UNISTR2 printprocessor;
+ uint32 processor_ptr;
+ UNISTR2 processor;
uint32 level;
NEW_BUFFER *buffer;
- uint32 buf_size;
-} SPOOL_Q_ENUMPRINTPROCESSORDATATYPES;
+ uint32 offered;
+} SPOOL_Q_ENUMPRINTPROCDATATYPES;
typedef struct ppdatatype_1
{
UNISTR name;
-} PPDATATYPE_1;
+} PRINTPROCDATATYPE_1;
-typedef struct spool_r_enumprintprocessordatatypes
+typedef struct spool_r_enumprintprocdatatypes
{
- uint32 level;
- PPDATATYPE_1 *info_1;
- uint32 offered;
- uint32 numofppdatatypes;
+ NEW_BUFFER *buffer;
+ uint32 needed;
+ uint32 returned;
uint32 status;
-} SPOOL_R_ENUMPRINTPROCESSORDATATYPES;
+} SPOOL_R_ENUMPRINTPROCDATATYPES;
typedef struct printmonitor_1
{