Compiler Error C2095

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2095.

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: