1 module dfl.internal.visualstyles;
2 
3 import core.sys.windows.windows;
4 
5 alias HTHEME = HANDLE;
6 alias THEMEAPI = HRESULT;
7 
8 BOOL IsAppThemed();
9 HTHEME OpenThemeData(HWND hwnd, LPCWSTR pszClassList);
10 HRESULT CloseThemeData(HTHEME hTheme);
11 HRESULT GetThemeColor(HTHEME hTheme, int iPartId, int iStateId, int iPropId, COLORREF *pColor);
12 THEMEAPI SetWindowTheme(HWND hwnd, LPCWSTR pszSubAppName, LPCWSTR pszSubIdList);