24 calc_##name = (type_##name)GetProcAddress(hUxTheme, #name); \
25 if (calc_##name == NULL) calc_##name = dummy_##name;
static HTHEME WINAPI dummy_OpenThemeData(HWND hwnd, const WCHAR *pszClassList)
static BOOL WINAPI dummy_IsThemeBackgroundPartiallyTransparent(HTHEME hTheme, int iPartId, int iStateId)
type_DrawThemeParentBackground calc_DrawThemeParentBackground
static BOOL WINAPI dummy_IsThemeActive(void)
static BOOL WINAPI dummy_IsAppThemed(void)
type_OpenThemeData calc_OpenThemeData
static HRESULT WINAPI dummy_CloseThemeData(HTHEME hTheme)
void Theme_Start(HINSTANCE hInstance)
static HRESULT WINAPI dummy_DrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prc, const RECT *prcClip)
type_DrawThemeBackground calc_DrawThemeBackground
type_IsThemeBackgroundPartiallyTransparent calc_IsThemeBackgroundPartiallyTransparent
type_CloseThemeData calc_CloseThemeData
static HRESULT WINAPI dummy_DrawThemeParentBackground(HWND hWnd, HDC hdc, RECT *prc)
type_IsThemeActive calc_IsThemeActive
type_IsAppThemed calc_IsAppThemed
BOOL(WINAPI * type_IsThemeBackgroundPartiallyTransparent)(HTHEME, int, int)
HRESULT(WINAPI * type_DrawThemeBackground)(HTHEME, HDC, int, int, const RECT *, const RECT *)
HTHEME(WINAPI * type_OpenThemeData)(HWND, const WCHAR *)
BOOL(WINAPI * type_IsAppThemed)(void)
HRESULT(WINAPI * type_DrawThemeParentBackground)(HWND, HDC, RECT *)
HRESULT(WINAPI * type_CloseThemeData)(HTHEME)
BOOL(WINAPI * type_IsThemeActive)(void)
HRESULT WINAPI DrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, const RECT *pClipRect)
BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME hTheme, int iPartId, int iStateId)
HRESULT WINAPI DrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR classlist)
BOOL WINAPI IsThemeActive(void)
HRESULT WINAPI CloseThemeData(HTHEME hTheme)
BOOL WINAPI IsAppThemed(void)
static HTHEME(WINAPI *pOpenThemeDataEx)(HWND