你的项目设置了默认使用__stdcall调用约定,把函数声明和定义改一下:
UINT __cdecl Thread3func(LPVOID lpParameter)