Files
PowerToys/src/settings-ui/Settings.UI/Helpers/WINDOWPLACEMENT.cs
2022-09-16 10:54:58 +02:00

27 lines
669 B
C#

// 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 Microsoft.PowerToys.Settings.UI.Helpers
{
[Serializable]
[StructLayout(LayoutKind.Sequential)]
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; }
}
}