Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetThemeSysInt
Collapse the table of content
Expand the table of content

GetThemeSysInt function

Retrieves the value of a system int.

Syntax


HRESULT GetThemeSysInt(
  _In_ HTHEME hTheme,
  _In_ int    iIntID,
  _In_ int    *piValue
);

Parameters

hTheme [in]

Type: HTHEME

Handle to theme data.

iIntID [in]

Type: int

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

ValueMeaning
TMT_MINCOLORDEPTH

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

 

piValue [in]

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]

Header

Uxtheme.h

Library

UxTheme.lib

DLL

UxTheme.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft