Retrieves the location of the theme property definition for a property.
#Include <WinAPIEx.au3>
_WinAPI_GetThemePropertyOrigin ( $hTheme, $iPartId, $iStateId, $iPropId )
| $hTheme | Handle to a window's specified theme data. |
| $iPartId | The part that contains the theme. |
| $iStateId | The state of the part. |
| $iPropId | The property to retrieve ($TMT_*). |
| Success | The value that indicates where the property was found. It can be one of the following values. |
| 0 | Property was found in the state section. |
| 1 | Property was found in the part section. |
| 2 | Property was found in the class section. |
| 3 | Property was found in the list of global variables. |
| 4 | Property was not found. |
| 失败: | 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码. |
在MSDN中搜索