SetScrollInfo : don't show/hide scrollbar if no parameter (minval,
[wine.git] / include / comm.h
blob540f2b21cc36b2f9a4aae0a756b6371e54c99324
1 #ifndef __WINE_COMM_H
2 #define __WINE_COMM_H
4 #include "windef.h"
5 #include "winbase.h"
7 #define MAX_PORTS 9
9 struct DosDeviceStruct {
10 char *devicename; /* /dev/cua1 */
11 int fd;
12 int suspended;
13 int unget,xmit;
14 int baudrate;
15 int evtchar;
16 /* events */
17 int commerror, eventmask;
18 /* buffers */
19 char *inbuf,*outbuf;
20 unsigned ibuf_size,ibuf_head,ibuf_tail;
21 unsigned obuf_size,obuf_head,obuf_tail;
22 /* notifications */
23 int wnd, n_read, n_write;
24 HANDLE s_read, s_write;
27 extern void COMM_Init(void);
28 extern HANDLE COMM_CreatePort(LPCSTR name, DWORD access);
30 #endif /* __WINE_COMM_H */