优化更新代码,添加界面功能并整合
This commit is contained in:
32
WPFluent/Interop/WinDef/SIZE.cs
Normal file
32
WPFluent/Interop/WinDef/SIZE.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
|
||||
/* 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
|
||||
Reference in New Issue
Block a user