GetThemeSysInt function (uxtheme.h)

Retrieves the value of a system int.

Syntax

HRESULT GetThemeSysInt(
  [in] HTHEME hTheme,
  [in] int    iIntId,
  [in] int    *piValue
);

Parameters

[in] hTheme

Type: HTHEME

Handle to theme data.

[in] iIntId

Type: int

Value of type int that specifies the desired system int. May be the following value.

Value Meaning
TMT_MINCOLORDEPTH
The minimum color depth, in bits, required to properly view this style.

[in] piValue

Type: int*

Pointer to an int that receives the system integer value.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT 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