# Function Reference

# _WinAPI_GetThemeEnumValue

Retrieves the value of an enumerated type property

#include <WinAPITheme.au3>
_WinAPI_GetThemeEnumValue ( $hTheme, $iPartID, $iStateID, $iPropID )

## Parameters

$hTheme | Handle to a window's specified theme data.
$iPartID | The part that contains the enumerated type property.
$iStateID | The state of the part.
$iPropID | The property to retrieve ($TMT_*).

## Return Value

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

## See Also

Search GetThemeEnumValue in MSDN Library.