_winxptheme.GetCurrentThemeName

(string, string, string) = GetCurrentThemeName()

Get the name of the current theme in-use, the canonical color scheme name (not the display name) and the canonical size name (not the display name).