Rechercher une page de manuel
WaitCommEvent.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
WaitCommEvent (KERNEL32.@)SYNOPSIS
BOOL WaitCommEvent(
HANDLE hFile,
LPDWORD lpdwEvents,
LPOVERLAPPED lpOverlapped
)
PARAMS
hFile [In] handle of comm port to wait for.lpdwEvents [Out] event(s) that were detected.
lpOverlapped [In/Out] for Asynchronous waiting.
DESCRIPTION
Wait until something interesting happens on a COMM port. Interesting things (events) are set by calling SetCommMask before this function is called.
RETURNS
TRUE if successful FALSE if failure.
The set of detected events will be written to *lpdwEventMask ERROR_IO_PENDING will be returned the overlapped structure was passed.
BUGS: Only supports EV_RXCHAR and EV_TXEMPTY
IMPLEMENTATION
Defined in "winbase.h".
Implemented in "dlls/kernel32/comm.c".
Debug channel "comm".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre