参天露泰克叶黄素价格:GetLastError()返回87是什么情况?????
来源:百度文库 编辑:查人人中国名人网 时间:2024/07/05 22:52:24
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是什么情况下发生的?
}
基本是是因为系统问题,或者缓冲区没有数据!
参数不正确。