SetCommState function kernel32

int SetCommState(
  1. int hFile,
  2. Pointer<DCB> lpDCB
)

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

BOOL SetCommState(
  HANDLE hFile,
  LPDCB  lpDCB
);

Implementation

int SetCommState(int hFile, Pointer<DCB> lpDCB) => _SetCommState(hFile, lpDCB);