A P/Invoke struct carries a contract that is not written down anywhere in the C# you see. [StructLayout(LayoutKind.Sequential, Pack = 1)] and a few [MarshalAs(...)] attributes decide, down to the byte
Markdown supported · ⌘↵ to post
No responses yet.