COMSTAT (Windows CE 5.0)

Send Feedback

This structure contains communication device data.

This structure is filled by the ClearCommError function.

typedef struct _COMSTAT {DWORD fCtsHold :1;DWORD fDsrHold :1;DWORD fRlsdHold :1;DWORD fXoffHold :1;DWORD fXoffSent :1;DWORD fEof :1;DWORD fTxim :1;DWORD fReserved :25;DWORD cbInQue;DWORD cbOutQue;} COMSTAT, *LPCOMSTAT;

Members

  • fCtsHold
    Specifies if the transmission is waiting to receive the CTS (Clear to Send) signal.

    If this member is TRUE, the transmission is waiting.

  • fDsrHold
    Specifies if the transmission is waiting to receive the DSR (Data Set Ready) signal.

    If this member is TRUE, the transmission is waiting.

  • fRlsdHold
    Specifies if the transmission is waiting to receive the RLSD (Receive Line Signal Detect) signal.

    If this member is TRUE, the transmission is waiting.

  • fXoffHold
    Specifies if the transmission is waiting because the XOFF character was received.

    If this member is TRUE, the transmission is waiting.

  • fXoffSent
    Specifies if the transmission is waiting because the XOFF character was transmitted.

    If this member is TRUE, the transmission is waiting.

    Transmission halts when the XOFF character is transmitted to a system that takes the next character as XON, regardless of the actual character.

  • fEof
    Specifies if the End of File (EOF) character has been received.

    If this member is TRUE, the EOF character has been received.

  • fTxim
    If this member is TRUE, a character queued for transmission has come to the communication device by way of the TransmitCommChar function.

    The communication device transmits such a character ahead of other characters in the device's output buffer.

  • fReserved
    Reserved; do not use.

  • cbInQue
    Specifies the number of bytes received by the serial provider but not yet read by a ReadFile operation.

  • cbOutQue
    Specifies the number of bytes of user data remaining to be transmitted for all write operations.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.

See Also

ClearCommError | ReadFile | TransmitCommChar

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.