Hellom
I'm a Visual C++ Developer who has used DirectX for a long time (on and off, not continuously), and in the olden days, capturing Active Window wuld've been really simple, using a few function calls to DirectX 7-9.
On modern O/S's DX11 (or WMF) should also be similar - one hopes.
Can I help?