struct MYThreadData
{
TCHAR Filepath[256];
HWND m_list;
int i;
}_MYThreadData,*_LPC_MYThreadData;
for
(int i=0;i<1000;i++)
MYThreadData *myData=NULL;
myData=(struct MYThreadData *)malloc(sizeof(struct MYThreadData));
wcscpy(myData->Filepath,szModName);
myData->m_list=m_list;
myData->i=i;
CreateThread(NULL,0,ThreadCheckFileTrust,(LPVOID)myData,NULL,NULL);
}
DWORD WINAPI ThreadCheckFile(LPVOID lpParam)
struct MYThreadData* myThreadData=(struct MYThreadData *)lpParam;
if
(!myfun(myThreadData->Filepath))
......
return
true
;
false
[注意]看雪招聘,专注安全领域的专业人才平台!