- fixed a minimal error in GetCommMask definition.
- adds stubs for GetCommModemStatus and WaitCommEvent.
This commit is contained in:
parent
79f1638df2
commit
94113fa10e
19
misc/comm.c
19
misc/comm.c
|
@ -953,7 +953,7 @@ BOOL32 WINAPI SetupComm( HANDLE32 hFile, DWORD insize, DWORD outsize)
|
|||
/*****************************************************************************
|
||||
* 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 @@ BOOL16 WINAPI EnableCommNotification( INT16 fd, HWND16 hwnd,
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@ init MAIN_KernelInit
|
|||
282 stdcall GetCPInfo(long ptr) GetCPInfo
|
||||
283 stub GetCommConfig
|
||||
284 stdcall GetCommMask(long ptr) GetCommMask
|
||||
285 stub GetCommModemStatus
|
||||
285 stdcall GetCommModemStatus(long ptr) GetCommModemStatus
|
||||
286 stub GetCommProperties
|
||||
287 stdcall GetCommState(long ptr) GetCommState32
|
||||
288 stdcall GetCommTimeouts(long ptr) GetCommTimeouts
|
||||
|
@ -734,7 +734,7 @@ init MAIN_KernelInit
|
|||
716 stdcall VirtualQuery(ptr ptr long) VirtualQuery
|
||||
717 stdcall VirtualQueryEx(long ptr ptr long) VirtualQueryEx
|
||||
718 stdcall VirtualUnlock(ptr long) VirtualUnlock
|
||||
719 stub WaitCommEvent
|
||||
719 stdcall WaitCommEvent(long ptr ptr) WaitCommEvent
|
||||
720 stdcall WaitForDebugEvent(ptr long) WaitForDebugEvent
|
||||
721 stdcall WaitForMultipleObjects(long ptr long long) WaitForMultipleObjects
|
||||
722 stdcall WaitForMultipleObjectsEx(long ptr long long long) WaitForMultipleObjectsEx
|
||||
|
|
Loading…
Reference in New Issue