Scroll to navigation

OpenThemeFile(3w) Wine API OpenThemeFile(3w)

NAME

OpenThemeFile (UXTHEME.2)

SYNOPSIS

HRESULT OpenThemeFile
(
LPCWSTR pszThemeFileName,
LPCWSTR pszColorName,
LPCWSTR pszSizeName,
HTHEMEFILE* hThemeFile,
DWORD unknown
)
 

DESCRIPTION

Opens a theme file, which can be used to change the current theme, etc.
 

PARAMS

pszThemeFileName Path to a msstyles theme file
pszColorName Color defined in the theme, eg. NormalColor
pszSizeName Size defined in the theme, eg. NormalSize
hThemeFile Handle to theme file.
 

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".
Oct 2012 Wine API