GetThemeIntList function (uxtheme.h)

Retrieves a list of int data from a visual style.

Syntax

HRESULT GetThemeIntList(
  [in]  HTHEME  hTheme,
  [in]  int     iPartId,
  [in]  int     iStateId,
  [in]  int     iPropId,
  [out] INTLIST *pIntList
);

Parameters

[in] hTheme

Type: HTHEME

Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.

[in] iPartId

Type: int

Value of type int that specifies the part that contains the list of data to return. See Parts and States.

[in] iStateId

Type: int

Value of type int that specifies the state of the part. See Parts and States.

[in] iPropId

Type: int

Value of type int that specifies the property to retrieve. See Property Identifiers.

[out] pIntList

Type: INTLIST*

Pointer to an INTLIST structure that receives the int data.

Return value

Type: HRESULT

Returns S_OK if successful, otherwise an error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header uxtheme.h
Library UxTheme.lib
DLL UxTheme.dll (version 1.0 or later)

See also

INTLIST