table of contents
other versions
- wheezy 1.4.1-4
EnumThemeSizes(3w) | Wine API | 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 "dlls/uxtheme/system.c". Debug channel "uxtheme".Oct 2012 | Wine API |