Compiler Error C2095

'function' : actual parameter has type 'void' : parameter 'number'

An attempt was made to pass a void argument to a function. The given number indicates which parameter was in error.

Formal parameters and parameters to functions cannot have type void. They can, however, have type void * (pointer_to_void).