Files
ShrlAlgoToolkit/WPFluent/Interop/WinDef/SIZE.cs

33 lines
1009 B
C#
Raw Normal View History


/* This Source Code is partially based on reverse engineering of the Windows Operating System,
and is intended for use on Windows systems only.
This Source Code is partially based on the source code provided by the .NET Foundation. */
using System.Runtime.InteropServices;
namespace WPFluent.Interop.WinDef;
// ReSharper disable InconsistentNaming
#pragma warning disable SA1307 // Accessible fields should begin with upper-case letter
/// <summary>
/// The SIZE structure defines the width and height of a rectangle.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct SIZE
{
/// <summary>
/// Specifies the rectangle's width. The units depend on which function uses this structure.
/// </summary>
public long cx;
/// <summary>
/// Specifies the rectangle's height. The units depend on which function uses this structure.
/// </summary>
public long cy;
}
#pragma warning restore SA1307 // Accessible fields should begin with upper-case letter