GetCurrentThemeName function uxtheme
Retrieves the name of the current visual style, and optionally retrieves the color scheme name and size name.
HRESULT GetCurrentThemeName(
LPWSTR pszThemeFileName,
int cchMaxNameChars,
LPWSTR pszColorBuff,
int cchMaxColorChars,
LPWSTR pszSizeBuff,
int cchMaxSizeChars
);
Implementation
int GetCurrentThemeName(
Pointer<Utf16> pszThemeFileName,
int cchMaxNameChars,
Pointer<Utf16> pszColorBuff,
int cchMaxColorChars,
Pointer<Utf16> pszSizeBuff,
int cchMaxSizeChars) =>
_GetCurrentThemeName(pszThemeFileName, cchMaxNameChars, pszColorBuff,
cchMaxColorChars, pszSizeBuff, cchMaxSizeChars);