win32file.SetCommState
SetCommState(handle, dcb)
Configures a communications device according to the specifications in a device-control block. The function reinitializes all hardware and control settings, but it does not empty output or input queues.
Parameters