- fixed a minimal error in GetCommMask definition.
- adds stubs for GetCommModemStatus and WaitCommEvent.
diff --git a/misc/comm.c b/misc/comm.c
index 86aec6b..79ea04f 100644
--- a/misc/comm.c
+++ b/misc/comm.c
@@ -953,7 +953,7 @@
/*****************************************************************************
* GetCommMask (KERNEL32.156)
*/
-BOOL32 WINAPI GetCommMask(INT32 fd,LPDWORD evtmask)
+BOOL32 WINAPI GetCommMask(HANDLE32 fd,LPDWORD evtmask)
{
TRACE(comm, "fd %d, mask %p\n", fd, evtmask);
*evtmask = eventmask;
@@ -1819,3 +1819,20 @@
return TRUE;
}
+/***********************************************************************
+ * GetCommModemStatus (KERNEL32.285)
+ */
+BOOL32 WINAPI GetCommModemStatus(HANDLE32 hFile,LPDWORD lpModemStat )
+{
+ FIXME(comm, "(%d %p)\n",hFile,lpModemStat );
+ return TRUE;
+}
+/***********************************************************************
+ * WaitCommEvent (KERNEL32.719)
+ */
+BOOL32 WINAPI WaitCommEvent(HANDLE32 hFile,LPDWORD eventmask ,LPOVERLAPPED overlapped)
+{
+ FIXME(comm, "(%d %p %p )\n",hFile, eventmask,overlapped);
+ return TRUE;
+}
+