title: How to Marshal a void* function return type and parameter in C#?
body: <p>I have a C function with prototype,
  <strong>void* VoidPointer(void*);</strong>
  Now I need to marshal it in C#(using DllImport). But I do not know how to mention the parameters in C# code. </p>
  
  <ul>
  <li>static public extern <strong>WHAT_RETURN_TYPE</strong> VoidPointer( <strong>WHAT_PARAMETER_TYPE</strong> ); </li>
  <li>How to make a call with the proper parameters in the C# code (SAMPLE USE)</li>
  </ul>
  
  <p>I am new to C# and need to solve this asap ( in several attempts have got errors like this cannot convert from 'int' to 'System.IntPtr')
  Thanks.</p>