2024-04-23 10:51:54 -04:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
2026-03-18 15:47:44 -04:00
|
|
|
namespace SabreTools.IO.Extensions.Test
|
2024-04-23 10:51:54 -04:00
|
|
|
{
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
internal struct TestStructSequential
|
|
|
|
|
{
|
2024-04-28 19:25:12 -04:00
|
|
|
public TestEnum FirstValue;
|
2024-04-23 10:51:54 -04:00
|
|
|
|
|
|
|
|
public int SecondValue;
|
|
|
|
|
|
|
|
|
|
public ushort ThirdValue;
|
2025-11-13 08:56:30 -05:00
|
|
|
|
2024-04-23 10:51:54 -04:00
|
|
|
public short FourthValue;
|
2024-04-28 16:42:51 -04:00
|
|
|
|
|
|
|
|
[MarshalAs(UnmanagedType.LPStr)]
|
|
|
|
|
public string? FifthValue;
|
2024-04-23 10:51:54 -04:00
|
|
|
}
|
|
|
|
|
}
|