IsThemePartDefined function
Retrieves whether a visual style has defined parameters for the specified part and state.
Syntax
BOOL IsThemePartDefined( _In_ HTHEME hTheme, _In_ int iPartId, _In_ int iStateId );
Parameters
- hTheme [in]
-
Type: HTHEME
Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.
- iPartId [in]
-
Type: int
Value of type int that specifies the part. See Parts and States.
- iStateId [in]
-
Type: int
Currently unused. The value should be 0.
Return value
Type: BOOL
Returns one of the following values.
| Return code | Description |
|---|---|
|
The theme has defined parameters for the specified iPartId and iStateId |
|
The theme does not have defined parameters for the specified iPartId and iStateId |
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012