using System.Runtime.InteropServices; public struct POINTL { [MarshalAs(UnmanagedType.I4)] public int x; [MarshalAs(UnmanagedType.I4)] public int y; }