设为首页 加入收藏

TOP

可控制遍历深度的文件搜索类(二)
2014-11-23 21:54:09 来源: 作者: 【 】 浏览:14
Tags:控制 深度 文件 搜索
"%s\\%s", root, stWFD.cFileName);
// 判断是目录还是文件
if (DirectoryExist(szFoundFile))
{
SearchFile(szFoundFile, pFoundCallback, pDirCompletedCallback, depthLevel);
}
if (NULL != pFoundCallback)
{
pCallback(szFoundFile);
}
}
}while (::FindNextFile(file, &stWFD));
::FindClose(file);
if (NULL != pDirCompletedCallback)
{
pDirCompletedCallback(root);
}
return TRUE;
}
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇C中嵌入SQL 下一篇C语言数据结构----栈的应用(程序..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: