diff options
author | Andreas Schneider <asn@samba.org> | 2010-04-01 12:45:58 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-07 15:16:53 +0200 |
commit | eebc66ce324192b38c1ceca857623c634875d379 (patch) | |
tree | 39700abd1dd043e8789d5cab5f0d515976ac9db4 /source3/rpc_server/srv_spoolss_util.h | |
parent | c7fb84a58fd3597431c0bbe131e51a95eaff8a70 (diff) | |
download | samba-eebc66ce324192b38c1ceca857623c634875d379.tar.gz samba-eebc66ce324192b38c1ceca857623c634875d379.tar.bz2 samba-eebc66ce324192b38c1ceca857623c634875d379.zip |
s3-spoolss: Added a winreg_getform1 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.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 */ |