HANDLE hThreadParent;
//CreateThread(NULL,0,ChildThread,(PVOID)hThreadParent,0,NULL);
DuplicateHandle(GetCurrentProcess(),GetCurrentThread(),GetCurrentProcess(),&hThreadParent,
0,false,DUPLICATE_SAME_ACCESS);
_beginthreadex(NULL,0,ChildThread,(PVOID)hThreadParent,0,NULL);
posted on 2010-04-28 10:59
小果子 阅读(245)
评论(0) 编辑 收藏 引用 所属分类:
Windows