(COM LPT) Win32



         

ClearCommError


/ TRUE fAbortOnError DCB . , , :

BOOL ClearCommError(

HANDLE hFile,

LPDWORD lpErrors,

LPCOMSTAT lpStat

);

, . , . :

hFile

.

lpErrors

, . :

  • CE_BREAK
  • CE_DNS Windows95. .
  • CE_FRAME .
  • CE_IOE -
  • CE_MODE , hFile. , .
  • CE_OOP Windows95. " ".
  • CE_OVERRUN ( ), .
  • CE_PTO Windows95. - .
  • CE_RXOVER (EOF)
  • CE_RXPARITY
  • CE_TXFULL

lpStat

COMMSTAT. , , NULL, .