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
小果子 閱讀(253)
評論(0) 編輯 收藏 引用 所屬分類:
Windows