1 instantiation of HTHEME
System.Windows.Forms.Primitives (1)
_generated\101\Windows.Win32.HTHEME.g.cs (1)
37
public static explicit operator HTHEME(IntPtr value) => new
HTHEME
(value);
107 references to HTHEME
System.Windows.Forms (15)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (15)
13
public sealed class VisualStyleRenderer : IHandle<
HTHEME
>
94
HTHEME
hTheme = GetHandle(className, false);
179
HTHEME
IHandle<
HTHEME
>.Handle => (
HTHEME
)Handle;
181
internal
HTHEME
HTHEME => (
HTHEME
)Handle;
832
private static
HTHEME
GetHandle(string className)
841
private static
HTHEME
GetHandle(string className, bool throwExceptionOnFail)
856
return
HTHEME
.Null;
872
private class ThemeHandle : IDisposable, IHandle<
HTHEME
>
874
private ThemeHandle(
HTHEME
hTheme)
879
public
HTHEME
Handle { get; private set; }
889
HTHEME
hTheme = PInvoke.OpenThemeData(hWndRef, className);
901
Handle =
HTHEME
.Null;
System.Windows.Forms.Primitives (92)
_generated\101\Windows.Win32.HTHEME.g.cs (10)
25
: IEquatable<
HTHEME
>
31
internal static
HTHEME
Null => default;
35
public static implicit operator IntPtr(
HTHEME
value) => value.Value;
37
public static explicit operator
HTHEME
(IntPtr value) => new HTHEME(value);
39
public static bool operator ==(
HTHEME
left,
HTHEME
right) => left.Value == right.Value;
41
public static bool operator !=(
HTHEME
left,
HTHEME
right) => !(left == right);
43
public bool Equals(
HTHEME
other) => this.Value == other.Value;
45
public override bool Equals(object obj) => obj is
HTHEME
other && this.Equals(other);
_generated\426\Windows.Win32.PInvoke.UXTHEME.dll.g.cs (78)
37
internal static extern winmdroot.Foundation.HRESULT CloseThemeData(winmdroot.UI.Controls.
HTHEME
hTheme);
39
/// <inheritdoc cref="DrawThemeBackground(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*)"/>
42
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeBackground(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.RECT pRect, [Optional] winmdroot.Foundation.RECT? pClipRect)
83
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeBackground(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.RECT* pRect, [Optional] winmdroot.Foundation.RECT* pClipRect);
85
/// <inheritdoc cref="DrawThemeEdge(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS, winmdroot.Foundation.RECT*)"/>
88
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeEdge(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.RECT pDestRect, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS uEdge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS uFlags, out winmdroot.Foundation.RECT pContentRect)
100
/// <inheritdoc cref="DrawThemeEdge(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS, winmdroot.Foundation.RECT*)"/>
102
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeEdge(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.RECT pDestRect, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS uEdge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS uFlags)
150
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeEdge(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.RECT* pDestRect, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS uEdge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS uFlags, [Optional] winmdroot.Foundation.RECT* pContentRect);
185
/// <inheritdoc cref="DrawThemeText(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.PCWSTR, int, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT, uint, winmdroot.Foundation.RECT*)"/>
188
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeText(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, string pszText, int cchText, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, uint dwTextFlags2, in winmdroot.Foundation.RECT pRect)
243
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeText(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.PCWSTR pszText, int cchText, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, uint dwTextFlags2, winmdroot.Foundation.RECT* pRect);
310
/// <inheritdoc cref="GetThemeBackgroundContentRect(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*)"/>
313
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundContentRect(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.RECT pBoundingRect, out winmdroot.Foundation.RECT pContentRect)
356
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundContentRect(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.RECT* pBoundingRect, winmdroot.Foundation.RECT* pContentRect);
358
/// <inheritdoc cref="GetThemeBackgroundExtent(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*)"/>
361
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundExtent(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.RECT pContentRect, out winmdroot.Foundation.RECT pExtentRect)
404
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundExtent(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.RECT* pContentRect, winmdroot.Foundation.RECT* pExtentRect);
406
/// <inheritdoc cref="GetThemeBackgroundRegion(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.HRGN*)"/>
409
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundRegion(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.RECT pRect, out winmdroot.Graphics.Gdi.HRGN pRegion)
452
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundRegion(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.RECT* pRect, winmdroot.Graphics.Gdi.HRGN* pRegion);
454
/// <inheritdoc cref="GetThemeBool(winmdroot.UI.Controls.
HTHEME
, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, winmdroot.Foundation.BOOL*)"/>
457
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBool(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, out winmdroot.Foundation.BOOL pfVal)
491
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBool(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, winmdroot.Foundation.BOOL* pfVal)
497
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, winmdroot.Foundation.BOOL* pfVal);
500
/// <inheritdoc cref="GetThemeColor(winmdroot.UI.Controls.
HTHEME
, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, winmdroot.Foundation.COLORREF*)"/>
503
internal static unsafe winmdroot.Foundation.HRESULT GetThemeColor(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, out winmdroot.Foundation.COLORREF pColor)
540
internal static unsafe winmdroot.Foundation.HRESULT GetThemeColor(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, winmdroot.Foundation.COLORREF* pColor)
546
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, winmdroot.Foundation.COLORREF* pColor);
588
/// <inheritdoc cref="GetThemeEnumValue(winmdroot.UI.Controls.
HTHEME
, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, int*)"/>
591
internal static unsafe winmdroot.Foundation.HRESULT GetThemeEnumValue(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, out int piVal)
628
internal static unsafe winmdroot.Foundation.HRESULT GetThemeEnumValue(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, int* piVal)
634
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, int* piVal);
637
/// <inheritdoc cref="GetThemeFilename(winmdroot.UI.Controls.
HTHEME
, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, winmdroot.Foundation.PWSTR, int)"/>
639
internal static unsafe winmdroot.Foundation.HRESULT GetThemeFilename(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, Span<char>pszThemeFileName)
680
internal static winmdroot.Foundation.HRESULT GetThemeFilename(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, winmdroot.Foundation.PWSTR pszThemeFileName, int cchMaxBuffChars)
686
static extern winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, winmdroot.Foundation.PWSTR pszThemeFileName, int cchMaxBuffChars);
689
/// <inheritdoc cref="GetThemeFont(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, int, winmdroot.Graphics.Gdi.LOGFONTW*)"/>
692
internal static unsafe winmdroot.Foundation.HRESULT GetThemeFont(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, int iPropId, out winmdroot.Graphics.Gdi.LOGFONTW pFont)
735
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeFont(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, int iPropId, winmdroot.Graphics.Gdi.LOGFONTW* pFont);
737
/// <inheritdoc cref="GetThemeInt(winmdroot.UI.Controls.
HTHEME
, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, int*)"/>
740
internal static unsafe winmdroot.Foundation.HRESULT GetThemeInt(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, out int piVal)
777
internal static unsafe winmdroot.Foundation.HRESULT GetThemeInt(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, int* piVal)
783
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, int* piVal);
786
/// <inheritdoc cref="GetThemeMargins(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, winmdroot.Foundation.RECT*, winmdroot.UI.Controls.MARGINS*)"/>
789
internal static unsafe winmdroot.Foundation.HRESULT GetThemeMargins(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, [Optional] winmdroot.Foundation.RECT? prc, out winmdroot.UI.Controls.MARGINS pMargins)
835
internal static unsafe winmdroot.Foundation.HRESULT GetThemeMargins(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, [Optional] winmdroot.Foundation.RECT* prc, winmdroot.UI.Controls.MARGINS* pMargins)
841
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, int iPropId, [Optional] winmdroot.Foundation.RECT* prc, winmdroot.UI.Controls.MARGINS* pMargins);
844
/// <inheritdoc cref="GetThemePartSize(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.RECT*, winmdroot.UI.Controls.THEMESIZE, winmdroot.Foundation.SIZE*)"/>
847
internal static unsafe winmdroot.Foundation.HRESULT GetThemePartSize(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, [Optional] winmdroot.Foundation.RECT? prc, winmdroot.UI.Controls.THEMESIZE eSize, out winmdroot.Foundation.SIZE psz)
890
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemePartSize(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, [Optional] winmdroot.Foundation.RECT* prc, winmdroot.UI.Controls.THEMESIZE eSize, winmdroot.Foundation.SIZE* psz);
892
/// <inheritdoc cref="GetThemePosition(winmdroot.UI.Controls.
HTHEME
, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, global::System.Drawing.Point*)"/>
895
internal static unsafe winmdroot.Foundation.HRESULT GetThemePosition(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, out global::System.Drawing.Point pPoint)
930
internal static unsafe winmdroot.Foundation.HRESULT GetThemePosition(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, global::System.Drawing.Point* pPoint)
936
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, global::System.Drawing.Point* pPoint);
939
/// <inheritdoc cref="GetThemeString(winmdroot.UI.Controls.
HTHEME
, int, int, int, winmdroot.Foundation.PWSTR, int)"/>
941
internal static unsafe winmdroot.Foundation.HRESULT GetThemeString(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, Span<char>pszBuff)
983
internal static extern winmdroot.Foundation.HRESULT GetThemeString(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId, int iPropId, winmdroot.Foundation.PWSTR pszBuff, int cchMaxBuffChars);
1000
internal static winmdroot.Foundation.BOOL GetThemeSysBool([Optional] winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iBoolId)
1006
static extern winmdroot.Foundation.BOOL LocalExternFunction([Optional] winmdroot.UI.Controls.
HTHEME
hTheme, int iBoolId);
1009
/// <inheritdoc cref="GetThemeSysInt(winmdroot.UI.Controls.
HTHEME
, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, int*)"/>
1012
internal static unsafe winmdroot.Foundation.HRESULT GetThemeSysInt(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iIntId, out int piValue)
1042
internal static unsafe winmdroot.Foundation.HRESULT GetThemeSysInt(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iIntId, int* piValue)
1048
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.
HTHEME
hTheme, int iIntId, int* piValue);
1051
/// <inheritdoc cref="GetThemeTextExtent(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.PCWSTR, int, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*)"/>
1054
internal static unsafe winmdroot.Foundation.HRESULT GetThemeTextExtent(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, string pszText, int cchCharCount, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, [Optional] winmdroot.Foundation.RECT? pBoundingRect, out winmdroot.Foundation.RECT pExtentRect)
1112
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeTextExtent(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.PCWSTR pszText, int cchCharCount, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, [Optional] winmdroot.Foundation.RECT* pBoundingRect, winmdroot.Foundation.RECT* pExtentRect);
1114
/// <inheritdoc cref="GetThemeTextMetrics(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Graphics.Gdi.TEXTMETRICW*)"/>
1117
internal static unsafe winmdroot.Foundation.HRESULT GetThemeTextMetrics(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, out winmdroot.Graphics.Gdi.TEXTMETRICW ptm)
1155
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeTextMetrics(winmdroot.UI.Controls.
HTHEME
hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Graphics.Gdi.TEXTMETRICW* ptm);
1157
/// <inheritdoc cref="HitTestThemeBackground(winmdroot.UI.Controls.
HTHEME
, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.UI.Controls.HIT_TEST_BACKGROUND_OPTIONS, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.HRGN, global::System.Drawing.Point, ushort*)"/>
1160
internal static unsafe winmdroot.Foundation.HRESULT HitTestThemeBackground(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.HIT_TEST_BACKGROUND_OPTIONS dwOptions, in winmdroot.Foundation.RECT pRect, [Optional] winmdroot.Graphics.Gdi.HRGN hrgn, global::System.Drawing.Point ptTest, out ushort pwHitTestCode)
1216
internal static extern unsafe winmdroot.Foundation.HRESULT HitTestThemeBackground(winmdroot.UI.Controls.
HTHEME
hTheme, [Optional] winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.HIT_TEST_BACKGROUND_OPTIONS dwOptions, winmdroot.Foundation.RECT* pRect, [Optional] winmdroot.Graphics.Gdi.HRGN hrgn, global::System.Drawing.Point ptTest, ushort* pwHitTestCode);
1254
internal static extern winmdroot.Foundation.BOOL IsThemeBackgroundPartiallyTransparent(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId);
1278
internal static extern winmdroot.Foundation.BOOL IsThemePartDefined(winmdroot.UI.Controls.
HTHEME
hTheme, int iPartId, int iStateId);
1283
internal static unsafe winmdroot.UI.Controls.
HTHEME
OpenThemeData([Optional] winmdroot.Foundation.HWND hwnd, string pszClassList)
1287
winmdroot.UI.Controls.
HTHEME
__result = PInvoke.OpenThemeData(hwnd, pszClassListLocal);
1310
internal static extern winmdroot.UI.Controls.
HTHEME
OpenThemeData([Optional] winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.PCWSTR pszClassList);
Windows\Win32\PInvoke.GetThemeFont.cs (2)
10
/// <inheritdoc cref="GetThemeFont(
HTHEME
, HDC, int, int, int, LOGFONTW*)"/>
12
where T : IHandle<
HTHEME
>
Windows\Win32\PInvoke.OpenThemeDataScope.cs (2)
23
public
HTHEME
HTheme { get; }
33
public static implicit operator
HTHEME
(in OpenThemeDataScope scope) => scope.HTheme;