GetThemeSysSize

[DllImport("uxtheme.dll", SetLastError = true)]
public static extern HRESULT GetThemeSysSize(
   IntPtr hTheme,
   int iSizeId,
   out int piSize
);

Microsoft documentation: Link

Last updated