SizeOf(type); var bytes = new byte[size]; /* struct to byte array */ IntPtr ptrIn = Marshal.AllocHGlobal(size); Marshal.
確定! 回上一頁