SetCommTimeouts function kernel32

int SetCommTimeouts(
  1. int hFile,
  2. Pointer<COMMTIMEOUTS> lpCommTimeouts
)

Sets the time-out parameters for all read and write operations on a specified communications device.

BOOL SetCommTimeouts(
  HANDLE         hFile,
  LPCOMMTIMEOUTS lpCommTimeouts
);

Implementation

int SetCommTimeouts(int hFile, Pointer<COMMTIMEOUTS> lpCommTimeouts) =>
    _SetCommTimeouts(hFile, lpCommTimeouts);