爱迪生发明电灯的原理:GetLastError()返回87是什么情况?????
来源:百度文库 编辑:神马品牌网 时间:2024/05/08 23:29:21
if(!WaitCommEvent(m_hCom,&dwMask,&os))
{
DWORD dwError=GetLastError();
if(dwError==ERROR_IO_PENDING)
{
......
}
//GetLastError返回87是什么情况下发生的?
}
{
DWORD dwError=GetLastError();
if(dwError==ERROR_IO_PENDING)
{
......
}
//GetLastError返回87是什么情况下发生的?
}
基本是是因为系统问题,或者缓冲区没有数据!
参数不正确。