Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>getcommeventmask</b> get current event mask http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetCommEventMask     Get Current Event Mask

WORD bGetCommEventMask(nCid, nEvtMask)
int nCid; /* from OpenComm */
int nEvtMask; /* Specify bits to be enabled */

Returns:    Current event mask.

        |---------------------------------------|
        |EV_RXCHAR   Any Character received     |
        |EV_RXFLAG   Received certain character |
        |EV_TXEMPTY  Transmit Queue Empty       |
        |EV_CTS      CTS changed state          |
        |EV_DSR      DSR changed state          |
        |EV_RLSD     RLSD changed state         |
        |EV_BREAK    BREAK received             |
        |EV_ERR      Line status error occurred |
        |EV_RING     Ring signal detected       |
        |EV_PERR     Printer error occurred     |
        +---------------------------------------+

See Also: SetCommEventMask

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson