diff options
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index 21e3d3581b..0ef57bca3d 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -152,4 +152,22 @@ WERROR winreg_enum_printer_key(struct pipes_struct *p, uint32_t *pnum_subkeys, const char ***psubkeys); +/** + * @internal + * + * @brief Delete a key with subkeys of a given printer. + * + * @param[in] p The pipes structure to be able to open a new pipe. + * + * @param[in] printer The printer name. + * + * @param[in] key The key of the printer to delete. + * + * @return On success WERR_OK, a corresponding DOS error is + * something went wrong. + */ +WERROR winreg_delete_printer_key(struct pipes_struct *p, + const char *printer, + const char *key); + #endif /* _SRV_SPOOLSS_UITL_H */ |