diff options
author | Jeremy Allison <jra@samba.org> | 2000-09-09 00:19:35 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-09-09 00:19:35 +0000 |
commit | e0f9de0c49dde82610b0da406b4685e787f69725 (patch) | |
tree | 3effbc84094e2fb2f5dcfad07d587e97e4f20126 /source3/include | |
parent | 588d802877ec5c1969d8f0a79875382bfa91c032 (diff) | |
download | samba-e0f9de0c49dde82610b0da406b4685e787f69725.tar.gz samba-e0f9de0c49dde82610b0da406b4685e787f69725.tar.bz2 samba-e0f9de0c49dde82610b0da406b4685e787f69725.zip |
Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).
Jeremy.
(This used to be commit fb48efaf830626f6ef05b88f5f8a74b932ceb257)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 | ||||
-rwxr-xr-x | source3/include/rpc_spoolss.h | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 3a43907b4b..737053a2a3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2726,6 +2726,8 @@ BOOL make_spoolss_q_getprinterdata(SPOOL_Q_GETPRINTERDATA *q_u, const POLICY_HND *handle, UNISTR2 *valuename, uint32 size); BOOL spoolss_io_q_getprinterdata(char *desc, SPOOL_Q_GETPRINTERDATA *q_u, prs_struct *ps, int depth); +BOOL spoolss_io_q_deleteprinterdata(char *desc, SPOOL_Q_DELETEPRINTERDATA *q_u, prs_struct *ps, int depth); +BOOL spoolss_io_r_deleteprinterdata(char *desc, SPOOL_R_DELETEPRINTERDATA *r_u, prs_struct *ps, int depth); BOOL spoolss_io_r_getprinterdata(char *desc, SPOOL_R_GETPRINTERDATA *r_u, prs_struct *ps, int depth); BOOL make_spoolss_q_closeprinter(SPOOL_Q_CLOSEPRINTER *q_u, POLICY_HND *hnd); BOOL spoolss_io_q_abortprinter(char *desc, SPOOL_Q_ABORTPRINTER *q_u, prs_struct *ps, int depth); @@ -3187,6 +3189,7 @@ uint32 _spoolss_setprinterdata( POLICY_HND *handle, const uint8 *data, uint32 real_len, uint32 numeric_data); +uint32 _spoolss_deleteprinterdata( POLICY_HND *handle, const UNISTR2 *value); uint32 _spoolss_addform( POLICY_HND *handle, uint32 level, const FORM *form); diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index f581c381f9..43e81914d0 100755 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -106,6 +106,7 @@ #define SPOOLSS_OPENPRINTEREX 0x45 #define SPOOLSS_ADDPRINTEREX 0x46 #define SPOOLSS_ENUMPRINTERDATA 0x48 +#define SPOOLSS_DELETEPRINTERDATA 0x49 #define PRINTER_CONTROL_UNPAUSE 0x00000000 #define PRINTER_CONTROL_PAUSE 0x00000001 @@ -515,6 +516,19 @@ typedef struct spool_r_getprinterdata } SPOOL_R_GETPRINTERDATA; +typedef struct spool_q_deleteprinterdata +{ + POLICY_HND handle; + UNISTR2 valuename; +} +SPOOL_Q_DELETEPRINTERDATA; + +typedef struct spool_r_deleteprinterdata +{ + uint32 status; +} +SPOOL_R_DELETEPRINTERDATA; + typedef struct spool_q_closeprinter { POLICY_HND handle; |