.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH EnumThemeSizes 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBEnumThemeSizes\fR (UXTHEME.10) .SH SYNOPSIS HRESULT EnumThemeSizes ( LPWSTR \fIpszThemeFileName\fR, LPWSTR \fIpszColorName\fR, DWORD \fIdwSizeNum\fR, PTHEMENAMES \fIpszSizeNames\fR ) .SH DESCRIPTION .PP Enumerate theme colors available with a particular size. .SH PARAMS \fIpszThemeFileName\fR Path to a msstyles theme file .PP \fIpszColorName\fR Theme color to enumerate available sizes .PP If \fBNULL\fR the default theme color is used .PP \fIdwSizeNum\fR Size index to retrieve, increment from \fB0\fR .PP \fIpszSizeNames\fR Output size names. .PP .SH RETURNS .PP \fBS_OK\fR on success \fBE_PROP_ID_UNSUPPORTED\fR when dwSizeName does not refer to a size or when \fIpszColorName\fR does not refer to a valid color. .SH NOTES .PP \fBXP\fR fails with \fBE_POINTER\fR when \fIpszSizeNames\fR points to a buffer smaller than sizeof(\fBTHEMENAMES\fR). .PP Not very efficient that I'm opening & validating the theme every call, but this is undocumented and almost never called.\fB.\fR (and this is how Windows(tm) works too) .SH IMPLEMENTATION .PP Exported by ordinal only. Use \fBGetProcAddress(3w)\fR to obtain a pointer to the function. .PP Implemented in \fB"dlls/uxtheme/system.c"\fR. .PP Debug channel \fB"uxtheme"\fR.