- add prototypes for serial API functions
- correct existing serial API prototypes incorrectly using DWORD
  instead of HANDLE
- define more structures and values in serial API

diff --git a/misc/comm.c b/misc/comm.c
index b0ed5e4..8f170aa 100644
--- a/misc/comm.c
+++ b/misc/comm.c
@@ -1846,7 +1846,7 @@
 /*****************************************************************************
  *	ClearCommError	(KERNEL32.21)
  */
-BOOL WINAPI ClearCommError(INT handle,LPDWORD errors,LPCOMSTAT lpStat)
+BOOL WINAPI ClearCommError(HANDLE handle,LPDWORD errors,LPCOMSTAT lpStat)
 {
     int fd;
 
@@ -1939,7 +1939,7 @@
 /*****************************************************************************
  *	SetCommMask	(KERNEL32.451)
  */
-BOOL WINAPI SetCommMask(INT handle,DWORD evtmask)
+BOOL WINAPI SetCommMask(HANDLE handle,DWORD evtmask)
 {
     int fd;
 
@@ -1967,7 +1967,7 @@
 /*****************************************************************************
  *	SetCommState    (KERNEL32.452)
  */
-BOOL WINAPI SetCommState(INT handle,LPDCB lpdcb)
+BOOL WINAPI SetCommState(HANDLE handle,LPDCB lpdcb)
 {
      struct termios port;
      int fd;
@@ -2275,7 +2275,7 @@
 /*****************************************************************************
  *	GetCommState	(KERNEL32.159)
  */
-BOOL WINAPI GetCommState(INT handle, LPDCB lpdcb)
+BOOL WINAPI GetCommState(HANDLE handle, LPDCB lpdcb)
 {
      struct termios port;
      int fd,speed;
@@ -2470,26 +2470,10 @@
 /*****************************************************************************
  *	TransmitCommChar	(KERNEL32.535)
  */
-BOOL WINAPI TransmitCommChar(INT cid,CHAR chTransmit)
+BOOL WINAPI TransmitCommChar(HANDLE hComm,CHAR chTransmit)
 {
-	struct DosDeviceStruct *ptr;
-
-    	FIXME("(%d,'%c'), use win32 handle!\n",cid,chTransmit);
-	if ((ptr = GetDeviceStruct(cid)) == NULL)
-		FIXME("no handle for cid = %0x!.\n",cid);
-		return FALSE;
-
-	if (ptr->suspended) {
-		ptr->commerror = IE_HARDWARE;
-		return FALSE;
-	}
-	if (write(ptr->fd, (void *) &chTransmit, 1) == -1) {
-		ptr->commerror = WinError();
-		return FALSE;
-	}  else {
-		ptr->commerror = 0;
-		return TRUE;
-	}
+    	FIXME("(%x,'%c'), use win32 handle!\n",hComm,chTransmit);
+	return TRUE;
 }
 
 /*****************************************************************************
@@ -2594,18 +2578,9 @@
 /***********************************************************************
  *           GetCommProperties   (KERNEL32.???)
  */
-BOOL WINAPI GetCommProperties(HANDLE hFile, LPDCB *dcb)
+BOOL WINAPI GetCommProperties(HANDLE hFile, LPCOMMPROP lpCommProp)
 {
-    FIXME("(%d %p )\n",hFile,dcb);
-    return TRUE;
-}
-
-/***********************************************************************
- *           SetCommProperties   (KERNEL32.???)
- */
-BOOL WINAPI SetCommProperties(HANDLE hFile, LPDCB dcb)
-{
-    FIXME("(%d %p )\n",hFile,dcb);
+    FIXME("(%d %p )\n",hFile,lpCommProp);
     return TRUE;
 }