Reference

GetThemeDefaults(3w)

NAME

GetThemeDefaults (UXTHEME.7)

SYNOPSIS

HRESULT GetThemeDefaults
(
LPCWSTR pszThemeFileName,
LPWSTR pszColorName,
DWORD dwColorNameLen,
LPWSTR pszSizeName,
DWORD dwSizeNameLen
)

DESCRIPTION

Get the default color & size for a theme.

PARAMS

pszThemeFileName Path to a msstyles theme file

pszColorName Buffer to receive the default color name

dwColorNameLen Length, in characters, of color name buffer

pszSizeName Buffer to receive the default size name

dwSizeNameLen Length, in characters, of size name buffer.

RETURNS

Success: S_OK

Failure: HRESULT error-code

IMPLEMENTATION

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

Implemented in "dlls/uxtheme/system.c".

Debug channel "uxtheme".

History