private static bool SetWorkspace(SEBWorkingAreaHandler.RECT rect) { try { return(SEBWorkingAreaHandler.SystemParametersInfo(47, (int)IntPtr.Zero, ref rect, 3)); } catch (Exception ex) { Logger.AddError("Unable to set Working Area", (object)null, ex, (string)null); return(false); } }
private static extern bool SystemParametersInfo(int uiAction, int uiParam, ref SEBWorkingAreaHandler.RECT pvParam, int fWinIni);