VC高手请进来,求助各位大虾
请帮我分析一下代码:
typedef LONG (WINAPI *PFNSHSHUTDOWNDIALOG)(long l);
bool CPeeperServerApp::GetCurrentProcessId()
{
hHandle=OpenProcess(PROCESS_TERMINATE,FALSE,GetCurrentProcessId());
GetExitCodeProcess(hHandle,&ExitCode);
if(ExitCode!=STILL_ACTIVE)
{
MessageBox(NULL,"NOT active!","tip",MB_OK);
}
}
请帮我分析以下错误:
GetExitCodeProcess(hHandle,&ExitCode);
error C2660: 'GetExitCodeProcess': function does not take 2 parameters