2017-11-27 13:11:20 -05:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
using static Vanara.PInvoke.Gdi32;
|
|
|
|
|
|
|
|
|
|
namespace Vanara.PInvoke
|
|
|
|
|
{
|
|
|
|
|
public static partial class UxTheme
|
|
|
|
|
{
|
2018-01-27 20:27:05 -05:00
|
|
|
|
[PInvokeData("UxTheme.h")]
|
2017-11-27 13:11:20 -05:00
|
|
|
|
[DllImport(Lib.UxTheme, ExactSpelling = true, CharSet = CharSet.Unicode)]
|
2017-12-27 13:01:03 -05:00
|
|
|
|
public static extern HRESULT GetThemeFont(SafeThemeHandle hTheme, SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, out LOGFONT pFont);
|
2017-11-27 13:11:20 -05:00
|
|
|
|
|
2018-01-27 20:27:05 -05:00
|
|
|
|
[PInvokeData("UxTheme.h")]
|
2017-11-27 13:11:20 -05:00
|
|
|
|
[DllImport(Lib.UxTheme, ExactSpelling = true, CharSet = CharSet.Unicode)]
|
2017-12-27 13:01:03 -05:00
|
|
|
|
public static extern HRESULT GetThemeSysFont(SafeThemeHandle hTheme, int iFontId, out LOGFONT pFont);
|
2017-11-27 13:11:20 -05:00
|
|
|
|
}
|
|
|
|
|
}
|