mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-01 01:27:33 +13:00
16 lines
397 B
C#
16 lines
397 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace SystemTrayMenu.DllImports
|
|
{
|
|
public static partial class NativeMethods
|
|
{
|
|
[DllImport("gdi32.dll")]
|
|
private static extern int GetDeviceCaps(IntPtr hdc, int nIndex);
|
|
|
|
public static int Gdi32GetDeviceCaps(IntPtr hdc, int nIndex)
|
|
{
|
|
return GetDeviceCaps(hdc, nIndex);
|
|
}
|
|
}
|
|
}
|