WIMLIBAPI int
wimlib_reference_template_image(WIMStruct *wim, int new_image,
WIMStruct *template_wim, int template_image,
- int flags, wimlib_progress_func_t progress_func)
+ int flags)
{
int ret;
struct wim_image_metadata *new_imd;
+ if (flags != 0)
+ return WIMLIB_ERR_INVALID_PARAM;
+
if (wim == NULL || template_wim == NULL)
return WIMLIB_ERR_INVALID_PARAM;