64,639
社区成员
发帖
与我相关
我的任务
分享
//自定义函数入口
#pragma comment(linker, "/ENTRY:EntryPoint")
void EntryPoint()
{
int nRet = WinMain(GetModuleHandle(NULL),
NULL,
GetCommandLine(),
SW_SHOWNORMAL);
ExitProcess(nRet);
}
int WINAPI WinMain(HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // command line
int nCmdShow // show state
)
{
//
return 0;
}