summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_util.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-03-31 13:03:09 +0200
committerGünther Deschner <gd@samba.org>2010-04-07 15:16:53 +0200
commitfbd32356103e8d72dadf51e51b3119443f13ffb2 (patch)
tree2a061478246ad9c9331ee7df5fd8c62befaa714f /source3/rpc_server/srv_spoolss_util.h
parent20e96d92430f8f9e18351be96319c3c3758ccb77 (diff)
downloadsamba-fbd32356103e8d72dadf51e51b3119443f13ffb2.tar.gz
samba-fbd32356103e8d72dadf51e51b3119443f13ffb2.tar.bz2
samba-fbd32356103e8d72dadf51e51b3119443f13ffb2.zip
s3-spoolss: Added a winreg_enumforms1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r--source3/rpc_server/srv_spoolss_util.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h
index 0ef57bca3d..28e7e5b485 100644
--- a/source3/rpc_server/srv_spoolss_util.h
+++ b/source3/rpc_server/srv_spoolss_util.h
@@ -170,4 +170,20 @@ WERROR winreg_delete_printer_key(struct pipes_struct *p,
const char *printer,
const char *key);
+/**
+ * @brief This function enumerates the forms supported by the specified printer.
+ *
+ * @param[in] p The pipes structure to be able to open a new pipe.
+ *
+ * @param[out] pnum_info A pointer to store the FormInfo count.
+ *
+ * @param[out] pinfo A pointer to store an array with FormInfo.
+ *
+ * @return On success WERR_OK, a corresponding DOS error is
+ * something went wrong.
+ */
+WERROR winreg_printer_enumforms1(struct pipes_struct *p,
+ uint32_t *pnum_info,
+ union spoolss_FormInfo **pinfo);
+
#endif /* _SRV_SPOOLSS_UITL_H */