Retrieves the value of an enumerated type property
#include <WinAPITheme.au3>
_WinAPI_GetThemeEnumValue ( $hTheme, $iPartID, $iStateID, $iPropID )
| $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_*). |
| Success: | The enumerated type value. |
| Failure: | Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code. |
Search GetThemeEnumValue in MSDN Library.