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>escapecommfunction</b> send ioctl command to comm device driver http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EscapeCommFunction   Send IOCTL Command to Comm Device Driver

short EscapeCommFunction(nCid, nFunc)
int nCid; /* Value returned by OpenComm */
int nFunc; /* See below */

                nFunc
        |-----------------------------------|
        | SETXOFF  Simulate XOFF receive    |
        | SETXON   Simulate XON received    |
        | SETRTS   Set RTS high             |
        | CLRRTS   Set RTS low              |
        | SETDTR   Set DTR high             |
        | CLRDTR   Set DTR low              |
        | RESETDEV Reset device if possible |
        +-----------------------------------+

Returns:    Negative if nFunc was not valid, zero if successful.

See Also: OpenComm

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