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>buildcommdcb</b> fill dcb structure as specified in asciiz string http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BuildCommDCB        Fill DCB structure as specified in ASCIIZ string
                        like that used with MS-DOS mode command.
short BuildCommDCB(lpDef, lpDCB)
LPSTR   lpDef;  /* COM1:9600,n,8,1 etc */
DCB FAR *lpDCB; /* DCB to fill */

Returns:        Zero if ok, otherwise negative.

Note:           Only fills set those fields that are specified in the string,
                you must set the others!

See Also: DCB SetCommState

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