Location:
Search - USB bin MP3
Search list
Description: 这是著名的yampp版本的mp3制作的原理图和源程序,有兴趣的可以试试,程序为c语言-This is the famous yampp mp3 version of the map produced by the principle and source files, are interested can try. procedures for the C Language
Platform: |
Size: 167936 |
Author: wang |
Hits:
Description: // 获取当前插入设备对应磁盘编号 A--Z
char chDisk = FirstDriveFromMask(lpdbv->dbcv_unitmask);
CString strDisk,FstrDisk,NewDisk;
strDisk.Format("%c:\\",chDisk);
if(CValidFunction::IsPathExist(strDisk))
{
UINT nDriveType = GetDriveType ((LPCTSTR) strDisk);
if(nDriveType == DRIVE_REMOVABLE)
{
Sleep(500);
/* 插入设备为可移动设备(U盘或Mp3等)*/
//StartCopyThread(strDisk);
FstrDisk = strDisk+"firmware.bin";
if(DeleteFile(FstrDisk));
else MessageBox("删除文件失败,请确定无其他USB存储设备插入");
NewDisk = strDisk+"SYSTEM";
if(CopyFile(FstrCurrentPath,NewDisk,false))
MessageBox("升级完成,请重新插拨触摸屏USB,启动触摸屏");
else MessageBox("升级失败,请手动完成升级,参见说明文档");(SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
InitTitle();
if(!RegisterHotKey(m_hWnd,0xA000,MOD_CONTROL | MOD_ALT,'U') ||
!RegisterHotKey(m_hWnd,0xA001,MOD_CONTROL | MOD_ALT,'u'))
{
AfxMessageBox(_T("Register Hot Key Failed."));
}
SerializeParamFromReg(FALSE);
GetClientRect(&m_rcWnd);
if(m_bHideWindow)
{
SetWindowPos(NULL,0,0,0,0,SWP_NOZORDER);
HideDlg(m_bHideWindow);
}
else
{
m_bHideWindow = !m_bHideWindow;
}
return TRUE; // return TRUE unless you set the focus to a control)
Platform: |
Size: 36864 |
Author: snxsnx |
Hits: