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". source.winehq.org/source/dlls/kernel32/comm.c

Debug channel "comm".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.