From fd3acf437acb923757e1b59b503c864b4d1c45cc Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Sat, 26 Feb 2000 23:01:02 +0000 Subject: added enumprintprocessordatatypes now NT is happy and the "always send data in RAW mode" is checked J.F. (This used to be commit d7bcfe17cee64a513595d7c44456e93e88f2448b) --- source3/include/rpc_spoolss.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'source3/include/rpc_spoolss.h') 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 { -- cgit