#include "precomp.h"Go to the source code of this file.
| Defines | |
| #define | MAXPAL 256 | 
| #define | MAXSTATIC 20 | 
| #define | TILE_XMINSIZE 2 | 
| #define | TILE_YMINSIZE 4 | 
| #define | MAXTXTBUFFER 80 | 
| #define | MAXVERSIONBUFFER 300 | 
| #define | MAXVERSIONSTRING 100 | 
| #define | OFFSET_BLDSTRING 0 | 
| #define | OFFSET_TYPSTRING 100 | 
| #define | OFFSET_CSDSTRING 200 | 
| #define | GDWPN_KEYSIZE 40 | 
| #define | GDWPN_BITSIZE 256 | 
| #define | FIXED_GAMMA (WORD)13000 | 
| Functions | |
| void | xxxInvalidateDesktopOnPaletteChange (PWND pwnd) | 
| __inline void | SetBestStretchMode (HDC hdc, UINT bpp, BOOL fHT) | 
| VOID | GetVersionInfo (BOOL Verbose) | 
| VOID | GetDefaultWallpaperName (LPWSTR lpszWallpaper) | 
| LPWSTR | GetDeskWallpaperName (PUNICODE_STRING pProfileUserName, LPWSTR lpszFile) | 
| BOOL | TestVGAColors (LPLOGPALETTE ppal) | 
| VOID | DoHTColorAdjust (HDC hdc) | 
| HBITMAP | ConvertToDDB (HDC hdc, HBITMAP hbmOld, HPALETTE hpal) | 
| HPALETTE | CreatePaletteFromBitmap (HBITMAP hbm) | 
| BOOL | TileWallpaper (HDC hdc, LPCRECT lprc, BOOL fOffset) | 
| BOOL | GetWallpaperCenterRect (LPRECT lprc, LPPOINT lppt, LPCRECT lprcMonitor) | 
| BOOL | CenterWallpaper (HDC hdc, LPCRECT lprcMonitor) | 
| BOOL | xxxDrawWallpaper (PWND pwnd, HDC hdc, PMONITOR pMonitorPaint, LPCRECT lprc) | 
| HBITMAP | xxxExpandBitmap (HBITMAP hbm) | 
| BOOL | xxxLoadDesktopWallpaper (LPWSTR lpszFile) | 
| BOOL | xxxSetDeskWallpaper (PUNICODE_STRING pProfileUserName, LPWSTR lpszFile) | 
| void | DesktopBuildPaint (HDC hdc, PMONITOR pMonitor) | 
| BOOL | xxxDesktopPaintCallback (PMONITOR pMonitor, HDC hdc, LPRECT lprcMonitorClip, LPARAM dwData) | 
| BOOL | xxxInternalPaintDesktop (PWND pwnd, HDC hdc, BOOL fPaint) | 
| Variables | |
| WCHAR | wszT [MAXTXTBUFFER] | 
| WCHAR | SafeModeStr [64] | 
| int | SafeModeStrLen | 
| WCHAR | wszProductName [MAXTXTBUFFER] | 
| WCHAR | wszProductBuild [MAXTXTBUFFER] | 
| 
 | 
| 
 Definition at line 428 of file dtbitmap.c. Referenced by DoHTColorAdjust(). | 
| 
 | 
| 
 Definition at line 262 of file dtbitmap.c. Referenced by GetDeskWallpaperName(). | 
| 
 | 
| 
 Definition at line 261 of file dtbitmap.c. Referenced by GetDeskWallpaperName(). | 
| 
 | 
| 
 Definition at line 18 of file dtbitmap.c. Referenced by CreatePaletteFromBitmap(). | 
| 
 | 
| 
 Definition at line 19 of file dtbitmap.c. | 
| 
 | 
| 
 Definition at line 39 of file dtbitmap.c. | 
| 
 | 
| 
 Definition at line 40 of file dtbitmap.c. Referenced by GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 41 of file dtbitmap.c. Referenced by GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 42 of file dtbitmap.c. Referenced by GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 44 of file dtbitmap.c. Referenced by GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 43 of file dtbitmap.c. Referenced by GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 20 of file dtbitmap.c. Referenced by xxxExpandBitmap(). | 
| 
 | 
| 
 Definition at line 21 of file dtbitmap.c. Referenced by xxxExpandBitmap(). | 
| 
 | ||||||||||||
| 
 Definition at line 762 of file dtbitmap.c. References BOOL, CreateEmptyRgn(), FALSE, FillRect(), GetWallpaperCenterRect(), ghbmWallpaper, ghdcMem, SYSHBR, and TRUE. Referenced by xxxDrawWallpaper(). 
 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 463 of file dtbitmap.c. References _SelectPalette(), BOOL, DoHTColorAdjust(), FALSE, ghdcMem, ghdcMem2, gpsi, SetBestStretchMode, TRUE, UINT, and xxxRealizePalette(). Referenced by xxxLoadDesktopWallpaper(). 
 
 | 
| 
 | 
| 
 Definition at line 581 of file dtbitmap.c. References BYTE, DWORD, ghdcMem, gpDispInfo, tagDISPLAYINFO::hdcScreen, MAXPAL, NULL, and TestVGAColors(). Referenced by xxxLoadDesktopWallpaper(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 1275 of file dtbitmap.c. References gDrawVersionAlways, ghMenuFont, gpsi, GreSetTextAlign(), NULL, tagMONITOR::rcWork, SYSHBR, wszProductBuild, and wszProductName. Referenced by xxxDesktopPaintCallback(). 
 
 | 
| 
 | 
| 
 Definition at line 430 of file dtbitmap.c. References FIXED_GAMMA, and VOID(). Referenced by ConvertToDDB(). 
 
 | 
| 
 | 
| 
 Definition at line 223 of file dtbitmap.c. References gpsi, L, min, VOID(), and wcsncpycch(). Referenced by GetDeskWallpaperName(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 264 of file dtbitmap.c. References ARRAY_SIZE, FastGetProfileStringFromIDW(), GDWPN_BITSIZE, GDWPN_KEYSIZE, GetDefaultWallpaperName(), hModuleWin, max, NULL, PMAP_DESKTOP, ServerLoadString, and UINT. Referenced by xxxSetDeskWallpaper(). 
 
 | 
| 
 | 
| 
 Definition at line 67 of file dtbitmap.c. References ARRAY_SIZE, gfUnsignedDrivers, hModuleWin, L, MAXVERSIONBUFFER, MAXVERSIONSTRING, NT_SUCCESS, NTSTATUS(), NULL, OFFSET_BLDSTRING, OFFSET_CSDSTRING, OFFSET_TYPSTRING, RtlQueryRegistryValues(), ServerLoadString, Status, wszProductBuild, wszProductName, and wszT. Referenced by xxxDesktopPaintCallback(). 
 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 729 of file dtbitmap.c. References tagSIZERECT::cx, tagSIZERECT::cy, gsrcWallpaper, IntersectRect(), max, tagSIZERECT::x, and tagSIZERECT::y. Referenced by CenterWallpaper(). 
 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 26 of file dtbitmap.c. 
 
 | 
| 
 | 
| 
 Definition at line 354 of file dtbitmap.c. References BOOL, DWORD, FALSE, n, and TRUE. Referenced by CreatePaletteFromBitmap(). 
 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 658 of file dtbitmap.c. References ghbmWallpaper, ghdcMem, gsrcWallpaper, NULL, tagSIZERECT::x, and tagSIZERECT::y. Referenced by xxxDrawWallpaper(). 
 
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 1402 of file dtbitmap.c. References ARRAY_SIZE, BOOL, CheckLock, DesktopBuildPaint(), FALSE, FillRect(), gbDesktopLocked, gDrawVersionAlways, gdwCanPaintDesktop, GetVersionInfo(), ghbmWallpaper, ghbrBlack, gpsi, hModuleWin, InitSafeBootMode, NULL, tagMONITOR::rcWork, SafeModeStr, SafeModeStrLen, ServerLoadString, SYSHBR, TRUE, wszT, and xxxDrawWallpaper(). Referenced by xxxInternalPaintDesktop(). 
 
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 829 of file dtbitmap.c. References _SelectPalette(), BOOL, CenterWallpaper(), CheckLock, tagMONITOR::dwMONFlags, FALSE, ghbmWallpaper, ghpalWallpaper, gwWPStyle, MONF_PALETTEDISPLAY, NULL, tagMONITOR::rcMonitor, TileWallpaper(), and xxxRealizePalette(). Referenced by xxxDesktopPaintCallback(), and xxxExpandBitmap(). 
 
 | 
| 
 | 
| 
 Definition at line 880 of file dtbitmap.c. References GetPrimaryMonitor(), ghdcMem, ghdcMem2, NULL, tagMONITOR::rcMonitor, ThreadLockAlways, ThreadUnlock, TILE_XMINSIZE, TILE_YMINSIZE, and xxxDrawWallpaper(). Referenced by xxxLoadDesktopWallpaper(). 
 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 1615 of file dtbitmap.c. References _SelectPalette(), BOOL, CheckLock, CopyRect, tagMONITOR::dwMONFlags, FALSE, GetPrimaryMonitor(), ghpalWallpaper, MONF_PALETTEDISPLAY, NULL, OffsetRect(), TRUE, xxxDesktopPaintCallback(), xxxEnumDisplayMonitors(), xxxInvalidateDesktopOnPaletteChange(), and xxxRealizePalette(). Referenced by NtUserPaintDesktop(), xxxDesktopWndProc(), xxxDWP_EraseBkgnd(), xxxRealizeDesktop(), and xxxRedrawHungWindow(). 
 
 | 
| 
 | 
| 
 Definition at line 1557 of file dtbitmap.c. References BOOL, CheckLock, gpsi, NULL, tagDESKTOP::pDeskInfo, PtiCurrent, tagWND::rcWindow, tagDESKTOPINFO::spwndShell, SubtractRect(), ThreadLockAlways, ThreadUnlock, TRUE, and xxxRedrawWindow(). Referenced by xxxInternalPaintDesktop(). 
 
 | 
| 
 | 
| 
 Definition at line 961 of file dtbitmap.c. References BOOL, tagDISPLAYINFO::cMonitors, ConvertToDDB(), CreatePaletteFromBitmap(), tagMONITOR::dwMONFlags, FALSE, tagDISPLAYINFO::fAnyPalette, ghbmWallpaper, ghpalWallpaper, gpDispInfo, gpsi, gwWPStyle, tagDISPLAYINFO::hdcScreen, min, MONF_VISIBLE, NULL, tagDISPLAYINFO::pMonitorFirst, tagMONITOR::pMonitorNext, tagMONITOR::rcMonitor, RtlInitUnicodeString(), TRUE, UINT, xxxClientLoadImage(), and xxxExpandBitmap(). Referenced by xxxSetDeskWallpaper(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 1079 of file dtbitmap.c. References BOOL, tagSIZERECT::cx, tagSIZERECT::cy, FALSE, FastGetProfileIntsW(), FreeAllSpbs(), GetDeskWallpaperName(), ghbmWallpaper, ghpalWallpaper, gpDispInfo, gpszWall, gsrcWallpaper, gwWPStyle, tagDISPLAYINFO::hdcScreen, HW, NULL, tagDESKTOP::pDeskInfo, PMAP_DESKTOP, PROFINTINFO, PtiCurrent, tagTHREADINFO::rpdesk, tagDESKTOPINFO::spwnd, tagDESKTOPINFO::spwndShell, ThreadLockAlways, ThreadUnlock, TRUE, UINT, tagSIZERECT::x, xxxLoadDesktopWallpaper(), xxxSendNotifyMessage(), and tagSIZERECT::y. Referenced by xxxResetDisplayDevice(), and xxxSystemParametersInfo(). 
 
 | 
| 
 | 
| 
 Definition at line 47 of file dtbitmap.c. Referenced by xxxDesktopPaintCallback(). | 
| 
 | 
| 
 Definition at line 48 of file dtbitmap.c. Referenced by xxxDesktopPaintCallback(). | 
| 
 | 
| 
 Definition at line 54 of file dtbitmap.c. Referenced by DesktopBuildPaint(), and GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 53 of file dtbitmap.c. Referenced by DesktopBuildPaint(), and GetVersionInfo(). | 
| 
 | 
| 
 Definition at line 46 of file dtbitmap.c. Referenced by GetVersionInfo(), and xxxDesktopPaintCallback(). | 
 1.3.7
 1.3.7