c# - What actually handles the drawing of the Windows Wallpaper? -


i'm trying work on project can animate windows 7 wallpaper, either opengl/directx, or gdi. looked how windows desktop windows laid out, , figured out whole

"progman" -> "shelldll_defview" -> "syslistview32"

hierarchy. tried hooking syslistview32's wndproc , tried messing around messages using injected c# dll prevent desktop drawing wallpaper when forced change using control panel -> personalize menu. none of stopped wallpaper being updated, figured explorer.exe not handle drawing wallpaper.

to confirm this, killed explorer.exe , set little c# program changes wallpaper on 10 second timer random one. expected, wallpaper kept changing, leading me believe explorer.exe not handle drawing of wallpaper!

unfortunately, i'm lost. have no idea else responsible drawing wallpaper, , how can take on it's drawing can handle drawing. i've tried google few days now, little progress. i'm hoping here can guide me in right direction.

the desktop (including bitmap on it) drawn window system itself. quite deep , old, too. according changes happened since nt4 suppose painting done in win32k.sys . driver created replace win32.dll have done in user-mode context switching.

this said, goes conform erykson commented question: win32k!xxxinternalpaintdesktop bad guy.

however should possible acquire dc of desktop hwnd (0 afaik) , attach own drawing. not sure if can turn directx dc try.

btw. possible re-parent , capture foreign windows (hwnds) , associated device contexts (dcs). might need privileged or administrator. (security checked)


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -