CodePudding user response:
SetCommMask (g____hComm, EV_RXCHAR | EV_TXEMPTY);To make this look,
CodePudding user response:
This is to set up, not cancelledCodePudding user response:
SetCommMask (hComm, 0)CodePudding user response:
OVERLAPPEDIf you use this, then the event is certainly know can manually inform it to signaled state, isn't it.
So please use the SetEvent set HANDLE hEvent, signaled, natural return.
If there is no use, please ignore the