mirror of
https://github.com/mastercodeon314/KsDumper-11.git
synced 2024-11-14 18:38:04 +01:00
27 lines
833 B
C#
27 lines
833 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DarkControls
|
|
{
|
|
public class Utils
|
|
{
|
|
[DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
|
|
public static extern IntPtr CreateRoundRectRgn
|
|
(
|
|
int nLeftRect, // x-coordinate of upper-left corner
|
|
int nTopRect, // y-coordinate of upper-left corner
|
|
int nRightRect, // x-coordinate of lower-right corner
|
|
int nBottomRect, // y-coordinate of lower-right corner
|
|
int nWidthEllipse, // width of ellipse
|
|
int nHeightEllipse // height of ellipse
|
|
);
|
|
|
|
public static int WM_NCHITTEST = 0x84;
|
|
public static int HT_CAPTION = 0x2;
|
|
}
|
|
}
|