Commit a1c45a52 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Made commerror and eventmask local to each port (for win16), made the

win16 routines use port indices instead of UNIX fds (this should make some Visual Basic stuff and similar garbage start working), moved some stuff around (win16 routines at top of file, win32 routines at bottom), made a couple of win32 routines use win32 handles, and added a few hints as to how to implement asynchronous buffers, based on which EnableCommNotification can eventually be implemented.
parent fab975e6
...@@ -10,6 +10,12 @@ struct DosDeviceStruct { ...@@ -10,6 +10,12 @@ struct DosDeviceStruct {
int unget; int unget;
int unget_byte; int unget_byte;
int baudrate; int baudrate;
/* events */
int commerror, eventmask;
/* buffers */
char *inbuf,*outbuf;
/* notifications */
int wnd, n_read, n_write;
}; };
extern void COMM_Init(void); extern void COMM_Init(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment