Basic support for WIN32 serial communications API.
Modify DOSFS_OpenDevice to allow opening of COM ports.
Change Win32 comm functions to accept file handle.
Add declaration of COMSTAT32 structure.
diff --git a/include/winbase.h b/include/winbase.h
index a9fb92e..5bdb71f 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1175,11 +1175,18 @@
#define VER_PLATFORM_WIN32_WINDOWS 1
#define VER_PLATFORM_WIN32_NT 2
-typedef struct tagCOMSTAT
+typedef struct tagCOMSTAT16
{
BYTE status;
UINT16 cbInQue WINE_PACKED;
UINT16 cbOutQue WINE_PACKED;
+} COMSTAT16,*LPCOMSTAT16;
+
+typedef struct tagCOMSTAT
+{
+ DWORD status;
+ DWORD cbInQue;
+ DWORD cbOutQue;
} COMSTAT,*LPCOMSTAT;
typedef struct tagDCB16