GetThemeString
[DllImport("uxtheme.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern HRESULT GetThemeString(
IntPtr hTheme,
int iPartId,
int iStateId,
int iPropId,
StringBuilder pszBuff,
int cchMaxBuffChars
);
Microsoft documentation: Link
Last updated