代码改变世界

文章分类 -  C#语言基础

C#中调用系统API打开和关闭光区

2006-05-15 23:26 by 蓝之风, 522 阅读, 收藏,
摘要: using System;using System.Text;using System.Runtime.InteropServices; class CloseCD{ //API声明 [DllImport( "winmm.dll", EntryPoint="mciSendStringA", CharSet=CharSet.Ansi )] protected static extern int... 阅读全文