diff options
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.h | 16 |
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 */ |