win32file.BuildCommDCB

PyDCB = BuildCommDCB(def, dcb )

Fills the specified DCB structure with values specified in a device-control string. The device-control string uses the syntax of the mode command

Parameters

def : string

device-control string

dcb : PyDCB

The device-control block