.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH WaitCommEvent 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBWaitCommEvent\fR (KERNEL32.@) .SH SYNOPSIS BOOL WaitCommEvent ( HANDLE \fIhFile\fR, LPDWORD \fIlpdwEvents\fR, LPOVERLAPPED \fIlpOverlapped\fR ) .SH PARAMS \fIhFile\fR \fB[In]\fR handle of comm port to wait for. .PP \fIlpdwEvents\fR \fB[Out]\fR event(s) that were detected. .PP \fIlpOverlapped\fR \fB[In/Out]\fR for Asynchronous waiting. .PP .SH DESCRIPTION .PP Wait until something interesting happens on a \fBCOMM\fR port. Interesting things (events) are set by calling SetCommMask before this function is called. .SH RETURNS .PP \fBTRUE\fR if successful \fBFALSE\fR if failure. .PP The set of detected events will be written to *lpdwEventMask \fBERROR_IO_PENDING\fR will be returned the overlapped structure was passed. .PP \fBBUGS:\fR Only supports \fBEV_RXCHAR\fR and \fBEV_TXEMPTY\fR .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/comm.c"\fR. .PP Debug channel \fB"comm"\fR.