const char *tmp_subkeyname;
if ((path == NULL) || (hivename == NULL) || (subkeyname == NULL)) {
- return WERR_INVALID_PARAM;
+ return WERR_INVALID_PARAMETER;
}
if (strlen(path) == 0) {
- return WERR_INVALID_PARAM;
+ return WERR_INVALID_PARAMETER;
}
if (strchr(path, '\\') == NULL) {
}
if (devmode->size != (ndr_size_spoolss_DeviceMode(devmode, 0) - devmode->__driverextra_length)) {
- result = WERR_INVALID_PARAM;
+ result = WERR_INVALID_PARAMETER;
goto done;
}
for (i = 0; i < num_builtin; i++) {
if (strequal(builtin_forms1[i].form_name, form->form_name)) {
- result = WERR_INVALID_PARAM;
+ result = WERR_INVALID_PARAMETER;
goto done;
}
}
* @param[in] form_name The name of the form to delete.
*
* @return WERR_OK on success.
- * WERR_INVALID_PARAM if the form is a builtin form.
+ * WERR_INVALID_PARAMETER if the form is a builtin form.
* WERR_INVALID_FORM_NAME if the form or key doesn't exist.
* A corresponding DOS error is something went wrong.
*/
* @param[in] form The FormInfo structure to save.
*
* @return WERR_OK on success.
- * WERR_INVALID_PARAM if the form is a builtin form.
+ * WERR_INVALID_PARAMETER if the form is a builtin form.
* A corresponding DOS error is something went wrong.
*/
WERROR winreg_printer_setform1(TALLOC_CTX *mem_ctx,