I have captured total desktop using CPP, COM and DirectShow. But how can I capture particular window only?