GetThemeIntList

[DllImport("uxtheme.dll", SetLastError = true)]
public static extern HRESULT GetThemeIntList(
   IntPtr hTheme,
   int iPartId,
   int iStateId,
   int iPropId,
   out INTLIST pIntList
);

Microsoft documentation: Link

Last updated