OpenThemeFile (UXTHEME.2)
HRESULT OpenThemeFile
(
LPCWSTR pszThemeFileName,
LPCWSTR pszColorName,
LPCWSTR pszSizeName,
HTHEMEFILE* hThemeFile,
DWORD unknown
)
Opens a theme file, which can be used to change the current theme, etc.
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.
Success: S_OK
Failure: HRESULT error-code
Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.
Implemented in "dlls/uxtheme/system.c".
Debug channel "uxtheme".