Pass a reference to a function with paramters (as a pointers).