SyntaxFix
Write A Post
Hire A Developer
Questions
You need to declare disconnectFunc as a function pointer, not a void pointer. You also need to call it as a function (with parentheses), and no "*" is needed.