-
-
[原创]发一个 OpenThread 函数的定义
-
发表于:
2013-1-12 17:23
5883
-
typedef HANDLE (*OPENTHREAD) (DWORD dwFlag, BOOL bUnknow, DWORD dwThreadId);
HANDLE WINAPI OpenThread(DWORD dwFlag, BOOL bUnknow, DWORD dwThreadId)
{
OPENTHREAD lpfnOpenThread = (OPENTHREAD)GetProcAddress(LoadLibrary("kernel32.dll"),"OpenThread");
return lpfnOpenThread(dwFlag, bUnknow, dwThreadId);
}
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!