13 lines
287 B
C#
13 lines
287 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace CC_Functions.W32.Native
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct RECT
|
|
{
|
|
public int Left, Top, Right, Bottom;
|
|
public int Height => Bottom - Top;
|
|
|
|
public int Width => Right - Left;
|
|
}
|
|
} |