[DllImport("uxtheme.dll", SetLastError = true)] public static extern int GetThemeAppProperties( );
Microsoft documentation: Link
Last updated 1 year ago