摘要:
一、格式化磁盘[DllImport("shell32.dll")]privatestaticexternintSHFormatDrive(IntPtrhWnd,intdrive,longfmtID,intOptions);publicconstlongSHFMT_ID_DEFAULT=0xFFFF;privatevoidbutton1_Click(objectsender,EventArgse){try{//调用API函数SHFormatDrive执行格式化磁盘操作SHFormatDrive(this.Handle,comboBox1.SelectedIndex,SHFMT
阅读全文
posted @ 2012-02-20 22:35
独臂侠
阅读(264)
推荐(0)
编辑