win32file.SetCommMask

int = SetCommMask(handle, val )

Sets the value of the event mask for a specified communications device.

Parameters

handle : PyHANDLE

The handle to the communications device.

val : int

The new mask value.