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 to obtain a pointer to the function.

Implemented in "dlls/uxtheme/system.c". gitlab.winehq.org/wine/wine/blob/master/dlls/uxtheme/system.c

Debug channel "uxtheme".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.