using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] struct CURSORINFO { public int cbSize;