OpenCommPort function kernel32

int OpenCommPort(
  1. int uPortNumber,
  2. int dwDesiredAccess,
  3. int dwFlagsAndAttributes
)

Attempts to open a communication device.

HANDLE OpenCommPort(
  ULONG uPortNumber,
  DWORD dwDesiredAccess,
  DWORD dwFlagsAndAttributes
);

Implementation

int OpenCommPort(
        int uPortNumber, int dwDesiredAccess, int dwFlagsAndAttributes) =>
    _OpenCommPort(uPortNumber, dwDesiredAccess, dwFlagsAndAttributes);