GetCommState function kernel32

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

Retrieves the current control settings for a specified communications device.

BOOL GetCommState(
  HANDLE hFile,
  LPDCB  lpDCB
);

Implementation

int GetCommState(int hFile, Pointer<DCB> lpDCB) => _GetCommState(hFile, lpDCB);