码迷,mamicode.com
首页 > 其他好文 > 详细

检测声卡是否安装

时间:2015-01-20 13:42:48      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

/// <summary>
        /// The waveOutGetNumDevs function retrieves the number of waveform-audio output devices present in the system.
        /// </summary>
        /// <returns>Returns the number of devices. A return value of zero means that no devices are present or that an error occurred.</returns>
        [DllImport("winmm.dll", EntryPoint = "waveOutGetNumDevs")]
        public static extern int waveOutGetNumDevs();

 

检测声卡是否安装

标签:

原文地址:http://www.cnblogs.com/wjshan0808/p/4235785.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!