public RectangleI GetClientArea()
        {
            var systemMetrics1 = InternalNativeMethods.GetSystemMetrics(nIndex: 76);
            var systemMetrics2 = InternalNativeMethods.GetSystemMetrics(nIndex: 77);
            var systemMetrics3 = InternalNativeMethods.GetSystemMetrics(nIndex: 78);
            var systemMetrics4 = InternalNativeMethods.GetSystemMetrics(nIndex: 79);

            if (systemMetrics3 == 0 || systemMetrics4 == 0)
            {
                throw new Exception(message: "GetSystemMetrics failed");
            }
            Log.Out(msg: "Client Area ({0}, {1}, {2}, {3})", (object)systemMetrics1, (object)systemMetrics2, (object)systemMetrics3, (object)systemMetrics4);
            return(new RectangleI(x: systemMetrics1, y: systemMetrics2, width: systemMetrics3, height: systemMetrics4));
        }
 public bool GetMouseButtonsSwapped()
 {
     return(InternalNativeMethods.GetSystemMetrics(nIndex: 23) != 0);
 }