diff options
author | Günther Deschner <gd@samba.org> | 2009-02-09 13:03:07 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-09 13:03:07 +0100 |
commit | 41c01930a3807cf45690d63f55c37d4f9db20d5a (patch) | |
tree | 9fb6c3870f729039672303c5df689282954b18c3 /source3/rpc_server/srv_spoolss_nt.c | |
parent | dfa559145c0cbee1f2acdf2c401125e75ca52922 (diff) | |
download | samba-41c01930a3807cf45690d63f55c37d4f9db20d5a.tar.gz samba-41c01930a3807cf45690d63f55c37d4f9db20d5a.tar.bz2 samba-41c01930a3807cf45690d63f55c37d4f9db20d5a.zip |
s3-spoolss: use pidl for _spoolss_FindClosePrinterNotify.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 3a166ce938..03ef668bbe 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -6572,16 +6572,19 @@ WERROR _spoolss_setprinter(pipes_struct *p, SPOOL_Q_SETPRINTER *q_u, SPOOL_R_SET } } -/**************************************************************************** -****************************************************************************/ +/**************************************************************** + _spoolss_FindClosePrinterNotify +****************************************************************/ -WERROR _spoolss_fcpn(pipes_struct *p, SPOOL_Q_FCPN *q_u, SPOOL_R_FCPN *r_u) +WERROR _spoolss_FindClosePrinterNotify(pipes_struct *p, + struct spoolss_FindClosePrinterNotify *r) { - POLICY_HND *handle = &q_u->handle; + POLICY_HND *handle = r->in.handle; Printer_entry *Printer= find_printer_index_by_hnd(p, handle); if (!Printer) { - DEBUG(2,("_spoolss_fcpn: Invalid handle (%s:%u:%u)\n", OUR_HANDLE(handle))); + DEBUG(2,("_spoolss_FindClosePrinterNotify: " + "Invalid handle (%s:%u:%u)\n", OUR_HANDLE(handle))); return WERR_BADFID; } @@ -10460,17 +10463,6 @@ WERROR _spoolss_FindNextPrinterChangeNotification(pipes_struct *p, } /**************************************************************** - _spoolss_FindClosePrinterNotify -****************************************************************/ - -WERROR _spoolss_FindClosePrinterNotify(pipes_struct *p, - struct spoolss_FindClosePrinterNotify *r) -{ - p->rng_fault_state = true; - return WERR_NOT_SUPPORTED; -} - -/**************************************************************** _spoolss_RouterFindFirstPrinterChangeNotificationOld ****************************************************************/ |