- fixed a minimal error in GetCommMask definition.

- adds stubs for GetCommModemStatus and WaitCommEvent.
This commit is contained in:
Uwe Bonnes 1998-11-30 10:40:02 +00:00 committed by Alexandre Julliard
parent 79f1638df2
commit 94113fa10e
2 changed files with 20 additions and 3 deletions

View File

@ -953,7 +953,7 @@ BOOL32 WINAPI SetupComm( HANDLE32 hFile, DWORD insize, DWORD outsize)
/***************************************************************************** /*****************************************************************************
* GetCommMask (KERNEL32.156) * 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); TRACE(comm, "fd %d, mask %p\n", fd, evtmask);
*evtmask = eventmask; *evtmask = eventmask;
@ -1819,3 +1819,20 @@ BOOL16 WINAPI EnableCommNotification( INT16 fd, HWND16 hwnd,
return TRUE; 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;
}

View File

@ -300,7 +300,7 @@ init MAIN_KernelInit
282 stdcall GetCPInfo(long ptr) GetCPInfo 282 stdcall GetCPInfo(long ptr) GetCPInfo
283 stub GetCommConfig 283 stub GetCommConfig
284 stdcall GetCommMask(long ptr) GetCommMask 284 stdcall GetCommMask(long ptr) GetCommMask
285 stub GetCommModemStatus 285 stdcall GetCommModemStatus(long ptr) GetCommModemStatus
286 stub GetCommProperties 286 stub GetCommProperties
287 stdcall GetCommState(long ptr) GetCommState32 287 stdcall GetCommState(long ptr) GetCommState32
288 stdcall GetCommTimeouts(long ptr) GetCommTimeouts 288 stdcall GetCommTimeouts(long ptr) GetCommTimeouts
@ -734,7 +734,7 @@ init MAIN_KernelInit
716 stdcall VirtualQuery(ptr ptr long) VirtualQuery 716 stdcall VirtualQuery(ptr ptr long) VirtualQuery
717 stdcall VirtualQueryEx(long ptr ptr long) VirtualQueryEx 717 stdcall VirtualQueryEx(long ptr ptr long) VirtualQueryEx
718 stdcall VirtualUnlock(ptr long) VirtualUnlock 718 stdcall VirtualUnlock(ptr long) VirtualUnlock
719 stub WaitCommEvent 719 stdcall WaitCommEvent(long ptr ptr) WaitCommEvent
720 stdcall WaitForDebugEvent(ptr long) WaitForDebugEvent 720 stdcall WaitForDebugEvent(ptr long) WaitForDebugEvent
721 stdcall WaitForMultipleObjects(long ptr long long) WaitForMultipleObjects 721 stdcall WaitForMultipleObjects(long ptr long long) WaitForMultipleObjects
722 stdcall WaitForMultipleObjectsEx(long ptr long long long) WaitForMultipleObjectsEx 722 stdcall WaitForMultipleObjectsEx(long ptr long long long) WaitForMultipleObjectsEx