Forum

Faster screenshot with DWM Hack

devvvv

#1

hi devvvvs,

Desktop Window Manager(DWM) is the window drawing system from Vista.

with DWM api, you can get any window’s thumbnail (live preview) and drawing it to another window.

I found nice blog about it, and it works well in vvvv with Dynamic Plugin.
(you can testing with attached file)
http://bartdesmet.net/blogs/bart/archive/2006/10/05/4495.aspx

if the thumbnail can use as texture, it will be fastest way of screenshot. but unfortunately, it cannot use as dx9texture now. just rendering frontest of window.
so, I’d like to share this topic and need help!

already I found these videos and github



it seems we need hacking DWM process.

DWMTest.zip (10.1 kB)


#2

Thats freaky, like an old version of vvvv before we hooked wires up to groups and renders!
Works really fast, and I can see several uses for it already! Thought I’d try resolume and it captures the interface but not the output window, presumably it doesnt use DWM, very interesting project :)


#3

I hope you can enjoy with it. I found another sample but it needs add some registry values.


#4

Hi man! there’s one way to connect DWM Patch with RESOLUME ARENA By SPOUT?

I need to know if you know how to do a version of this on DX11 :))))))))

CONTACT ME IF YOU KNOW SOMETHING

Cheers!


#5

Awesome!.. no text …


#6

any progress regarding getting a texture from this?


#7

no. i recently checked screenshot in dx11, it seems useful.
http://www.floschnell.de/computer-science/super-fast-screen-capture-with-windows-8.html

but it uses DXGI1.2, which not supported yet in dx11 pack.


#8

and it is screen capture not window capture