title: How can I Store this pointer in a buffer in C#?
body: <pre><code>[DllImport("Azoteq_HID_DLL.dll", CallingConvention = CallingConvention.StdCall, CharSet   =CharSet.Ansi)]
  public static extern int SetCurrentSerial(int Size, void* Msg);
  </code></pre>
  
  <p>Here is my attempt, getting a syntax error "cannot convert byte[] to byte"</p>
  
  <pre><code>byte Size = new byte[1024];
  void* Msg;
  SetCurrentSerial(Size, &amp;Msg);
  </code></pre>