11#include <commoncontrols.h>
14#define IDI_SHELL32_DESKTOP 35
15#define IDI_IMAGERES_DESKTOP 110
17#define SHOW_DESKTOP_TIMER_ID 999
18#define SHOW_DESKTOP_TIMER_INTERVAL 200
24 m_highContrastMode(
FALSE),
25 m_drawWithDedicatedBackground(
FALSE),
52 return max(16 + CurMargin, 18) + 6;
72 if (bIconRetrievalFailed || !
m_icon)
96 if (nTime1 - nTime0 >= 600)
144 hcInfo.
cbSize =
sizeof(hcInfo);
366 iconX += (rc.
right - iconX) / 2;
371 iconY += (rc.
bottom - iconY) / 2;
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)
HRESULT WINAPI GetThemeMargins(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, RECT *prc, MARGINS *pMargins)
HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR classlist)
BOOL WINAPI IsThemePartDefined(HTHEME hTheme, int iPartId, int iStateId)
HTHEME WINAPI GetWindowTheme(HWND hwnd)
BOOL WINAPI IsThemeActive(void)
HRESULT WINAPI CloseThemeData(HTHEME hTheme)
UINT WINAPI ExtractIconExW(LPCWSTR lpszFile, INT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIcons)
static HTHEME(WINAPI *pOpenThemeDataEx)(HWND
#define SHOW_DESKTOP_TIMER_INTERVAL
#define IDI_SHELL32_DESKTOP
#define SHOW_DESKTOP_TIMER_ID
#define IDI_IMAGERES_DESKTOP
#define TRAYCMD_TOGGLE_DESKTOP
HRESULT WINAPI SetWindowTheme(_In_ HWND hwnd, _In_ LPCWSTR pszSubAppName, _In_ LPCWSTR pszSubIdList)
#define TMT_CONTENTMARGINS
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HWND WINAPI SetCapture(_In_ HWND hWnd)
BOOL WINAPI IsWindow(_In_opt_ HWND)
#define HCF_HIGHCONTRASTON
BOOL WINAPI ReleaseCapture(void)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
BOOL WINAPI GetCursorPos(_Out_ LPPOINT)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI DrawEdge(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
LONG WINAPI GetMessageTime(void)
HWND WINAPI GetParent(_In_ HWND)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
#define SystemParametersInfo
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
BOOL WINAPI IsWindowVisible(_In_ HWND)
int WINAPI GetSystemMetrics(_In_ int)