Compiler Error C2095

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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

The parameter passed to the function is type void, which is not allowed. Use a pointer to void ( void *) instead.

The number indicates which parameter is void.

Show: