C# command to get struct offset?

前端 未结 2 1329
执念已碎
执念已碎 2021-02-15 19:25

Suppose I have a C# struct like this:

[StructLayout(LayoutKind.Explicit)]
struct IMAGE_DOS_HEADER {
    [FieldOffset(60)] public int e_lfanew;
}
<
2条回答
提交回复
热议问题