# Function Reference

# _WinAPI_GetThemeSysString

Retrieves the value of a system string

#include <WinAPITheme.au3>
_WinAPI_GetThemeSysString ( $hTheme, $iStringID )

## Parameters

$hTheme | Handle to the theme data.
$iStringID | The value that specifies a system string. It may be one of the following values. $TMT_CSSNAME $TMT_XMLNAME

## Return Value

Success: | The string value.
Failure: | Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## Remarks

If the theme data handle is not 0, this function returns the desired string from the SysMetrics section of the
visual style, otherwise, the function returns the value of the global system metric.

## See Also

Search GetThemeSysString in MSDN Library.