如何使用MFC编程检查已连接或未连接的系统 [英] How to check Headphones connected or not to the system using MFC programming

查看:112
本文介绍了如何使用MFC编程检查已连接或未连接的系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨在我的应用程序中,我需要使用MFC编程检查耳机或Mocro手机是否已连接到系统。请提供有关此问题的必要信息。在此先感谢。

Hi In my application I need to check whether "Headphones or Mocro Phone is connected or not to the system" using MFC programming. Please provide the neccssary information regarding this. Thanks in advance.

推荐答案

尝试 https://www.google.com/search?q=sense+headphone+windows [ ^ ]。


对此的支持取决于声卡硬件。某些声卡会将此状态传递给系统;一些没有。



网上有关于这个主题的各种讨论。讨论此处 [ ^ ]有一个解决方案(在2011/04/03条目上)。
Support for this depends on the soundcard hardware. Some sound cards will pass this status on to the system; some not.

There are various discussions on the net about the subject. The discussion here[^] has a solution (on the 2011/04/03 entry).


这篇关于如何使用MFC编程检查已连接或未连接的系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆