我在 IFS 的回调函数中截获了 FINDOPEN 消息。并且得知当前找到的文件名。但我现在要将当前的文件隐藏。所以我调用了 R0_FINDNEXTFILE 。但函数返回值报错,错误码为 0x12,请问为何?有无其他的方法可以实现此功能? 调用缺省函数
int nRetVal = (*PrevIFSHookProc)(pfn,fn,Drive,ResType,CodePage,pir);
检查找到的文件是否需要隐藏
if (ApplyHideFilters(fullpathname))
需要隐藏就调用 findnext 以找到下个文件
retVal=R0_FindNextFile(pir->ir_fh, &bcsFindData, (PWORD)&pir->ir_error);
int nRetVal = (*PrevIFSHookProc)(pfn,fn,Drive,ResType,CodePage,pir);
检查找到的文件是否需要隐藏
if (ApplyHideFilters(fullpathname))
需要隐藏就调用 findnext 以找到下个文件
retVal=R0_FindNextFile(pir->ir_fh, &bcsFindData, (PWORD)&pir->ir_error);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货