简体   繁体   English

创建DirectShow筛选器以选择HWND

[英]Create DirectShow Filter to Select HWND

How to create a DirectShow Filter and the main concern is how to select the window to follow. 如何创建DirectShow筛选器,主要关注的是如何选择要遵循的窗口。 I want to do something like google plus hangout uses to select the window to show in screen share. 我想做类似google plus Hangout的操作,以选择要在屏幕共享中显示的窗口。

Thanks to help :) 感谢帮助:)

You don't need DirectShow to capture window image. 您不需要DirectShow即可捕获窗口图像。 With a DC-to-DC BitBlt the picture is already yours. 使用DC-to-DC BitBlt ,图片已经是您的了。 See: 看到:

If you want to wrap this into a DirectShow filter, Windows SDK sample Push Source is doing a close thing ( CPushSourceDesktop ). 如果要将其包装到DirectShow过滤器中,则Windows SDK示例Push Source正在关闭( CPushSourceDesktop )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM