c ++ – Is it possible to structure this?

I have to call C functions several times from a library, for which I claim to write a wrapper in C ++. In these C functions, the last two parameters are always the same, something like this, here I use zeros to indicate the same values:

result1 = cfunc1 (param1, param2, 0, 0);
result2 = cfunc2 (param1, param2, param3, 0, 0);
result3 = cfunc3 (param1, 0, 0);

I was wondering if it was possible to create a model such that I could call it that (or something even better if it exists?):

template_func (cfunc1, param1, param2); // note the two missing zeros
template_func (cfunc2, param1, param2, param3);
template_func (cfunc3, param1);

Therefore the template_func will it fill me the last two parameters before calling the actual function? If possible, what would it look like? The syntax? <3