EnumThemeSizes(3w)

NAME

EnumThemeSizes (UXTHEME.10)

SYNOPSIS

HRESULT EnumThemeSizes
 (
  LPWSTR      pszThemeFileName,
  LPWSTR      pszColorName,
  DWORD       dwSizeNum,
  PTHEMENAMES pszSizeNames
 )

DESCRIPTION

Enumerate theme colors available with a particular size.

PARAMS

pszThemeFileName Path to a msstyles theme file

pszColorName Theme color to enumerate available sizes

If NULL the default theme color is used

dwSizeNum Size index to retrieve, increment from 0

pszSizeNames Output size names.

RETURNS

S_OK on success E_PROP_ID_UNSUPPORTED when dwSizeName does not refer to a size or when pszColorName does not refer to a valid color.

NOTES

XP fails with E_POINTER when pszSizeNames points to a buffer smaller than sizeof(THEMENAMES).

Not very efficient that I'm opening & validating the theme every call, but this is undocumented and almost never called.. (and this is how Windows(tm) works too)

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/uxtheme/system.c".

Debug channel "uxtheme".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout