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 1fcc3244ba..7d53348c81 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -238,4 +238,20 @@ WERROR winreg_printer_setform1(struct pipes_struct *p, const char *form_name, struct spoolss_AddFormInfo1 *form); +/** + * @brief This function retrieves information about a specified form. + * + * @param[in] p The pipes structure to be able to open a new pipe. + * + * @param[in] form_name The name of the form to query. + * + * @param[out] form A pointer to a form structure to fill out. + * + * @return On success WERR_OK, a corresponding DOS error is + * something went wrong. + */ +WERROR winreg_printer_getform1(struct pipes_struct *p, + const char *form_name, + struct spoolss_FormInfo1 *form); + #endif /* _SRV_SPOOLSS_UITL_H */ |