PowerToys/src/settings-ui/PowerToys.Settings/Helpers/WINDOWPLACEMENT.cs

28 lines
813 B
C#
Raw Normal View History

// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
namespace PowerToys.Settings.Helpers
{
[Serializable]
[StructLayout(LayoutKind.Sequential)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1815:Override equals and operator equals on value types", Justification = "Interop")]
public struct WINDOWPLACEMENT
{
public int Length { get; set; }
public int Flags { get; set; }
public int ShowCmd { get; set; }
public POINT MinPosition { get; set; }
public POINT MaxPosition { get; set; }
public RECT NormalPosition { get; set; }
}
}