Files
PowerToys/src/modules/powerdisplay/PowerDisplay.Lib/Drivers/NativeStructures/DisplayConfigSourceMode.cs
Yu Leng f1e45faee6 Refactor native structs into individual files, PascalCase
Split NativeStructures.cs into one file per struct, renaming all native structs to PascalCase for C# idioms. Updated all usages and P/Invoke signatures to match new names. Renamed GWL_WNDPROC to GwlWndproc for consistency. No functional changes; improves code organization and maintainability.
2025-12-26 17:25:03 +08:00

21 lines
572 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.Runtime.InteropServices;
namespace PowerDisplay.Common.Drivers
{
/// <summary>
/// Display configuration source mode
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct DisplayConfigSourceMode
{
public uint Width;
public uint Height;
public uint PixelFormat;
public DisplayConfigPoint Position;
}
}