GetThemeSysInt function

Retrieves the value of a system int.

Syntax

THEMEAPI GetThemeSysInt(
  HTHEME hTheme,
  int    iIntId,
  int    *piValue
);

Parameters

hTheme

Type: HTHEME

Handle to theme data.

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.

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

   
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