>>682
じゃあ、配列を渡したいときはこんな感じでいいのかな
fixedとかいる?

[DllImport("Hoge.dll", EntryPoint="Hoge")]
extern static void Hoge(out byte buffer);

public static void NewHoge(byte[] buffer)
{
    Hoge(out buffer[0]);
}