/**************************************************************************** * 函 数 名:GetAudioAllPath * 功能描述: 回调回去拖拽进列表的所有音频路径 * 输入参数:std::vector<CString> vInfo [IN] :单个或多个音频文件路径 * void *pUser [IN] :主窗口的指针 * 输出参数: 无 * 返 回 值:TRUE 执行成功 * FALSE 执行失败 * 抛出异常:无 ****************************************************************************/ BOOL __stdcall GetAudioAllPath(vector<CString> vInfo, void *pUser) { if (NULL != pUser) { int i=0; //CString str; //str.Format("Dll回调的值: %d\n",lpMyStruct); CMainDlg *pThis = (CMainDlg *)pUser; pThis->InsertTreeBox(vInfo); //测试:播放音乐 pThis->bPlayFlag=false; pThis->OnButPlay(); } return TRUE; }