---
name: "EnumThemes"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/EnumThemes"
---

# EnumThemes(3w)

## NAME

**EnumThemes** (UXTHEME.8)

## SYNOPSIS

HRESULT EnumThemes\
  (\
   LPCWSTR       *pszThemePath*,\
   EnumThemeProc *callback*,\
   LPVOID        *lpData*\
  )

## DESCRIPTION

Enumerate available themes, calls specified EnumThemeProc for each theme found. Passes *lpData* through to *callback* function.

## PARAMS

*pszThemePath* Path containing themes

*callback* Called for each theme found in path

*lpData* Passed through to *callback*.

## RETURNS

**Success:** **S\_OK**

**Failure:** **HRESULT** error-code

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

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

Debug channel **"uxtheme"**.
