2021-10-25 20:23:36 +02:00
|
|
|
|
// 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;
|
|
|
|
|
|
|
2022-04-19 22:00:28 +02:00
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Helpers
|
2021-10-25 20:23:36 +02:00
|
|
|
|
{
|
|
|
|
|
|
[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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|