[DllImport("uxtheme.dll", SetLastError = true)] public static extern HRESULT GetThemeColor( IntPtr hTheme, int iPartId, int iStateId, int iPropId, out COLORREF pColor );
Microsoft documentation: Link
Last updated 1 year ago