private static RECT GetThemeRect(UxTheme.SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId)
 {
     UxTheme.GetThemeRect(hTheme, iPartId, iStateId, iPropId, out var rect);
     return(rect);
 }
 private static extern HRESULT GetThemeBitmap(UxTheme.SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, int dwFlags, out IntPtr phBitmap);