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/files/dos_fs.c b/files/dos_fs.c
index b88b2cb..9572a48 100644
--- a/files/dos_fs.c
+++ b/files/dos_fs.c
@@ -673,6 +673,23 @@
                 {
                     return FILE_CreateDevice( i, access, NULL );
 		}
+		{
+		    HFILE r;
+		    char devname[40];
+		    PROFILE_GetWineIniString("serialports",name,"",devname,sizeof devname);
+
+		    if(devname[0])
+		    {
+			TRACE(file,"DOSFS_OpenDevice %s is %s\n",
+				DOSFS_Devices[i].name,devname);
+			r =  FILE_CreateFile( devname, access,
+				FILE_SHARE_READ|FILE_SHARE_WRITE, NULL,
+				OPEN_EXISTING, 0, -1 );
+			TRACE(file,"Create_File return %08X\n",r);
+			return r;
+		    }
+		}
+
 		FIXME(dosfs,"device open %s not supported (yet)\n",DOSFS_Devices[i].name);
     		return HFILE_ERROR;
 	    }