WINDOWPLACEMENT.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System; 6 using System.Runtime.InteropServices; 7 8 namespace Microsoft.PowerToys.Settings.UI.Helpers 9 { 10 [Serializable] 11 [StructLayout(LayoutKind.Sequential)] 12 public struct WINDOWPLACEMENT 13 { 14 public int Length { get; set; } 15 16 public int Flags { get; set; } 17 18 public int ShowCmd { get; set; } 19 20 public POINT MinPosition { get; set; } 21 22 public POINT MaxPosition { get; set; } 23 24 public RECT NormalPosition { get; set; } 25 } 26 }