.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetCommState 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetCommState\fR (KERNEL32.@) .SH SYNOPSIS BOOL SetCommState ( HANDLE \fIhandle\fR, LPDCB \fIlpdcb\fR ) .SH DESCRIPTION .PP Re-initializes all hardware and control settings of a communications device, with values from a device control block without affecting the input and output queues. .SH PARAMS \fIhandle\fR \fB[In]\fR The communications device. .PP \fIlpdcb\fR \fB[Out]\fR The device control block. .PP .SH RETURNS .PP \fBTRUE\fR on success, \fBFALSE\fR on failure, e.g., if the XonChar is equal to the XoffChar. .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/comm.c"\fR. .PP Debug channel \fB"comm"\fR.