Fixed typelib reading to correctly use the offset of the typelib that
[wine.git] / include / comm.h
blob7adcbbdf68d304202e19950d31eab741a3380886
1 #ifndef __WINE_COMM_H
2 #define __WINE_COMM_H
4 #define MAX_PORTS 9
6 struct DosDeviceStruct {
7 char *devicename; /* /dev/cua1 */
8 int fd;
9 int suspended;
10 int unget,xmit;
11 int baudrate;
12 int evtchar;
13 /* events */
14 int commerror, eventmask;
15 /* buffers */
16 char *inbuf,*outbuf;
17 unsigned ibuf_size,ibuf_head,ibuf_tail;
18 unsigned obuf_size,obuf_head,obuf_tail;
19 /* notifications */
20 int wnd, n_read, n_write;
21 HANDLE service;
24 extern void COMM_Init(void);
26 #endif /* __WINE_COMM_H */