GetCommModemStatus function kernel32

int GetCommModemStatus(
  1. int hFile,
  2. Pointer<Uint32> lpModemStat
)

Retrieves the modem control-register values.

BOOL GetCommModemStatus(
  HANDLE  hFile,
  LPDWORD lpModemStat
);

Implementation

int GetCommModemStatus(int hFile, Pointer<Uint32> lpModemStat) =>
    _GetCommModemStatus(hFile, lpModemStat);